/* ==========================================
   RESET & BASE STYLES - LUXURY EDIT
   ========================================= */

   :root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --accent-color: #111111;
    --subtle-gray: #f4f4f4;
    --border-color: #e5e5e5;
    
    /* REVERTED FONT: Cormorant Garamond */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--text-color);
}

img {
    max-width: 100%;
    display: block;
}

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

/* ==========================================
   NAVIGATION - MINIMAL
   ========================================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.5rem 3rem; 
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Typography for Links */
.nav-left a, .nav-right a {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    margin: 0 1.5rem;
}

.nav-left a:hover, .nav-right a:hover {
    opacity: 0.5;
}

/* Updated Logo Image Styling */
.nav-logo-img {
    height: 100px; 
    width: auto;
    object-fit: contain;
    display: block;
}

/* Mobile Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 1px;
    background: black;
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    z-index: 900;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin: 1rem 0;
    color: black;
}

/* ==========================================
   HERO SECTION - EDITORIAL
   ========================================= */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

/* Darker overlay for luxury contrast */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white; 
}

/* FORCE WHITE TEXT FOR HERO */
.hero-content h1, 
.hero-content p,
.hero-title {
    color: #ffffff !important;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1rem;
    font-weight: 400; 
    letter-spacing: -1px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: var(--font-serif); 
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    font-style: italic; 
    font-weight: 300;
}

.btn-luxury {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid white;
    color: white;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-luxury:hover {
    background: white;
    color: black;
}

/* ==========================================
   SECTIONS & TYPOGRAPHY
   ========================================= */

section {
    padding: 8rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 300; /* Lighter weight for Cormorant */
    line-height: 1.1;
}

.section-title.center {
    text-align: center;
}

.eyebrow {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 1rem;
}

/* ==========================================
   ABOUT
   ========================================= */

.editorial-layout {
    display: flex;
    justify-content: center;
    text-align: center;
}

.editorial-text {
    max-width: 700px;
}

.editorial-text p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 1.5rem;
}

.signature-img {
    height: 60px;
    margin: 2rem auto 0;
    opacity: 0.8;
}

/* ==========================================
   COLLECTIONS - GRID
   ========================================= */

.collections {
    background: var(--subtle-gray);
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 4rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background: transparent;
    transition: transform 0.4s ease;
}

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

.image-wrapper {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #e5e5e5;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-info h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.price {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 1rem;
}

.variant-list {
    list-style: none;
    border-top: 1px solid #ddd;
    padding-top: 0.5rem;
}

.variant-list li {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.25rem;
}

/* ==========================================
   GALLERY - SLIDER (MOBILE OPTIMIZED)
   ========================================= */

.gallery-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.gallery-container {
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}
.gallery-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome */
}

.gallery-grid {
    display: flex;
    gap: 20px;
}

.gallery-item {
    min-width: 300px;
    aspect-ratio: 4 / 5; /* Maintains square-ish portrait shape */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%); 
    transition: filter 0.3s;
}

.gallery-item:hover img {
    filter: grayscale(0%);
}

.carousel-arrow {
    background: none;
    border: 1px solid #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background: black;
    color: white;
}

/* ==========================================
   CONTACT
   ========================================= */

.contact {
    position: relative;
    background: #fcfcfc;
    text-align: center;
    padding: 6rem 1rem;
}

#p5-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3; 
    pointer-events: none;
}

.contact-card {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.9);
    padding: 3rem;
    display: inline-block;
    border: 1px solid #eee;
}

.contact-details {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact-phone, .contact-email {
    margin-bottom: 0.5rem;
}

.social-link {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid black;
    padding-bottom: 2px;
}

.hours p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

/* Special Service Note Styling */
.service-note {
    margin-top: 2rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: #000;
    text-transform: none !important; 
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    letter-spacing: 0;
}

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

.footer {
    background: #111;
    color: #999; 
    text-align: center;
    padding: 2rem;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300; 
}

/* ==========================================
   MEDIA QUERIES
   ========================================= */

@media (max-width: 1024px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .desktop-only {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.5rem;
    }

    /* Added for better mobile gallery experience */
    .gallery-item {
        min-width: 260px; 
    }
}
/* ==========================================
   MEDIA QUERIES (Mobile Optimization)
   ========================================= */

   @media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .desktop-only {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.5rem;
    }

    /* --- GALLERY FIXES FOR MOBILE --- */
    
    /* 1. Make Arrows Tiny */
    .carousel-arrow {
        width: 28px;
        height: 28px;
        font-size: 0.8rem; /* Smaller arrow icon */
        border-width: 1px;
        flex-shrink: 0; /* Prevents arrow from getting squashed */
    }

    /* 2. Tighten the layout gap */
    .gallery-carousel-wrapper {
        gap: 0.5rem; /* Reduce gap from 2rem to 0.5rem */
    }

    /* 3. Force Square Shape & Calculate Width */
    .gallery-item {
        /* Width = Screen width - Arrow sizes - Padding */
        min-width: calc(100vw - 110px); 
        aspect-ratio: 1 / 1; /* Force perfect square */
    }
}