:root {
    --color-onyx: #0A0A0A;
    --color-burgundy: #3B0F17;
    --color-ivory: #F2EFEA;
    --color-charcoal: #171717;
    --color-silver: #B7B7BA;
    
    --color-text-dark: var(--color-onyx);
    --color-text-light: var(--color-ivory);

    --font-heading: 'Cinzel', serif;
    --font-secondary: 'Montserrat', sans-serif;
    --font-cursive: 'WindSong', cursive;
}

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

body {
    background-color: var(--color-onyx);
    color: var(--color-ivory);
    font-family: var(--font-secondary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
}

h1 { font-size: 4rem; line-height: 1.1; letter-spacing: 2px; }
h2 { font-size: 2.5rem; letter-spacing: 2px; }
h3 { font-size: 1.5rem; letter-spacing: 1px; }

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.eyebrow {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-silver);
    margin-bottom: 10px;
    display: block;
}

.text-cursive { font-family: var(--font-cursive); font-size: 2.5rem; }
.text-center { text-align: center; }

/* Background Utilities */
.bg-onyx { 
    background-image: linear-gradient(rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.95)), url('../logo/bg1.png');
    background-size: cover; background-attachment: fixed;
    color: var(--color-text-light); 
}
.bg-burgundy { 
    background-image: linear-gradient(rgba(59, 15, 23, 0.93), rgba(59, 15, 23, 0.93)), url('../logo/bg1.png');
    background-size: cover; background-attachment: fixed;
    color: var(--color-text-light); 
}
.bg-ivory { 
    background-image: linear-gradient(rgba(242, 239, 234, 0.85), rgba(242, 239, 234, 0.85)), url('../logo/bg1.png');
    background-size: cover; background-attachment: fixed;
    background-position: center;
    color: var(--color-text-dark); 
}
.bg-charcoal { 
    background-image: linear-gradient(rgba(23, 23, 23, 0.95), rgba(23, 23, 23, 0.95)), url('../logo/bg1.png');
    background-size: cover; background-attachment: fixed;
    color: var(--color-text-light); 
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--color-ivory);
    color: var(--color-onyx);
    border: 1px solid var(--color-ivory);
    cursor: pointer;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background-color: var(--color-onyx);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.btn:hover::before { left: 0; }
.btn:hover { color: var(--color-ivory); border-color: var(--color-onyx); }

.btn-dark {
    background-color: var(--color-onyx);
    color: var(--color-ivory);
    border-color: var(--color-onyx);
}
.btn-dark::before { background-color: var(--color-ivory); }
.btn-dark:hover { color: var(--color-onyx); border-color: var(--color-ivory); }

.btn-link {
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: 1px solid currentColor;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}
.btn-link:hover { padding-bottom: 10px; opacity: 0.7; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0; /* Fixed gap */
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    border-bottom: 1px solid var(--color-charcoal);
    transition: top 0.4s ease, background-color 0.4s ease;
}

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }
.nav-logo img { height: 90px; }

/* Preloader */
.preloader {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--color-onyx); z-index: 9999;
    display: flex; justify-content: center; align-items: center;
}
.preloader-content { display: flex; align-items: center; gap: 20px; }
.preloader-icon { width: 50px; height: 50px; animation: spin 2s linear infinite; }
.preloader-logo { height: 30px; opacity: 0; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Hero Split Layout */
.hero-split {
    height: 100vh;
    display: flex;
    padding-top: 118px; /* nav + announcement */
    position: relative;
    overflow: hidden;
}

.hero-text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
    z-index: 10;
}

.hero-text-col p { margin-top: 20px; max-width: 400px; color: var(--color-silver); }
.hero-cta { margin-top: 40px; display: flex; gap: 30px; align-items: center; }

.hero-visual-col {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Shuffle Cards */
.shuffle-container {
    position: relative;
    width: 100%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shuffle-card {
    position: absolute;
    width: 350px;
    height: 500px;
    background-color: var(--color-charcoal);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(249, 249, 249, 0.5);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    pointer-events: none;
}

.shuffle-card.active {
    opacity: 1;
    z-index: 5;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.shuffle-card.prev {
    opacity: 0.6;
    z-index: 4;
    transform: translateX(-150px) scale(0.9);
}

.shuffle-card.next {
    opacity: 0.6;
    z-index: 4;
    transform: translateX(150px) scale(0.9);
}

.shuffle-card img { width: 100%; height: 100%; object-fit: cover; }

/* Sections Global */
.section { padding: 120px 5%; position: relative; }
.section-narrow { max-width: 700px; margin: 0 auto; text-align: center; }

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* Collection Card */
.collection-card { position: relative; overflow: hidden; height: 600px; }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.collection-card:hover img { transform: scale(1.05); }
.collection-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 30px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.collection-overlay h3 { margin-bottom: 10px; }

/* Category Links */
.category-item {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
.category-item:hover { padding-left: 20px; color: var(--color-silver); }
.category-item h3 { font-size: 2rem; }

/* Bestsellers Horizontal Scroll */
.bestsellers-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
}
.bestsellers-scroll::-webkit-scrollbar { display: none; } /* Chrome */
.product-card-min { min-width: 300px; }
.product-card-min img { width: 100%; height: 400px; object-fit: cover; margin-bottom: 15px; }

/* Ecommerce Product Card */
.shop-product-card {
    background-color: var(--color-charcoal);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.shop-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.shop-product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 450px;
}

.shop-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.quick-view-btn {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(242, 239, 234, 0.9);
    color: var(--color-onyx);
    padding: 12px 25px;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0;
    width: 80%;
}

.shop-product-card:hover .quick-view-btn {
    bottom: 20px;
    opacity: 1;
}

.quick-view-btn:hover {
    background-color: var(--color-burgundy);
    color: var(--color-ivory);
}

.shop-product-info {
    padding: 25px;
    text-align: center;
    background-color: var(--color-charcoal);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.shop-product-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.shop-product-info p {
    font-size: 0.95rem;
    color: var(--color-silver);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 60px; /* Below navbar */
    z-index: 100;
}

.filter-left, .filter-right {
    display: flex;
    gap: 30px;
}

.filter-item {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-item:hover {
    color: var(--color-silver);
}

/* Editorial Section */
.editorial-image { width: 100%; height: 70vh; object-fit: cover; margin-bottom: 40px; }

/* Values List */
.value-item { border-top: 1px solid var(--color-charcoal); padding: 30px 0; }
.value-num { font-family: var(--font-heading); color: var(--color-silver); margin-bottom: 10px; display: block;}

/* Newsletter */
.newsletter-form {
    display: flex; max-width: 500px; margin: 40px auto 10px; border-bottom: 1px solid var(--color-silver);
}
.newsletter-form input {
    background: transparent; border: none; color: inherit; padding: 10px; flex: 1; outline: none;
    font-family: var(--font-secondary);
}
.newsletter-form button {
    background: transparent; border: none; color: inherit; padding: 10px; cursor: pointer;
    font-family: var(--font-heading); letter-spacing: 2px;
}

/* Scroll Fade Animation */
.fade-up { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Footer */
.footer { padding: 80px 5% 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-logo { height: 40px; margin-bottom: 20px; filter: invert(1); } /* Ensure contrast */
.bg-onyx .footer-logo, .bg-charcoal .footer-logo, .bg-burgundy .footer-logo { filter: none; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem;
}
