/* Southgate Electrical - Main Stylesheet */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1a3a5c 0%, #2c5a8a 100%);
    padding: 20px 0;
    border-bottom: 4px solid #f4a020;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo h1 {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.logo p {
    color: #a8c5e2;
    font-size: 13px;
    margin-top: 4px;
}

/* Navigation */
.nav {
    background-color: #2c5a8a;
    border-bottom: 1px solid #1a3a5c;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav li {
    margin: 0;
}

.nav a {
    display: block;
    padding: 12px 25px;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.nav a:hover,
.nav a.active {
    background-color: #f4a020;
    text-decoration: none;
    color: #1a3a5c;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 58, 92, 0.85), rgba(26, 58, 92, 0.85)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%231a3a5c" width="100" height="100"/></svg>');
    background-size: cover;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    color: #a8c5e2;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    color: #1a3a5c;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f4a020;
}

.content-section h3 {
    color: #2c5a8a;
    font-size: 18px;
    margin: 20px 0 10px;
}

.intro-text {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

/* Services List */
.services-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
}

.services-list li {
    padding: 10px 15px;
    background-color: #f5f8fb;
    border-left: 3px solid #f4a020;
    font-size: 14px;
}

.services-list li:hover {
    background-color: #e8f0f8;
}

/* Service Cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.service-card {
    background: #f5f8fb;
    padding: 25px;
    border-radius: 5px;
    border-top: 4px solid #f4a020;
}

.service-card h3 {
    color: #1a3a5c;
    margin-bottom: 10px;
    font-size: 18px;
}

.service-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* Contact Info */
.contact-info {
    background: #f5f8fb;
    padding: 30px;
    border-radius: 5px;
    margin-top: 20px;
}

.contact-info h3 {
    color: #1a3a5c;
    margin-bottom: 20px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #1a3a5c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    color: #1a3a5c;
    margin-bottom: 5px;
}

.contact-text span,
.contact-text a {
    color: #555;
    font-size: 14px;
}

/* Accreditations */
.accreditations {
    background: #1a3a5c;
    color: #fff;
    padding: 25px;
    border-radius: 5px;
    margin-top: 30px;
    text-align: center;
}

.accreditations h3 {
    color: #f4a020;
    margin-bottom: 15px;
}

.accreditations p {
    font-size: 14px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: #1a3a5c;
    color: #a8c5e2;
    padding: 30px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info p {
    margin: 5px 0;
    font-size: 13px;
}

.footer-info strong {
    color: #fff;
}

.footer-contact {
    text-align: right;
}

.footer-contact p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-contact a {
    color: #f4a020;
}

.footer-bottom {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #2c5a8a;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        justify-content: center;
        text-align: center;
    }
    
    .nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .nav a {
        padding: 10px 20px;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
}
