
/* =========================================
   SIR NESTERS ELECTRICAL
   WEBSITE STYLESHEET
========================================= */

/* BRAND COLOURS */
:root {
    --navy: #071426;
    --dark-navy: #040c18;
    --blue: #1685cc;
    --orange: #f58220;
    --green: #08a64a;
    --white: #ffffff;
    --light: #f4f7fb;
    --grey: #667085;
    --dark: #182230;
}

/* GENERAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

.container {
    width: min(1150px, 90%);
    margin: 0 auto;
}

.section-padding {
    padding: 60px 0;
}


/* =========================================
   NAVIGATION
========================================= */

.header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

.navbar {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 190px;
    height: 65px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--orange);
}

.nav-btn {
    background: var(--orange);
    color: var(--navy);
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s ease;
}

.nav-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
}


/* =========================================
   HERO BANNER
========================================= */

.hero-banner {
    width: 100%;
    background: var(--navy);
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: auto;
    max-height: 650px;
    display: block;
    object-fit: cover;
    object-position: center;
}


/* =========================================
   HERO INTRODUCTION
========================================= */

.hero-intro {
    background: var(--navy);
    color: var(--white);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 60px;
}

.eyebrow {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-text h1 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.15;
    margin-bottom: 22px;
}

.hero-text h1 span {
    color: var(--orange);
}

.hero-text > p:not(.eyebrow) {
    color: #d5dce5;
    max-width: 620px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.primary-btn,
.secondary-btn {
    display: inline-block;
    padding: 13px 23px;
    border-radius: 5px;
    font-weight: 700;
    transition: 0.3s ease;
}

.primary-btn {
    background: var(--orange);
    color: var(--navy);
}

.primary-btn:hover {
    background: var(--white);
    transform: translateY(-3px);
}

.secondary-btn {
    border: 2px solid var(--white);
    color: var(--white);
}

.secondary-btn:hover {
    background: var(--white);
    color: var(--navy);
}

.hero-highlight {
    background: #10243d;
    padding: 35px;
    border-radius: 12px;
    border-bottom: 4px solid var(--orange);
}

.highlight-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.hero-highlight h3 {
    font-size: 23px;
    margin-bottom: 12px;
}

.hero-highlight p {
    color: #cbd5e1;
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-heading h2 {
    color: var(--navy);
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.25;
    margin-bottom: 15px;
}

.section-heading > p:not(.eyebrow) {
    color: var(--grey);
}




/* =========================================
   SERVICES - PROFESSIONAL DESIGN
========================================= */

.services-section {
    background: #edf2f7;
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.services-section .section-heading {
    margin-bottom: 30px;
}

.service-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #dce4ed;
    box-shadow: 0 4px 14px rgba(7, 20, 38, 0.07);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 10px 25px rgba(7, 20, 38, 0.12);
}

.service-image {
    width: 100%;
    height: 175px;
    overflow: hidden;
    background: #dce3eb;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 16px 18px 20px;
}

.service-card-content h3 {
    color: var(--navy);
    font-size: 18px;
    margin-bottom: 6px;
}

.service-card-content p {
    color: #596779;
    font-size: 14px;
    line-height: 1.5;
}



/* =========================================
   ABOUT US
========================================= */

.about-section {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.about-image {
    height: 420px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--light);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text h2 {
    color: var(--navy);
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.25;
    margin-bottom: 20px;
}

.about-text p:not(.eyebrow) {
    color: var(--grey);
    margin-bottom: 18px;
}

.about-text .primary-btn {
    margin-top: 10px;
}


/* =========================================
   WHY CHOOSE US
========================================= */

.why-section {
    background: var(--navy);
}

.why-section .section-heading h2 {
    color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.why-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #263b55;
    border-radius: 10px;
    background: #10243d;
}

.why-card span {
    display: inline-flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--orange);
    color: var(--navy);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.why-card h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.why-card p {
    color: #cbd5e1;
    font-size: 14px;
}


/* =========================================
   PROJECT GALLERY
========================================= */

.projects-section {
    background: var(--light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    height: 260px;
    overflow: hidden;
    border-radius: 10px;
    background: #dce3eb;
    box-shadow: 0 5px 18px rgba(7, 20, 38, 0.08);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.07);
}



/* =========================================
   CONTACT - PREMIUM DARK DESIGN
========================================= */


/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    background: #edf2f7;
    padding: 55px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-text h2 {
    color: var(--navy);
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.2;
    margin-bottom: 14px;
}

.contact-text > p:not(.eyebrow) {
    color: #536174;
    margin-bottom: 22px;
    max-width: 580px;
}

.contact-card {
    background: var(--navy);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--orange);
}

.contact-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.contact-card p {
    color: #ffffff;
    margin-bottom: 20px;
}

.contact-card-line {
    border-top: 1px solid #34465c;
    padding: 12px 0;
    color: #ffffff;
    font-size: 14px;
}

/* =========================================
   BOTTOM CONTACT STRIP
========================================= */

.contact-strip {
    background: #071426;
    border-top: 3px solid var(--orange);
    border-bottom: 3px solid var(--orange);
    padding: 20px 0;
}

.contact-strip-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.strip-message {
    display: flex;
    align-items: center;
    gap: 12px;
}

.strip-icon {
    color: var(--orange);
    font-size: 32px;
}

.strip-message h3 {
    color: #ffffff;
    font-size: 16px;
}

.strip-message p {
    color: #cbd5e1;
    font-size: 13px;
}

.strip-whatsapp {
    background: var(--orange);
    color: var(--navy);
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s ease;
}

.strip-whatsapp:hover {
    background: #ffffff;
}

.strip-detail {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.strip-detail span {
    color: var(--orange);
    font-size: 21px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer h3 {
    color: var(--orange);
    margin-bottom: 5px;
}

.footer p {
    color: #cbd5e1;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    color: var(--white);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--orange);
}

.copyright {
    width: 100%;
    border-top: 1px solid #263b55;
    padding-top: 20px;
    margin-top: 10px;
}


/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media (max-width: 900px) {

    .navbar {
        flex-wrap: wrap;
        padding: 12px 0;
        justify-content: center;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px 22px;
        padding-bottom: 10px;
    }

    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 600px) {

    .section-padding {
        padding: 60px 0;
    }

    .container {
        width: 92%;
    }

    .navbar {
        gap: 10px;
    }

    .logo img {
        width: 155px;
        height: 55px;
    }

    .nav-btn {
        padding: 10px 13px;
        font-size: 12px;
    }

    .nav-links {
        gap: 10px 16px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero-banner img {
        min-height: 180px;
        object-fit: cover;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons a {
        text-align: center;
    }

    .hero-highlight {
        padding: 25px;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        height: 240px;
    }

    .about-image {
        height: 280px;
    }

    .contact-card {
        padding: 25px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        gap: 12px;
    }

}

/* CONTACT STRIP RESPONSIVENESS */

@media (max-width: 600px) {

    .contact-strip-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .strip-whatsapp {
        width: 100%;
        text-align: center;
    }

    .strip-detail {
        font-size: 13px;
    }

}

/* =========================================
   SOCIAL MEDIA NAVIGATION
========================================= */

.social-links {
    display: flex;
    align-items: center;
    gap: 13px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    transition: 0.3s ease;
}

.social-link:hover {
    color: var(--orange);
}

.social-icon {
    width: 25px;
    height: 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--orange);
    color: var(--navy);
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
}

.social-link:hover .social-icon {
    background: #ffffff;
    transform: translateY(-2px);
}

/* SOCIAL LINKS ON TABLETS AND MOBILE */

@media (max-width: 900px) {

    .social-links {
        order: 4;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        gap: 15px;
        padding: 8px 0;
    }

    .social-link {
        font-size: 12px;
    }

}
/* FOOTER SOCIAL MEDIA LINKS */

.footer-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s ease;
}

.footer-social-links a:hover {
    color: var(--orange);
}

.footer-social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--navy);
    font-size: 16px;
    font-weight: bold;
}

@media (max-width: 600px) {
    .footer-social-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}
/* SOCIAL MEDIA SVG ICONS */

.footer-social-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.footer-social-links a:hover .footer-social-icon {
    background: #ffffff;
    transform: translateY(-3px);
    transition: 0.3s ease;
}
/* MOBILE HAMBURGER MENU */

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 27px;
    height: 3px;
    background: #ffffff;
    margin: 5px 0;
    border-radius: 3px;
    transition: 0.3s ease;
}

@media (max-width: 768px) {

    .navbar {
        position: relative;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .nav-btn {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #071426;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 10px 0;
        z-index: 1000;
        box-shadow: 0 8px 15px rgba(0,0,0,0.25);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        padding: 14px;
        width: 100%;
    }
}