/* ============================================================
   NAVIGATION BAR STYLES
   Extracted from style.css — no design changes, split only.
   ============================================================ */
.nav-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, #0b0b1f 0%, rgba(11,11,31,0.95) 100%);
    padding: 10px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px 20px;
    border-bottom: 1px solid rgba(245, 218, 73, 0.3);
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

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

.nav-logo img {
    height: clamp(34px, 4vw, 46px);
    width: auto;
    filter: brightness(1.15);
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.08);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 3px 20px;
    flex: 1;
}

.nav-call-link {
    background: #f5da49;
    color: #0b0b1f !important;
    font-weight: 700;
    padding: 8px 18px !important;
    border-radius: 20px;
    white-space: nowrap;
}

.nav-call-link:hover {
    background: #fff;
    color: #0b0b1f !important;
}
/* Mobile: logo alone on the left; Call Now + hamburger grouped
   together on the right (desktop/tablet keep the inline link row). */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-call-mobile,
.nav-hamburger {
    display: none;
}

/* Hamburger icon (3 bars -> animates to X when open) */
.nav-hamburger {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(245, 218, 73, 0.4);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.nav-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #f5da49;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    padding: 8px 20px;
    border-radius: 5px;
    transition: color 0.3s ease, background-color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: #f5da49;
    background: rgba(245, 218, 73, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #f5da49;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

/* ---------- Responsive: Tablet 769px - 1100px ---------- */
@media (max-width: 1100px) and (min-width: 769px) {
    .nav-bar {
        padding: 12px 20px;
        gap: 8px 22px;
    }

    .nav-link {
        font-size: 15px;
        padding: 8px 12px;
        letter-spacing: 0.5px;
    }

    .nav-call-link {
        padding: 8px 14px !important;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .nav-bar {
        padding: 10px 18px;
        gap: 10px;
    }

    .nav-logo img {
        height: 38px;
    }

    .nav-links {
        gap: 4px 8px;
    }

    .nav-link {
        font-size: 14px;
        padding: 7px 10px;
    }

    .nav-call-link {
        padding: 7px 12px !important;
        font-size: 13px;
    }
}

/* ---------- Responsive: Mobile <= 768px ---------- */
@media (max-width: 768px) {
    /* ---------- Nav bar ---------- */
    .nav-bar {
        padding: 8px 10px;
        gap: 2px 6px;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .nav-logo img {
        height: 32px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #0b0b1f;
        border-bottom: 1px solid rgba(245, 218, 73, 0.3);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
        padding: 6px 0;
    }

    .nav-links.nav-links-open {
        display: flex;
    }

    .nav-link {
        font-size: 12px;
        padding: 5px 8px;
        letter-spacing: 0.2px;
        width: 100%;
        text-align: center;
        border-radius: 0;
    }

    .nav-call-desktop {
        display: none;
    }

    .nav-call-mobile {
        display: inline-block;
        font-size: 13px;
        padding: 8px 12px !important;
    }

    .nav-hamburger {
        display: flex;
    }
}

/* ---------- Responsive: 481px - 768px ---------- */
@media (min-width: 481px) and (max-width: 768px) {
    /* ---------- Navbar ---------- */
    .nav-bar {
        width: 100%;
        min-height: 56px;
        padding: 8px 14px;
        flex-wrap: nowrap;
    }

    .nav-logo {
        max-width: 55%;
    }

    .nav-logo img {
        width: auto;
        max-width: 150px;
        height: 34px;
    }

    .nav-right {
        gap: 8px;
    }

    .nav-call-mobile {
        font-size: 12px;
        padding: 7px 11px !important;
    }

    .nav-hamburger {
        width: 38px;
        height: 38px;
    }
}

/* ---------- Responsive: <= 480px ---------- */
@media (max-width: 480px) {
    /* ---------- Navbar ---------- */
    .nav-bar {
        width: 100%;
        min-height: 52px;
        padding: 7px 9px;
        gap: 5px;
        flex-wrap: nowrap;
    }

    .nav-logo {
        flex: 1;
        min-width: 0;
    }

    .nav-logo img {
        height: 29px;
        max-width: 125px;
        width: auto;
    }

    .nav-right {
        gap: 5px;
    }

    .nav-call-mobile {
        font-size: 10px;
        padding: 7px 9px !important;
        border-radius: 16px;
    }

    .nav-hamburger {
        width: 34px;
        height: 34px;
        border-radius: 6px;
    }

    .nav-hamburger span {
        width: 17px;
    }

    .nav-links {
        max-height: calc(100vh - 52px);
        overflow-y: auto;
    }

    .nav-link {
        font-size: 12px !important;
        padding: 10px 8px !important;
    }
}

/* ---------- Responsive: Very small mobile 320px - 360px ---------- */
@media (max-width: 360px) {
    .nav-logo img {
        height: 26px;
        max-width: 110px;
    }

    .nav-call-mobile {
        font-size: 9px;
        padding: 6px 7px !important;
    }

    .nav-hamburger {
        width: 32px;
        height: 32px;
    }
}