/* ============================================
   ZALORA LUXURY - COMPLETE STYLESHEET
   Heritage Gold & Black Theme
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --color-black: #0a0a0a;
    --color-black-light: #141414;
    --color-brown-dark: #1a0f08;
    --color-brown: #3d2817;
    --color-brown-light: #6b4423;
    --color-cream: #f5f0e8;
    --color-cream-dark: #e8e0d5;
    --color-gold: #c9a961;
    --color-gold-light: #e8d5a3;
    --color-gold-dark: #a08040;
    --color-white: #ffffff;
    --color-gray: #888888;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --nav-height: 80px;
    --section-padding: 120px;
    --container-max: 1400px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;
    
    /* Shadows */
    --shadow-gold: 0 0 30px rgba(201, 169, 97, 0.3);
    --shadow-lift: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: transparent;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.crown-icon {
    font-size: 28px;
    color: var(--color-gold);
    line-height: 1;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-gold);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-cream);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: var(--transition-medium);
}

.nav-links a:hover {
    color: var(--color-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

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

.icon-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--color-cream);
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    position: relative;
}

.icon-btn:hover {
    background: rgba(201, 169, 97, 0.1);
    color: var(--color-gold);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: var(--color-gold);
    color: var(--color-black);
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--color-cream);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-black);
    padding: 20px 40px;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.mobile-menu a {
    display: block;
    padding: 16px 0;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.mobile-signin {
    color: var(--color-gold) !important;
    font-weight: 600;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(10,10,10,0.8) 0%, rgba(26,15,8,0.6) 50%, rgba(61,40,23,0.4) 100%),
        url('https://images.unsplash.com/photo-1445205170230-053b83016050?w=1920&q=80') center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10,10,10,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 40px;
    animation: fadeInUp 1s ease;
}

.hero-pretitle {
    font-size: 12px;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-white);
}

.title-line {
    display: block;
}

.title-line:last-child {
    color: var(--color-gold-light);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(245, 240, 232, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--color-gold);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-black);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-medium);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
    transition: var(--transition-medium);
}

.btn-outline-gold:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border: 1px solid rgba(245, 240, 232, 0.3);
    color: var(--color-cream);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
    transition: var(--transition-medium);
}

.btn-outline-light:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.btn-large {
    padding: 20px 40px;
    font-size: 14px;
}

.btn-icon {
    font-size: 18px;
    transition: var(--transition-fast);
}

.btn-gold:hover .btn-icon {
    transform: translateX(4px);
}

/* ============================================
   SECTIONS
   ============================================ */

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

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    text-align: center;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--color-gold);
}

.section-subtitle {
    text-align: center;
    color: var(--color-gray);
    font-size: 16px;
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.view-all-link {
    color: var(--color-gold);
    font-size: 14px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-all-link:hover {
    gap: 12px;
}

/* ============================================
   BRANDS SECTION
   ============================================ */

.brands-section {
    padding: var(--section-padding) 0;
    background: var(--color-cream);
    color: var(--color-brown-dark);
}

.brands-section .section-title {
    color: var(--color-brown);
}

.brands-section .section-subtitle {
    color: var(--color-brown-light);
}

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

.brand-card {
    background: var(--color-white);
    padding: 40px 20px;
    text-align: center;
    border: 1px solid rgba(201, 169, 97, 0.2);
    transition: var(--transition-medium);
    cursor: pointer;
}

.brand-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(61, 40, 23, 0.15);
}

.brand-name {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-brown);
    margin-bottom: 8px;
}

.brand-origin {
    display: block;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    text-transform: uppercase;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products-section {
    padding: var(--section-padding) 0;
    background: var(--color-black);
}

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

.product-card {
    background: var(--color-cream);
    overflow: hidden;
    transition: var(--transition-medium);
    border: 1px solid rgba(201, 169, 97, 0.1);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lift);
    border-color: var(--color-gold);
}

.product-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-cream-dark) 0%, var(--color-cream) 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    background: var(--color-gold);
    color: var(--color-black);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-info {
    padding: 24px;
}

.product-brand {
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--color-brown-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.product-price {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-brown);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-brown-light);
}

.stars {
    color: var(--color-gold);
}

.add-to-cart {
    width: 100%;
    margin-top: 16px;
    padding: 14px;
    background: var(--color-brown-dark);
    color: var(--color-cream);
    border: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
}

.add-to-cart:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

/* Loading State */
.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px;
    color: var(--color-gray);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(201, 169, 97, 0.2);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-brown-dark) 0%, var(--color-brown) 100%);
    border-top: 1px solid rgba(201, 169, 97, 0.2);
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.stats-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-cream);
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(201, 169, 97, 0.3);
}

/* ============================================
   SELLER CTA SECTION
   ============================================ */

.seller-cta {
    position: relative;
    padding: 160px 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(26,15,8,0.8) 100%),
        url('https://www.transparenttextures.com/patterns/leather.png');
    opacity: 0.6;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 40px;
}

.crown-large {
    display: block;
    font-size: 64px;
    color: var(--color-gold);
    margin-bottom: 24px;
    opacity: 0.8;
}

.seller-cta h2 {
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: 0.15em;
    color: var(--color-white);
    margin-bottom: 20px;
}

.seller-cta p {
    font-size: 18px;
    color: rgba(245, 240, 232, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--color-black);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(201, 169, 97, 0.1);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
}

.footer-brand .crown-icon {
    font-size: 32px;
}

.footer-brand .brand-text {
    font-size: 28px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.footer-col h4 {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-gray);
    margin-bottom: 8px;
}

.footer-contact {
    color: var(--color-gold) !important;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .section-container {
        padding: 0 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}