/* ================= NAVBAR ================= */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 6%;
    background: #0D1F1A;
    position: relative;
    z-index: 100;
}

/* -------------------------
   Logo + Brand Container
------------------------- */
.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;               /* spacing between logo and brand */
}

/* -------------------------
   Enhanced Logo with Gold Glow & Animation
------------------------- */
.nav-logo {
    height: 65px;             /* bigger presence */
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
    animation: logo-pop 0.6s ease forwards, logo-shimmer 3s infinite alternate 0.8s;
}

/* Hover effect: gentle zoom + premium gold glow */
.nav-logo:hover {
    transform: scale(1.12);
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.75); /* gold glow */
}

/* Logo pop animation on page load */
@keyframes logo-pop {
    0% { transform: scale(0.9); opacity: 0; }
    60% { transform: scale(1.07); opacity: 1; }
    100% { transform: scale(1); }
}

/* Subtle continuous shimmer/glow animation */
@keyframes logo-shimmer {
    0% { filter: drop-shadow(0 0 4px rgba(212,175,55,0.3)); }
    50% { filter: drop-shadow(0 0 8px rgba(212,175,55,0.6)); }
    100% { filter: drop-shadow(0 0 4px rgba(212,175,55,0.3)); }
}

/* -------------------------
   Brand Name Styling with Fade-In Animation
------------------------- */
.nav-brand {
    font-size: 1.45rem;        /* slightly larger */
    font-weight: 700;
    color: var(--kd-gold);
    text-decoration: none;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    opacity: 0;                /* start hidden */
    animation: brand-fade-in 0.8s ease forwards;
    animation-delay: 0.3s;     /* slightly after logo */
}

/* Brand underline on hover */
.nav-brand::after {
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    background: var(--kd-gold);
    transition: width 0.35s ease;
    margin-top: 2px;
}

.nav-brand:hover::after {
    width: 100%;
}

/* Brand fade-in animation */
@keyframes brand-fade-in {
    0% { opacity: 0; transform: translateX(-15px); }
    60% { opacity: 1; transform: translateX(5px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Center Menu */
.nav-center ul { display: flex; gap: 35px; list-style: none; }
.nav-center .nav-item { position: relative; }
.nav-center .nav-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}
.nav-center .nav-item a::after {
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    background: var(--kd-gold);
    transition: width 0.35s ease;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}
.nav-center .nav-item a:hover::after { width: 100%; }
.nav-center .submenu {
    display: none;
    position: absolute;
    top: 120%;
    left: 0;
    background: #0A3328;
    border-radius: 10px;
    padding: 12px 0;
    min-width: 220px;
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.45);
    flex-direction: column;
    z-index: 10;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.nav-center .nav-item:hover .submenu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}
.nav-center .submenu li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    font-weight: 400;
}
.nav-center .submenu li a:hover { color: var(--kd-gold); }

/* Right CTA + Hamburger */
.nav-right { display: flex; align-items: center; gap: 15px; }
.cta-btn {
    background: var(--kd-gold);
    color: var(--kd-dark-green);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s ease, box-shadow 0.5s ease;
}
.cta-btn:hover {
    background: var(--kd-light-gold);
    transform: translateY(-2px);
    box-shadow: 0 0 12px var(--kd-gold), 0 0 20px rgba(212,175,55,0.35);
}

/* ================= PREMIUM MOBILE HAMBURGER ================= */
.hamburger {
    display: none; /* hidden on desktop */
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 6px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3.5px;
    background: linear-gradient(90deg, #D4AF37, #FFD700);
    border-radius: 3px;
    transition: all 0.4s ease;
    transform-origin: center;
    position: relative;
    z-index: 1;
}

/* Pulsing shimmer effect */
.hamburger span::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    animation: shimmer 1.8s infinite;
    border-radius: 3px;
}
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hamburger:hover {
    background: rgba(212, 175, 55, 0.25);
    box-shadow: 0 6px 18px rgba(212,175,55,0.5);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}
/* -------------------------------
   Scrollbar Styling - Site Wide
--------------------------------- */
html, body {
    overflow-y: scroll; /* always show vertical scrollbar */
    height: 100%;
    scroll-behavior: smooth; /* optional */
}

/* Chrome, Edge, Safari */
body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

body::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 5px;
}

body::-webkit-scrollbar-thumb:hover {
    background: #FFD700;
}

/* Firefox */
body {
    scrollbar-width: thin;
    scrollbar-color: #D4AF37 #f1f1f1;
}

/* ================= MOBILE NAVBAR ================= */
@media screen and (max-width: 991px) {
    .nav-center { display: none; }
    .hamburger { display: flex; }

    .nav-left { display: flex; align-items: center; gap: 8px; }
    .nav-brand { font-size: 1.15rem; }

    .cta-btn { padding: 8px 18px; font-size: 0.95rem; }

    /* ================= PREMIUM MOBILE MENU ================= */
    .mobile-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(160deg, rgba(13,31,26,0.97), rgba(10,51,40,0.99));
        backdrop-filter: blur(6px);
        flex-direction: column;
        padding: 50px 6%;
        gap: 28px;
        overflow-y: auto; /* scroll only inside menu */
        z-index: 999;
        border-top: 2px solid rgba(212,175,55,0.6);
        transition: all 0.45s ease;
    }
    .mobile-menu.show { display: flex; }

    /* Close button */
    .close-mobile {
        position: absolute;
        top: 18px;
        right: 25px;
        font-size: 2.6rem;
        color: var(--kd-gold);
        cursor: pointer;
        text-shadow: 0 3px 14px rgba(0,0,0,0.45);
        transition: transform 0.3s ease;
    }
    .close-mobile:hover { transform: rotate(90deg) scale(1.1); }

    /* Mobile links */
    .mobile-item > a {
        display: block;
        color: #fff;
        font-size: 1.45rem;
        font-weight: 700;
        letter-spacing: 1px;
        padding: 15px 0;
        text-decoration: none;
        position: relative;
        overflow: hidden;
        transition: all 0.4s ease;
    }
    .mobile-item > a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 2px;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, rgba(212,175,55,0), rgba(212,175,55,1), rgba(212,175,55,0));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.5s ease;
    }
    .mobile-item > a:hover::after { transform: scaleX(1); }
    .mobile-item.open > a { color: var(--kd-gold); }

    /* Submenu */
    .mobile-item > .submenu {
        display: none;
        flex-direction: column;
        gap: 14px;
        padding-left: 20px;
        margin-top: 5px;
        border-left: 2px solid rgba(212,175,55,0.4);
        box-shadow: inset 0 0 12px rgba(212,175,55,0.1);
        transition: all 0.4s ease;
    }
    .mobile-item.open > .submenu { display: flex; }
    .mobile-item > .submenu a {
        font-size: 1.18rem;
        color: #fff;
        font-weight: 500;
        text-decoration: none;
        padding: 10px 0;
        position: relative;
        transition: all 0.35s ease;
    }
    .mobile-item > .submenu a::before {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0%;
        height: 2px;
        background: var(--kd-gold);
        transition: all 0.4s ease;
    }
    .mobile-item > .submenu a:hover::before { width: 100%; }
    .mobile-item > .submenu a:hover { transform: translateX(4px) scale(1.02); color: var(--kd-light-gold); }

    /* Mobile CTA button */
    .mobile-menu .cta-btn {
        font-size: 1.15rem;
        padding: 14px 30px;
        background: linear-gradient(120deg, var(--kd-gold), var(--kd-light-gold));
        color: var(--kd-dark-green);
        border-radius: 12px;
        font-weight: 700;
        text-align: center;
        margin-top: 25px;
        align-self: center;
        box-shadow: 0 6px 18px rgba(212,175,55,0.45);
        transition: all 0.4s ease;
    }
    .mobile-menu .cta-btn:hover {
        transform: scale(1.06) translateY(-2px);
        box-shadow: 0 8px 20px rgba(212,175,55,0.55);
    }

    /* Scrollbar styling */
    .mobile-menu::-webkit-scrollbar { width: 6px; }
    .mobile-menu::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.7); border-radius: 3px; }
    .mobile-menu::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
}

/* HIDE MOBILE MENU AND HAMBURGER ON DESKTOP */
@media screen and (min-width: 992px) {
    .mobile-menu { display: none !important; }
    .hamburger { display: none !important; }
}
/* ================= MOBILE STICKY FOOTER ================= */
.mobile-footer-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 31, 26, 0.95); /* semi-transparent for floating effect */
    backdrop-filter: blur(6px); /* subtle glassy blur */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    z-index: 9999;
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.35); /* enhanced shadow for floating */
    animation: footer-slide-up 0.6s cubic-bezier(0.25, 1.25, 0.5, 1) forwards;
    will-change: transform, opacity;
    transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

/* Footer slide-up bounce on page load */
@keyframes footer-slide-up {
    0% { transform: translateY(100%); opacity: 0; }
    60% { transform: translateY(-8%); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Footer Items */
.mobile-footer-menu .footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-footer-menu .footer-item:hover {
    transform: translateY(-3px);
    color: var(--kd-gold);
}

/* Footer Icons */
.footer-icon {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

/* CTA Footer (WhatsApp) */
.mobile-footer-menu .cta-footer {
    background: linear-gradient(120deg, var(--kd-gold), var(--kd-light-gold));
    padding: 6px 14px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--kd-dark-green);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
    transition: transform 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.mobile-footer-menu .cta-footer:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.55);
}

/* Hide on Desktop */
@media screen and (min-width: 992px) {
    .mobile-footer-menu { display: none; }
}

/* Hide header logo on mobile */
@media (max-width: 768px) {
    .header-logo {
        display: none !important;
    }
}

/* Hide only header logo on mobile */
@media (max-width: 768px) {
    .header-logo {
        display: none !important;
    }
}