/* Haute Couture Page Redesign */

:root {
    --desktop-width: 1792;
    --tablet-width: 1200;
    --phone-width: 850;
    --color-dark-brown: #1a1a1a;
    /* Adjusted to match Mina Lidya dark theme */
    --color-gold: #D4AF37;
    --color-text-light: #f5f5f5;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

/* Base resets & fonts handled by style.css, but enforcing specific page styles */
#smooth-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    background-color: #f7f7f7;
}

#smooth-content {
    overflow: visible;
    width: 100%;
}

.haute-container {
    max-width: 1600px;
    margin-inline: auto;
    width: 100%;
}

/* ========== HERO SECTION (Video 1) ========== */
/* Starts framed, grows to full */
.haute-hero {
    position: relative;
    z-index: 4;
    display: grid;
    place-items: center;
    padding: 10%;
    height: 100vh;
    overflow: hidden;
    background-color: #fff;
    /* Start white */
}

.haute-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    /* Initial scale */
    z-index: 1;
}

.haute-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.haute-hero__content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    mix-blend-mode: difference;
}

.haute-hero__content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 9vw, 9rem);
    letter-spacing: -0.02em;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 2rem;
    white-space: nowrap;
    /* Prevent wrapping on mobile */
    width: 100%;
}

.haute-hero__content p {
    font-family: var(--font-sans);
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    max-width: 40ch;
    margin: 0 auto;
}

/* Borders for frame effect */
.haute-hero .bg {
    background-color: #fff;
    /* Matches page bg */
    position: absolute;
    z-index: 5;
}

.bg--x {
    height: 100%;
    width: 10%;
}

/* Wider initial frame */
.bg--y {
    height: 10%;
    width: 100%;
}

.bg--1 {
    top: 0;
    left: 0;
    transform-origin: center top;
}

.bg--2 {
    top: 0;
    right: 0;
    transform-origin: center right;
}

.bg--3 {
    bottom: 0;
    left: 0;
    transform-origin: center bottom;
}

.bg--4 {
    top: 0;
    left: 0;
    transform-origin: center left;
}


/* ========== TEXT REVEAL SECTION ========== */
.text-reveal-section {
    padding: 15vh 6.4rem;
    background-color: var(--color-dark-brown);
    color: var(--color-text-light);
    overflow: hidden;
}

.text-reveal-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    row-gap: 2rem;
}

.text-reveal-line {
    font-size: clamp(3rem, 10vw, 12rem);
    line-height: 0.9;
    overflow: hidden;
    font-family: var(--font-sans);
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.text-reveal-line.serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
}

.text-reveal-line span {
    display: inline-block;
    transform: translateY(110%);
    will-change: transform;
}

/* Layout Positions */
.tr-line-1 {
    grid-column: 1 / -1;
}

.tr-line-2 {
    grid-column: 3 / -1;
    justify-self: end;
    text-align: right;
}

.tr-line-3 {
    grid-column: 2 / -1;
}

.tr-line-4 {
    grid-column: 4 / -1;
    justify-self: end;
}


/* ========== SECOND VIDEO SECTION (Natural/Haute 2) ========== */
/* Starts full width, shrinks to editorial frame */
.video-break {
    position: relative;
    height: 120vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a;
}

.video-break__container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Will animate width/height/margin via GSAP */
}

.video-break__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Second Video Text (Editorial) */
.video-break__text {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 10;
    color: #fff;
    mix-blend-mode: difference;
    text-align: right;
    pointer-events: none;
    opacity: 0;
    /* Hidden initially, revealed by GSAP */
}

.vb-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    overflow: hidden;
    font-style: italic;
}

.vb-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    letter-spacing: 0.3em;
    margin-top: 1rem;
    text-transform: uppercase;
}


/* ========== TEXT EFFECT SECTION (Elegant Distortion Reveal) ========== */
.slogan-section {
    padding: 25vh 0;
    font-family: var(--font-serif);
    background-color: #f7f7f7;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    /* For 3D text effects */
}

.slogan-content {
    width: 90%;
    margin: 0 auto;
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 6rem);
    line-height: 1.2;
    color: #111;
    text-align: center;
    position: relative;
    z-index: 2;
}

.slogan-effect {
    position: relative;
    display: inline-block;
    margin: 0.5rem 0;
}

/* Wrapper for text to control reveal */
.slogan-text-wrapper {
    position: relative;
    display: inline-block;
    /* Removed overflow: hidden to prevent clipping of italics */
    padding: 0 10px;
    /* Extra space for swashes */
}

/* Helper for GSAP to target */
.slogan-text-wrapper p {
    margin: 0;
    transform-origin: center center;
    will-change: transform, opacity, filter;
}

.distorted-text {
    filter: blur(8px);
    transform: scale(1.1) skewX(20deg);
    transition: all 0.1s ease;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Particle Container */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    /* Above text? or below? "Fairy tail like shiny particles birakarak acilsin" -> leaving particles as it opens */
}

.particle {
    position: absolute;
    background: radial-gradient(circle, #D4AF37 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}


/* ========== LOCATIONS ========== */
.locations {
    background-color: #eceae7;
    min-height: 150vh;
    /* space for pin */
    position: relative;
    overflow: hidden;
}

.locations__header {
    padding: 4rem 5%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.locations__heading {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #555;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
}

.locations-pin-wrapper {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.locations__titles {
    position: relative;
    height: 15vh;
    /* Fixed height for text swap */
    width: 100%;
    overflow: hidden;
    text-align: center;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-item {
    position: absolute;
    font-family: var(--font-serif);
    font-size: clamp(4rem, 12vw, 15rem);
    line-height: 1;
    color: #111;
    white-space: nowrap;
    transform: translateY(100%);
    opacity: 0;
}

/* Image Grid for Locations */
.locations__images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.loc-image-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.loc-img {
    position: absolute;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Random placements for Editorial Feel */
/* Group 1: Inegol */
.g1-1 {
    top: 20%;
    left: 10%;
    width: 25vw;
    height: 35vw;
}

.g1-2 {
    top: 40%;
    right: 15%;
    width: 30vw;
    height: 20vw;
}

.g1-3 {
    bottom: 10%;
    left: 30%;
    width: 20vw;
    height: 25vw;
}

/* Group 2: Alcoy */
.g2-1 {
    top: 15%;
    right: 10%;
    width: 25vw;
    height: 35vw;
}

.g2-2 {
    top: 50%;
    left: 10%;
    width: 35vw;
    height: 25vw;
}

.g2-3 {
    bottom: 15%;
    right: 25%;
    width: 20vw;
    height: 20vw;
}

/* Group 3: Worldwide */
.g3-1 {
    top: 25%;
    left: 15%;
    width: 20vw;
    height: 20vw;
}

.g3-2 {
    top: 20%;
    right: 20%;
    width: 20vw;
    height: 30vw;
}

.g3-3 {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 40vw;
    height: 25vw;
}


/* ========== SEO CONTENT ========== */
.seo-section {
    padding: 10vh 10%;
    background-color: #fff;
    font-family: var(--font-serif);
    line-height: 1.6;
    color: #333;
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-align: justify;
}

.seo-content h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
    font-style: italic;
    font-family: var(--font-serif);
}

.seo-content p {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}


/* ========== RICH FOOTER (From Online Couture) ========== */
.md-rich-footer {
    background: #0f0f0f;
    color: #f5f5f5;
    padding: 80px 0 40px;
    position: relative;
    /* Removed margin-top to let it sit naturally */
}

.md-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.md-footer-col h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #D4AF37;
    /* Gold/Rose Gold */
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}

.md-footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.md-footer-link:hover {
    color: #fff;
    transform: translateX(5px);
}

.md-footer-address {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.md-footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
}