/* ==================================================
   HEADER SECTION
   ================================================== */
.hero-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.hero-nav-container {
    position: relative;
    max-width: 1280px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
}

.nav-right {
    justify-content: flex-end;
}

/* Default Links (Permanent White Header) */
.nav-link-custom {
    color: var(--primary-black);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link-custom:hover {
    color: var(--text-gray);
}

.nav-link-custom.active {
    color: var(--accent-yellow);
    font-weight: 700;
}

.dropdown-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown-link:hover i {
    transform: translateY(2px);
}

/* Dropdown Menu */
.nav-item {
    position: relative;
    padding: 10px 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1050;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    color: var(--primary-black);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.dropdown-menu a:hover {
    color: var(--accent-yellow);
    background: #f8f9fa;
}

.hero-logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 45%;
    transform: translateX(-50%);
}

.nav-logo-img {
    height: 60px;
    width: auto;
    transition: filter 0.3s ease;
    filter: none;
    /* Always use dark logo */
}

.cart-link {
    position: relative;
    color: var(--primary-black);
    font-size: 22px;
    transition: color 0.3s ease;
}

.cart-link:hover {
    color: var(--text-gray);
}

.cart-number {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-yellow);
    color: var(--primary-black);
    font-size: 10px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-btn {
    background: var(--accent-yellow);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px #4F94D2;
    background: #ffffff;
    color: var(--accent-yellow);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 0;
    color: var(--primary-black);
    font-size: 32px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 20px 40px;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--primary-black);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.mobile-menu a.active {
    color: var(--accent-yellow);
}

.mobile-menu .mobile-contact {
    background: var(--accent-yellow);
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 50px;
    text-align: center;
    align-self: center;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.mobile-menu .mobile-contact:hover {
    background: var(--primary-black);
    transform: translateY(-2px);
}

/* ==================================================
   CART DROPDOWN
   ================================================== */
.cart-dropdown-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 15px;
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eeeeee;
}

.cart-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-yellow);
    margin: 0;
}

.close-cart-btn {
    background: transparent;
    border: none;
    color: var(--accent-yellow);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-cart-btn:hover {
    color: #316d9e;
}

.cart-body {
    padding: 40px 20px;
    text-align: center;
}

.cart-body p {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--text-gray);
    margin: 0;
}

/* ==================================================
   HEADER RESPONSIVE (MIGRATED FROM RESPONSIVE.CSS)
   ================================================== */
@media (max-width: 1199px) {
    .nav-left,
    .nav-right {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .nav-left,
    .nav-right {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-logo {
        position: static;
        transform: none;
    }

    .hero-nav-container {
        justify-content: space-between;
    }
}

@media (max-width: 767px) {
    .hero-navbar {
        padding-top: 16px;
    }

    .hero-nav-container {
        padding: 0 16px;
    }
}