/* RESET & VARIABLES */
:root {
    --bg-color: #Fdfcf8; /* Very warm off-white, almost cream */
    --text-color: #2b2b2b; /* Soft charcoal */
    --accent-color: #d4af37; /* Muted Gold */
    --secondary-text: #666;
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    overflow-x: hidden;
    cursor: none; /* Hide default cursor */
}

/* CUSTOM CURSOR */
.cursor {
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent-color); /* Changed to Gold for visibility */
    background-color: rgba(212, 175, 55, 0.2); /* Semi-transparent gold */
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 999999; /* Higher than menu */
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, transform 0.1s;
    /* Removed mix-blend-mode to avoid disappearing on dark backgrounds */
}

.cursor.active {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-color);
}

/* PRELOADER */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
}

.preloader__text {
    font-family: var(--font-serif);
    font-size: 2rem;
    letter-spacing: 0.5em;
    animation: pulse 2s infinite;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* TYPOGRAPHY */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.section {
    padding: 8rem 0;
}

/* NAVIGATION - FASHION MINIMALIST */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 3rem;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    background: transparent; /* Transparent by default */
    transition: background 0.4s ease, padding 0.4s ease; /* Smooth transition */
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.8); /* Dark background on scroll */
    padding: 1rem 3rem; /* Shrink padding on scroll */
    backdrop-filter: blur(10px); /* Glassmorphism */
}

.nav__logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    font-weight: 400; /* Thinner font */
    text-transform: uppercase;
}

.nav__menu-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav__lines {
    width: 30px;
    height: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav__line {
    width: 100%;
    height: 1px;
    background-color: #fff;
    transition: var(--transition);
}

.nav__menu-btn:hover .nav__line:first-child {
    transform: translateX(-5px);
}
.nav__menu-btn:hover .nav__line:last-child {
    transform: translateX(5px);
}

/* MENU OVERLAY */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--text-color); /* Solid dark background */
    z-index: 99999; /* Ensure it's on top of everything */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-list {
    list-style: none;
    text-align: center;
}

.menu-item {
    margin: 2rem 0;
    overflow: hidden;
}

.menu-link {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--bg-color);
    display: block;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.menu-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 2rem;
    color: var(--bg-color);
    cursor: pointer;
}

/* SLIDER CUSTOMIZATION */
.swiper-pagination-bullet {
    background-color: transparent !important;
    border: 1px solid #fff;
    width: 10px;
    height: 10px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: #fff !important;
    opacity: 1;
    transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
    z-index: 10 !important; /* Ensure arrows are above content */
    cursor: pointer;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem !important;
    font-weight: 300;
}

.swiper-button-next:hover {
    transform: translateX(5px);
}

.swiper-button-prev:hover {
    transform: translateX(-5px);
}

.hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 5; /* Lower than arrows (10) but higher than bg (0) */
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    padding: 0 1rem;
    width: 100%;
    pointer-events: none; /* Allow clicks to pass through to arrows if overlapping */
}

/* REMOVE DUPLICATE HERO CONTENT STYLES */
/* We defined .hero__content inside SLIDER CUSTOMIZATION above to override z-index */
/* Removing old conflicting block below */

/* HERO SECTION */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    /* display: flex; REMOVED FLEX HERE, handled by swiper */
    /* justify-content: center; */
    /* align-items: center; */
    /* Dark overlay for text readability */
    background-color: #000;
}

.hero-swiper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.swiper-slide {
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Changed from 120% to 100% for slider stability */
    z-index: 0;
}

.hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3); /* Global image darkening */
    z-index: 1;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* opacity: 0.9; Removed opacity, handled by overlay */
}

.hero__title {
    font-size: 5vw;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;
}

.hero__subtitle {
    margin-top: 2rem;
    font-size: 1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 2s forwards 1s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero__scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    opacity: 0.7;
}

.hero__scroll-line {
    width: 1px;
    height: 50px;
    background-color: #fff;
    animation: scrollLine 2s infinite;
}

/* PHILOSOPHY SECTION */
.philosophy {
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* CRAFTSMANSHIP SECTION */
.craftsmanship {
    background-color: #f8f8f8;
    padding: 8rem 0; /* More padding */
}

.craftsmanship__container {
    display: grid;
    grid-template-columns: 40% 55%; /* Better proportion */
    gap: 5%;
    align-items: center;
}

.craftsmanship__title {
    text-align: left;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    padding-left: 20px;
}

.craftsmanship__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--accent-color);
}

.craftsmanship__text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-color);
    text-align: justify; /* Justify text for clean look */
}

.craftsmanship__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: flex-start; /* Align images to top */
}

.craftsmanship__img-box {
    position: relative;
    overflow: hidden;
    height: 350px; /* Taller images */
    border-radius: 4px; /* Slight radius */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* Shadow for depth */
}

.craftsmanship__img-box--large {
    grid-column: span 2;
    height: 450px;
    margin-top: 1.5rem; /* Space between rows */
}

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

.craftsmanship__img-box:hover .craftsmanship__img {
    transform: scale(1.05);
}

.craftsmanship__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.craftsmanship__img-box:hover .craftsmanship__caption {
    transform: translateY(0);
}

@media screen and (max-width: 768px) {
    .craftsmanship__container {
        grid-template-columns: 1fr;
    }
    
    .craftsmanship__gallery {
        grid-template-columns: 1fr;
    }
    
    .craftsmanship__img-box--large {
        grid-column: span 1;
    }
}

.philosophy__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy__text {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.philosophy__text--highlight {
    font-style: italic;
    color: var(--accent-color);
}

.philosophy__img-box {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.philosophy__img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    transition: transform 1.5s ease;
}

.philosophy__img-box:hover img {
    transform: scale(1);
}

/* COLLECTIONS GALLERY */
.collections {
    background-color: #f4f2ee; /* Slightly darker cream */
}

/* TYPOGRAPHY REFINEMENTS - FASHION STYLE */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 300; /* Lighter weight for elegance */
    letter-spacing: 0.05em; /* Slight spacing */
    text-transform: uppercase; /* Fashion standard */
}

.section__title {
    font-size: 4rem; /* Bigger */
    text-align: center;
    margin-bottom: 5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

/* FASHION GALLERY LAYOUT - ASYMMETRIC / EDITORIAL */
.gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* 12-column grid for flexibility */
    gap: 2rem;
    align-items: start;
}

.gallery__item {
    position: relative;
    cursor: pointer;
    grid-column: span 6; /* Default half width */
}

/* Specific item sizing for asymmetry */
.gallery__item:nth-child(1) {
    grid-column: span 8; /* Large item */
}
.gallery__item:nth-child(2) {
    grid-column: span 4; /* Small item next to it */
    margin-top: 4rem; /* Offset for editorial look */
}
.gallery__item:nth-child(3) {
    grid-column: span 4;
}
.gallery__item:nth-child(4) {
    grid-column: span 8;
    margin-top: -3rem; /* Overlap or offset */
}
.gallery__item:nth-child(5) {
    grid-column: span 6;
}
.gallery__item:nth-child(6) {
    grid-column: span 6;
    margin-top: 5rem;
}


.gallery__img-wrapper {
    width: 100%;
    height: 700px; /* Taller fashion images */
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
}

.gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); /* Slower, smoother transition */
}

.gallery__item:hover .gallery__img {
    transform: scale(1.1); /* Subtle zoom */
}

.gallery__info {
    margin-top: 1.5rem;
    text-align: left; /* Editorial alignment */
    padding-left: 0.5rem;
}

.gallery__title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.gallery__desc {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--secondary-text);
    opacity: 0.7;
}

/* MOBILE OPTIMIZATION - FASHION STYLE */
@media screen and (max-width: 768px) {
    .gallery {
        display: flex;
        flex-direction: column;
        gap: 4rem; /* More space between items */
    }

    .gallery__item {
        width: 100%;
        margin-top: 0 !important; /* Reset offsets */
    }

    .gallery__img-wrapper {
        height: 550px; /* Full screen height feel */
    }

    .section__title {
        font-size: 2.5rem; /* Smaller on mobile but still prominent */
        margin-bottom: 3rem;
        text-align: left; /* Align left on mobile often looks better */
        padding-left: 1rem;
    }
    
    .gallery__info {
        text-align: left;
        padding-left: 0;
    }
    
    .gallery__title {
        font-size: 1.8rem;
    }
}

/* FOOTER */
.footer {
    background-color: var(--text-color);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.footer__logo {
    font-size: 2.5rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.footer__tagline {
    font-family: var(--font-serif);
    font-style: italic;
    opacity: 0.7;
    margin-bottom: 3rem;
}

.footer__social {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.social-link {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s;
}

.social-link:hover::after {
    width: 100%;
}

.footer__contact p {
    margin: 0.5rem 0;
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer__bottom {
    margin-top: 4rem;
    font-size: 0.7rem;
    opacity: 0.3;
    letter-spacing: 0.1em;
}

/* ANIMATIONS */
@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox__content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    z-index: 10001;
}

.lightbox__img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox__close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.lightbox__close:hover {
    transform: rotate(90deg);
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
    .hero__title {
        font-size: 15vw; /* Larger on mobile for impact */
    }

    .hero__content {
        width: 90%;
    }
    
    .philosophy__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .philosophy__text {
        font-size: 1.8rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery__item--large {
        grid-column: span 1;
    }
    
    .gallery__img-wrapper {
        height: 400px;
    }
    
    .gallery__item--large .gallery__img-wrapper {
        height: 500px;
    }
    
    .nav {
        padding: 1.5rem;
        background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); /* Darker gradient on mobile */
    }
    
    .menu-link {
        font-size: 2.5rem;
    }
}
