/* ============================================================
   Bright Path Electric — Stylesheet
   Design: Professional, enterprise, trustworthy
   Palette: Deep navy + warm amber accent + clean whites
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-950: #060d18;
    --navy-900: #0a1628;
    --navy-800: #0f2240;
    --navy-700: #142f58;
    --navy-600: #1a3d6f;
    --navy-500: #1e4d8f;
    --navy-100: #c7d8ef;
    --navy-50: #e8eff8;

    --amber-500: #c8963e;
    --amber-400: #d4a84f;
    --amber-300: #e0ba61;

    --white: #ffffff;
    --gray-50: #f8f9fb;
    --gray-100: #f1f3f6;
    --gray-200: #e2e5ea;
    --gray-300: #c8cdd5;
    --gray-400: #9aa1ad;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    --container: 1200px;
    --container-padding: 24px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s var(--ease);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* --- Section Labels & Titles --- */
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-500);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--navy-900);
    letter-spacing: -0.02em;
}

.section-title strong {
    font-weight: 800;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}

.btn--primary {
    background: var(--amber-500);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--amber-400);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(200, 150, 62, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
}

.btn--large {
    padding: 18px 40px;
    font-size: 15px;
}

.btn--full {
    width: 100%;
    justify-content: center;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
}

.nav--scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav__logo-img {
    height: 72px;
    width: auto;
    transition: opacity 0.2s;
}

.nav__logo:hover .nav__logo-img {
    opacity: 0.85;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav__links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s;
}

.nav__links a:hover {
    color: var(--white);
}

.nav__cta {
    padding: 10px 24px !important;
    background: var(--amber-500);
    color: var(--white) !important;
    border-radius: 5px;
    font-weight: 600 !important;
}

.nav__cta:hover {
    background: var(--amber-400);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
    transition: all 0.3s var(--ease);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--navy-900);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

.mobile-menu--open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.mobile-menu__links a {
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
}

.mobile-menu__contact a {
    font-size: 16px;
    color: var(--amber-500);
    font-weight: 600;
    letter-spacing: 0.05em;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(6, 13, 24, 0.7) 0%,
            rgba(10, 22, 40, 0.65) 40%,
            rgba(10, 22, 40, 0.85) 100%
        );
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    padding-top: 120px;
}

.hero__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber-500);
    padding: 8px 18px;
    border: 1px solid rgba(200, 150, 62, 0.3);
    border-radius: 4px;
    margin-bottom: 32px;
    background: rgba(200, 150, 62, 0.06);
}

.hero__title {
    font-size: clamp(42px, 6.5vw, 80px);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero__title-accent {
    font-weight: 800;
    background: linear-gradient(135deg, var(--white) 0%, var(--navy-100) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(16px, 1.3vw, 19px);
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 540px;
    margin-bottom: 44px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--amber-500), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}


/* ============================================================
   ABOUT
   ============================================================ */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.about__text:last-of-type {
    margin-bottom: 32px;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-800);
}

.about__feature svg {
    color: var(--amber-500);
    flex-shrink: 0;
}

.about__image {
    position: relative;
}

.about__image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 8px;
}

.about__image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--amber-500);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.3;
}


/* ============================================================
   STATS
   ============================================================ */
.stats {
    padding: 72px 0;
    background: var(--navy-900);
}

.stats__grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stats__item {
    text-align: center;
    flex: 1;
}

.stats__number {
    display: block;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.stats__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--amber-500);
    margin-top: 6px;
    letter-spacing: 0.02em;
}

.stats__desc {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
}

.stats__divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
}


/* ============================================================
   SERVICES / WHY CHOOSE US
   ============================================================ */
.services {
    padding: 120px 0;
    background: var(--gray-50);
}

.services__header {
    text-align: center;
    margin-bottom: 64px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.services__card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    transition: all 0.4s var(--ease);
}

.services__card:hover {
    border-color: transparent;
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.08);
    transform: translateY(-4px);
}

.services__card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
    border-radius: 8px;
    margin-bottom: 24px;
    color: var(--amber-500);
}

.services__card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.services__card-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-500);
}


/* ============================================================
   PROJECTS
   ============================================================ */
.projects {
    padding: 120px 0;
    background: var(--white);
}

.projects__header {
    text-align: center;
    margin-bottom: 56px;
}

.projects__subtitle {
    font-size: 16px;
    color: var(--gray-500);
    margin-top: 16px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.projects__item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.projects__item--large {
    grid-row: span 2;
    aspect-ratio: auto;
}

.projects__item--wide {
    grid-column: span 2;
    aspect-ratio: 16 / 7;
}

.projects__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.projects__item:hover img {
    transform: scale(1.05);
}

.projects__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 13, 24, 0.85) 0%, rgba(6, 13, 24, 0) 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.projects__item:hover .projects__item-overlay {
    opacity: 1;
}

.projects__item-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-500);
    margin-bottom: 6px;
}

.projects__item-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta {
    padding: 0;
    background: var(--navy-900);
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 80px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cta__title {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.cta__text {
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    margin-top: 12px;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    padding: 120px 0;
    background: var(--gray-50);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-500);
    margin-top: 20px;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__detail {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact__detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
    border-radius: 8px;
    color: var(--amber-500);
    flex-shrink: 0;
}

.contact__detail-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.contact__detail-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-900);
    margin-top: 2px;
}

a.contact__detail:hover .contact__detail-value {
    color: var(--amber-500);
}

/* Form */
.contact__form-wrapper {
    background: var(--white);
    padding: 44px;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 30px rgba(10, 22, 40, 0.04);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.form__input {
    width: 100%;
    padding: 13px 16px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--navy-900);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 6px;
    transition: all 0.2s var(--ease);
    outline: none;
}

.form__input:focus {
    border-color: var(--navy-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(30, 77, 143, 0.08);
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--navy-950);
    padding: 64px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__logo {
    height: 62px;
    width: auto;
    margin-bottom: 16px;
}

.footer__tagline {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.35);
    max-width: 320px;
}

.footer__heading {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a,
.footer__links span {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    transition: color 0.2s;
}

.footer__links a:hover {
    color: var(--white);
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
}

.footer__bottom span {
    font-size: 12px;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.02em;
}


/* ============================================================
   ANIMATIONS (scroll-triggered via JS)
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }

.stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__grid {
        gap: 48px;
    }

    .projects__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects__item--large {
        grid-row: span 1;
        aspect-ratio: 4 / 3;
    }

    .projects__item--wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }

    .nav__links {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__logo-img {
        height: 56px;
    }

    .footer__logo {
        height: 50px;
    }

    .hero__content {
        padding-top: 140px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .about {
        padding: 80px 0;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image {
        order: -1;
    }

    .about__image img {
        height: 320px;
    }

    .about__image-accent {
        display: none;
    }

    .stats {
        padding: 48px 0;
    }

    .stats__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .stats__divider {
        display: none;
    }

    .services {
        padding: 80px 0;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services__card {
        padding: 28px 24px;
    }

    .projects {
        padding: 80px 0;
    }

    .projects__grid {
        grid-template-columns: 1fr;
    }

    .projects__item--large {
        grid-row: span 1;
    }

    .projects__item--wide {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
    }

    .projects__item-overlay {
        opacity: 1;
    }

    .cta__inner {
        flex-direction: column;
        text-align: center;
        padding: 56px 0;
    }

    .contact {
        padding: 80px 0;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact__form-wrapper {
        padding: 28px 24px;
    }

    .form__row {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 36px;
    }

    .stats__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
