:root {
    --bg-color: #050505;
    --surface-color: #121212;
    --text-primary: #FFFFFF;
    --text-secondary: #999999;
    --accent-color: #E2E2E2;
    --border-color: #262626;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
img { max-width: 100%; display: block; object-fit: cover; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }

/* Header & Nav */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.75rem 4rem; max-width: 1600px; margin: 0 auto;
    transition: padding 0.4s ease;
}

.site-header.scrolled .header-container { padding: 1rem 4rem; }

.logo img { height: 32px; filter: invert(1); transition: transform 0.3s ease; }
.logo:hover img { transform: scale(1.05); }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 2rem;
    height: 0.25rem;
    background: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.main-nav ul { list-style: none; display: flex; gap: 2.5rem; }
.main-nav a {
    font-size: 0.85rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--text-secondary);
    position: relative; padding-bottom: 4px;
}
.main-nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
    background-color: var(--text-primary); transition: var(--transition-smooth);
}
.main-nav a:hover { color: var(--text-primary); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; gap: 2rem; align-items: center; }
.header-actions a { color: var(--text-secondary); transition: color 0.3s ease; }
.header-actions a:hover { color: var(--text-primary); }

/* Buttons */
.btn {
    display: inline-block; padding: 1rem 2.5rem; font-size: 0.85rem;
    font-weight: 500; text-transform: uppercase; letter-spacing: 2px;
    cursor: pointer; border: 1px solid transparent; transition: var(--transition-smooth);
    text-align: center;
}
.btn-primary { background-color: var(--text-primary); color: var(--bg-color); }
.btn-primary:hover { background-color: transparent; color: var(--text-primary); border-color: var(--text-primary); }
.btn-secondary { background-color: transparent; border-color: var(--text-primary); color: var(--text-primary); }
.btn-secondary:hover { background-color: var(--text-primary); color: var(--bg-color); }
.btn-outline { background-color: transparent; border-color: var(--border-color); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--text-primary); background-color: var(--surface-color); }

/* Hero Section */
.hero-section {
    height: 100vh; position: relative; display: flex; align-items: center;
    justify-content: center; text-align: center; overflow: hidden;
}
.hero-image-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image-wrapper img { width: 100%; height: 100%; object-position: center; transform: scale(1.1); transition: transform 2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hero-section.loaded .hero-image-wrapper img { transform: scale(1); }
.hero-image-wrapper::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(5,5,5,0.2) 0%, rgba(5,5,5,0.8) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 2rem; opacity: 0; transform: translateY(40px); animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.hero-title { font-size: 5.5rem; margin-bottom: 1rem; letter-spacing: 2px; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 3rem; letter-spacing: 1px; font-weight: 300; }

/* Content Layouts */
.content-wrapper { max-width: 1600px; margin: 0 auto; padding: 8rem 4rem; }
.page-content { padding-top: 6rem; }
.featured-products { margin-bottom: 10rem; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; flex-wrap: wrap; gap: 2rem; }
.link-arrow { font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; display: flex; align-items: center; gap: 12px; color: var(--text-secondary); }
.link-arrow::after { content: '→'; font-size: 1.2rem; transition: transform 0.3s ease; }
.link-arrow:hover { color: var(--text-primary); }
.link-arrow:hover::after { transform: translateX(6px); }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.product-card { display: block; }
.product-image { background-color: var(--surface-color); aspect-ratio: 4/5; overflow: hidden; margin-bottom: 1.75rem; position: relative; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.product-card:hover .product-image img { transform: scale(1.08); }
.product-info h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.product-category { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1rem; }
.product-price { font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; color: var(--accent-color); }

/* Split Layout */
.split-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8rem; align-items: start; }
.brand-story .story-image { width: 100%; height: 500px; margin-bottom: 3rem; overflow: hidden; border: 1px solid var(--border-color); }
.brand-story .story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.brand-story:hover .story-image img { transform: scale(1.05); }
.brand-story p { color: var(--text-secondary); font-size: 1.15rem; line-height: 1.8; margin-bottom: 2.5rem; max-width: 90%; font-weight: 300; }

.sidebar-promos { display: flex; flex-direction: column; gap: 5rem; }
.promo-widget h3 { margin-bottom: 1.5rem; font-size: 1.75rem; }
.promo-image-container { overflow: hidden; margin-bottom: 2rem; border: 1px solid var(--border-color); }
.promo-image-container img { transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.promo-widget:hover .promo-image-container img { transform: scale(1.05); }

/* Newsletter */
.newsletter-widget { background-color: var(--surface-color); padding: 3.5rem 3rem; border: 1px solid var(--border-color); }
.newsletter-widget h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.newsletter-widget p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 2.5rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 1.5rem; }
.newsletter-form input { background: transparent; border: none; border-bottom: 1px solid var(--border-color); padding: 1rem 0; color: var(--text-primary); font-family: var(--font-body); font-size: 1rem; transition: border-color 0.3s ease; }
.newsletter-form input:focus { outline: none; border-bottom-color: var(--text-primary); }
.newsletter-form button { width: 100%; margin-top: 1rem; }

/* Footer */
.site-footer { background-color: var(--surface-color); border-top: 1px solid var(--border-color); padding: 8rem 4rem 3rem; }
.footer-grid { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 5rem; margin-bottom: 6rem; }
.footer-logo { height: 28px; filter: invert(1); margin-bottom: 2rem; }
.brand-col p { color: var(--text-secondary); font-size: 1rem; max-width: 300px; font-weight: 300; line-height: 1.8; }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 2rem; font-family: var(--font-body); font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1.25rem; }
.footer-col a { color: var(--text-secondary); font-size: 0.95rem; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { max-width: 1600px; margin: 0 auto; border-top: 1px solid var(--border-color); padding-top: 3rem; text-align: center; color: var(--text-secondary); font-size: 0.9rem; }

/* Mobile Menu Active State */
.main-nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 8rem 2rem;
    align-items: center;
    justify-content: center;
}
.main-nav.active ul {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
}
.main-nav.active a {
    font-size: 1.5rem;
}

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .split-layout { gap: 4rem; }
    .hero-title { font-size: 4.5rem; }
}

@media (max-width: 1024px) {
    .header-container, .site-header.scrolled .header-container { padding: 1.5rem 2rem; }
    .main-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    
    .hero-title { font-size: 4rem; }
    .content-wrapper { padding: 5rem 2rem; }
    
    .split-layout { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1rem; padding: 0 1rem; }
    
    .product-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col { text-align: center; }
    .brand-col p { margin: 0 auto; }
    
    .brand-story .story-image { height: 300px; }
    .header-actions { display: none; } /* Simplify header on very small screens */
    .content-wrapper { padding: 3rem 1.5rem; }
    .section-header { flex-direction: column; align-items: flex-start; }
}

/* Luxury Collection Hero */
.collection-hero {
    width: 100%;
    background-color: #080808;
    padding: 10rem 2rem 6rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    margin-top: -6rem; /* pull up under header */
    margin-bottom: 4rem;
}
.collection-hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.04) 0%, transparent 50%);
    animation: rotateSlowly 40s linear infinite;
}
@keyframes rotateSlowly { 100% { transform: rotate(360deg); } }

.collection-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpHero 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}
@keyframes fadeUpHero { to { opacity: 1; transform: translateY(0); } }

.collection-subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.collection-title {
    font-size: 4.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 400;
}
.collection-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}
