@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Luxe Header & Hero Specific Variables */
:root {
    --luxe-primary: #6B46C1;
    --luxe-primary-hover: #553c9a;
    --luxe-dark: #0f172a;
    --luxe-dark-gradient: #4c1d95;
    --luxe-white: #ffffff;
    --luxe-text-main: #334155;
    --luxe-text-light: #94a3b8;
    --luxe-border-color: #e2e8f0;
    --luxe-heading-font: 'Playfair Display', serif;
    --luxe-body-font: 'Inter', sans-serif;
    --luxe-transition: all 0.3s ease;
    --luxe-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* ========================================================
   HEADER & NAVIGATION
   ======================================================== */
.luxe-header {
    font-family: var(--luxe-body-font);
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--luxe-white);
    transition: var(--luxe-transition);
}

.luxe-header.scrolled {
    box-shadow: var(--luxe-shadow-md);
}

.luxe-header .navbar {
    display: flex;
    align-items: center;
    height: 80px;
    gap: 1rem;
}

/* Logo */
.luxe-header .logo {
    font-family: var(--luxe-heading-font);
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: var(--luxe-dark);
    flex: 1; /* Pushes nav to center */
}

.luxe-header .logo span {
    color: var(--luxe-primary);
}

/* Desktop Navigation Links */
.luxe-header .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 0;
    flex: 0 0 auto;
    justify-content: center;
}

.luxe-header .nav-links li a {
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    transition: var(--luxe-transition);
    color: var(--luxe-text-main);
}

.luxe-header .nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--luxe-primary);
    transition: var(--luxe-transition);
}

.luxe-header .nav-links li a:hover,
.luxe-header .nav-links li a:focus {
    font-weight: 500;
    color: var(--luxe-primary);
}

.luxe-header .nav-links li a:hover::after,
.luxe-header .nav-links li a:focus::after {
    width: 100%;
}

/* Header Right Actions */
.luxe-header .header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1; /* Pushes nav to center */
    justify-content: flex-end;
}

.luxe-header .search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.luxe-header .search-input {
    width: 200px;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border-radius: 9999px;
    border: 1px solid var(--luxe-border-color);
    background-color: #f8fafc;
    font-size: 0.875rem;
    transition: var(--luxe-transition);
}

.luxe-header .search-input:focus {
    width: 250px;
    border-color: var(--luxe-primary);
    background-color: var(--luxe-white);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.luxe-header .search-icon {
    position: absolute;
    left: 12px;
    color: var(--luxe-text-light);
    pointer-events: none;
    z-index: 2;
}

.luxe-header .icon-btn {
    background: none;
    cursor: pointer;
    position: relative;
    color: var(--luxe-text-main);
    transition: var(--luxe-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
}

.luxe-header .icon-btn:hover,
.luxe-header .icon-btn:focus {
    color: var(--luxe-primary);
}

.luxe-header .icon-btn svg {
    width: 22px;
    height: 22px;
}

.luxe-header .cart-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.luxe-header .cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.luxe-header .login-btn {
    background-color: var(--luxe-primary);
    color: var(--luxe-white);
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--luxe-transition);
}

.luxe-header .login-btn:hover,
.luxe-header .login-btn:focus {
    background-color: var(--luxe-primary-hover);
    transform: translateY(-1px);
    color: white;
}

.luxe-header .hamburger {
    display: none;
    background: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    color: var(--luxe-dark);
    border: none;
}

.luxe-header .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: currentColor;
    transition: var(--luxe-transition);
}

/* Mobile Menu */
.luxe-header .mobile-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--luxe-white);
    box-shadow: var(--luxe-shadow-md);
    border-top: 1px solid var(--luxe-border-color);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--luxe-transition);
    z-index: 999;
}

.luxe-header .mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.luxe-header .mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
    margin-bottom: 0;
}

.luxe-header .mobile-nav-links li {
    border-bottom: 1px solid var(--luxe-border-color);
}

.luxe-header .mobile-nav-links li:last-child {
    border-bottom: none;
}

.luxe-header .mobile-nav-links li a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--luxe-text-main);
}
        
.luxe-header .mobile-search {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--luxe-border-color);
}
        
.luxe-header .mobile-search input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
}

/* ========================================================
   HERO BANNER
   ======================================================== */
.luxe-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--luxe-dark) 0%, var(--luxe-dark-gradient) 100%);
    color: var(--luxe-white);
    overflow: hidden;
    text-align: center;
    font-family: var(--luxe-body-font);
}

/* Subtle noise texture */
.luxe-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opactiy='0.15'/%3E%3C/svg%3E");
    opacity: 0.05;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

.luxe-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.luxe-hero h1 {
    font-family: var(--luxe-heading-font);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: white;
}

.luxe-hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    padding: 0 1rem;
    color: white;
}

.luxe-hero .hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.luxe-hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: var(--luxe-transition);
    cursor: pointer;
    text-decoration: none;
}

.luxe-hero .btn-primary {
    background-color: var(--luxe-primary);
    color: var(--luxe-white);
    box-shadow: 0 4px 14px 0 rgba(107, 70, 193, 0.39);
    border: none;
}

.luxe-hero .btn-primary:hover,
.luxe-hero .btn-primary:focus {
    background-color: #7b58cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 70, 193, 0.4);
    color: white;
}

.luxe-hero .btn-secondary {
    background-color: transparent;
    color: var(--luxe-white);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.luxe-hero .btn-secondary:hover,
.luxe-hero .btn-secondary:focus {
    background-color: var(--luxe-white);
    color: var(--luxe-primary);
    border-color: var(--luxe-white);
    transform: translateY(-2px);
}

/* ========================================================
   TRUST BADGES (Inside Hero Bottom)
   ======================================================== */
.luxe-hero .trust-badges-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: auto;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.luxe-hero .trust-badges {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    gap: 1rem;
    flex-wrap: wrap;
}

.luxe-hero .badge-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 220px;
}

.luxe-hero .badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #d8b4fe; /* Lighter purple for icons */
}
        
.luxe-hero .badge-icon svg {
    width: 24px;
    height: 24px;
}

.luxe-hero .badge-text {
    text-align: left;
}

.luxe-hero .badge-text h4 {
    font-family: var(--luxe-body-font);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--luxe-white);
    margin-bottom: 0.1rem;
    letter-spacing: 0.02em;
    margin-top: 0;
}

.luxe-hero .badge-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding: 0;
}

/* ========================================================
   RESPONSIVE DESIGN
   ======================================================== */
@media (max-width: 1024px) {
    .luxe-header .nav-links {
        display: none;
    }
    .luxe-header .search-container.desktop {
        display: none;
    }
    .luxe-header .hamburger {
        display: flex; /* Keep hamburger for tablets */
    }
    .luxe-header .header-actions {
        display: flex; 
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .luxe-header .header-actions {
        display: none !important; /* Minimal header on mobile */
    }
    /* Mobile Search Overlay */
    .mobile-search-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(8px);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .mobile-search-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .mso-content {
        width: 90%;
        max-width: 500px;
        color: white;
    }

    .mso-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }

    .mso-close {
        background: none;
        border: none;
        color: white;
        font-size: 2.5rem;
        cursor: pointer;
        padding: 0;
        line-height: 1;
    }

    .mso-input-group {
        position: relative;
        display: flex;
        align-items: center;
    }

    .mso-input-group i {
        position: absolute;
        left: 1rem;
        color: var(--luxe-primary);
        font-size: 1.25rem;
    }

    .mso-input-group input {
        width: 100%;
        padding: 1rem 1rem 1rem 3rem;
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.1);
        background: rgba(255,255,255,0.05);
        color: white;
        font-size: 1.1rem;
    }

    .mso-input-group input:focus {
        border-color: var(--luxe-primary);
        outline: none;
        background: rgba(255,255,255,0.1);
    }

    #mobileSearchSuggestions {
        background: var(--luxe-white);
        border-radius: 0 0 12px 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        max-height: 40vh;
        overflow-y: auto;
        display: none; /* Hidden by default, JS will show it */
    }

    #mobileSearchSuggestions .suggestion-item {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        align-items: center;
        gap: 1rem;
        text-decoration: none;
        color: var(--luxe-dark);
    }

    #mobileSearchSuggestions .suggestion-item img {
        width: 45px;
        height: 45px;
        border-radius: 8px;
        object-fit: cover;
    }

    /* Mobile Bottom Nav Tweaks */
    .mobile-bottom-nav {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1500;
        background: var(--luxe-white);
        border-top: 1px solid var(--luxe-border-color);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
        padding: 0.6rem 0 env(safe-area-inset-bottom, 0.6rem);
    }

    .mobile-bottom-nav-inner {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .mbn-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        color: var(--luxe-text-light);
        text-decoration: none;
        font-size: 0.7rem;
        font-weight: 500;
        background: none;
        border: none;
        padding: 0.4rem;
        flex: 1;
    }

    .mbn-item i {
        font-size: 1.4rem;
        transition: transform 0.2s ease;
    }

    .mbn-item.active {
        color: var(--luxe-primary);
    }

    .mbn-item.active i {
        transform: translateY(-2px);
    }

    .cart-badge-dot {
        position: absolute;
        top: -4px;
        right: -8px;
        background: #ef4444;
        color: white;
        font-size: 0.65rem;
        font-weight: 700;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid white;
    }

    body {
        padding-bottom: 80px !important; /* Ensure content isn't covered by bottom nav */
    }

    .luxe-hero {
        min-height: auto;
    }
    .luxe-hero .hero-content {
        padding: 6rem 1.5rem 4rem;
    }
    .luxe-hero .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .luxe-hero .btn {
        width: 100%;
    }
    
    .luxe-hero .trust-badges {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    .luxe-hero .badge-item {
        width: 100%;
    }
}

/* Logo Custom Styles */
.luxe-header .logo .header-logo-img {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
    height: auto;
    width: auto;
}

.footer-logo-img {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
    height: auto;
    width: auto;
    margin-bottom: 1.25rem;
}

