/* About Us Page Styles */
:root {
    --c11: #1a0a14;
    --rose-gold: #b76e79;
    --dusty-pink: #d4a5a5;
    --font-sans: "Cormorant Garamond", serif;
    --font-mono: "Montserrat", sans-serif;
    --font-outfit: "Outfit", sans-serif;

    /* Trail Colors */
    --color-pink-1: #4A3B3C;
    --color-pink-2: #5D4D4E;
    --color-pink-3: #705F60;
    --color-pink-4: #837172;
    --color-pink-5: #968384;
    --color-pink-6: #A99596;
    --color-pink-7: #BCA7A8;
    --color-pink-8: #CDB9BA;
    --color-pink-9: #DECBCC;
    --color-pink-10: #EEDDDE;
    --color-pink-11: #F8E9EA;
    --color-pink-12: #DAC1C2;
    --color-pink-13: #C4A7A8;
    --color-pink-14: #AF8E8F;
    --color-pink-15: #997677;
}

body.about-page {
    background-color: #F9F5F6;
    color: var(--c11);
    transition: background-color 1s ease;
}

/* --- TRAIL HERO SECTION (Scoped Variables) --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    /* White BG as requested */
    overflow: hidden;
    z-index: 10;
}

.text-columns {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    width: 100%;
    padding: 0 2rem;
    pointer-events: none;
}

.text-column {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.text-item {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
    opacity: 1;
    /* Was 0 */
    transform: translateY(0);
    /* Was translateY(20px) */
    /* filter: blur(10px); Remove blur default, let JS handle or set to 0 */
    filter: blur(0px);
}

/* Assign colors to text items - Grayscale/Dusty Pink Gradient */
/* Removing specific colors to use a gradient logic or set base color */
.text-item {
    color: #333;
    /* Fallback */
    background: linear-gradient(180deg, #1a0a14 0%, #b76e79 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.5;
    /* Base opacity */
    transition: all 0.5s ease;
}

.text-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.rotated-text {
    position: absolute;
    right: 50px;
    top: 0;
    height: 100vh;
    z-index: 6;
    /* Lower than title */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    pointer-events: auto;
    /* Allow hover if needed */
}

.rotated-item {
    color: var(--color-pink-7);
    font-size: 20px;
    font-weight: 700;
    transform: rotate(90deg);
    white-space: nowrap;
    opacity: 1;
    /* Was 0 */
    filter: blur(0px);
    /* Was 10px */
    font-family: var(--font-sans);
}

.hero-title {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
    display: flex;
    justify-content: center;
    gap: -0.03em;
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    overflow: visible;
    /* mix-blend-mode: difference; REMOVED per user request */
    /* z-index: 20; REMOVED so children can interleave with trail-img (10) */
    pointer-events: none;
}

.m-title {
    top: 15%;
    font-size: clamp(10rem, 28vw, 36rem);
}

.l-title {
    top: 42%;
    font-size: clamp(10rem, 28vw, 36rem);
}

.char {
    position: relative;
    display: inline-block;
    overflow: visible;
    color: var(--c11);
    /* Standard color */
    /* Removed metallic gradient animation per 'remove mix-blend-mode' context, making it solid or standard gradient */
    background: none;
    -webkit-text-fill-color: var(--c11);
    /* z-index controlled by front/back classes */
}

/* Sandwich Z-Index Logic */
/* Mina: M(20), İ(20), N(20), A(20) */
/* Lidya: L(20), İ(20), D(20), Y(20), A(20) */

/* User Request:
   "Mina kelimesinde traile images M ve N harflerinin altinda" -> M, N > Images
   "Lidya kelimesinde L D A kelimelerin altinda kalacakti" -> L, D, A > Images

   If Trail is Z=15
   M, N, L, D, A should be > 15 (e.g., 20) in 'front' class
   Others (İ, A?, İ, Y) should be < 15? Or just behind trail?
   "harfler arasinda olacak" -> Between letters.

   Let's map:
   M (front): z-index 20
   İ (back): z-index 5
   N (front): z-index 20
   A (back): z-index 5

   L (front): z-index 20
   İ (back): z-index 5
   D (front): z-index 20
   Y (back): z-index 5
   A (front): z-index 20
*/

.char.front {
    z-index: 12;
}

.char.back {
    z-index: 8;
    opacity: 0.9;
}

.trail-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 280px;
    height: 380px;
    object-fit: cover;
    pointer-events: none;
    will-change: transform;
    z-index: 10;
    /* Sandwiched between Front (12) and Back (8) */
    opacity: 0;
    border-radius: 4px;
}

.cursor-hint {
    position: absolute;
    bottom: 30px;
    text-align: center;
    color: #000;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.6;
    z-index: 20;
    width: 100%;
    pointer-events: none;
}

/* --- ARCH REVEAL SECTION --- */
.arch-section-wrapper {
    position: relative;
    width: 100%;
    background: transparent;
    /* Body bg handles this */
}

.container {
    max-width: 1440px;
    padding: 2rem;
    margin: 0 auto;
}

.spacer {
    width: 100%;
    height: 20vh;
}

.arch {
    display: flex;
    gap: 60px;
    justify-content: space-between;
    max-width: 1200px;
    margin-inline: auto;
    padding-bottom: 20vh;
    /* Extra space at bottom */
}

.arch__left {
    display: flex;
    flex-direction: column;
    min-width: 300px;
}

.arch__info {
    max-width: 400px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.arch__info h2.header {
    font-family: var(--font-sans);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 0px;
    text-transform: uppercase;
    color: var(--c11);
    margin-bottom: 20px;
}

.arch__info p.desc {
    color: var(--black-soft);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    letter-spacing: 0px;
    margin-block: 6px 28px;
    line-height: 1.6;
    font-weight: 400;
    text-align: justify;
}

/* Standard Button Style (Matching Home Bestseller) */
.arch__info a.link {
    text-decoration: none;
    padding: 15px 40px;
    border: 1px solid #000;
    color: #000;
    background: transparent;
    border-radius: 0px;
    /* Square/Sharp as per Bestseller usually, or 2px */
    display: inline-flex;
    /* Fix alignment */
    align-items: center;
    gap: 10px;
    width: fit-content;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.arch__info a.link:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.arch__right {
    flex-shrink: 1;
    height: 100vh;
    width: 100%;
    max-width: 540px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.img-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 600px;
    width: 100%;
    border-radius: 4px;
    /* Less rounded for premium feel */
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 
    2. HORIZONTAL PARALLAX GALLERY 
    (Replaces Arch Section) 
*/
.mpl-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #e0e0e0;
    /* Slightly darker for difference contrast */
}

.gallery-wrapper {
    display: flex;
    height: 100%;
    width: max-content;
    align-items: center;
    padding: 0 5vw;
    /* Reduced */
    will-change: transform;
}

.gallery-item {
    position: relative;
    margin: 0 1vw;
    /* Reduced Gap */
    flex-shrink: 0;
    perspective: 1000px;
}

/* Gallery Items Sizes as requested: 300px, 200px, 100px */
/* Big: Slowest (0.2) -> 300px */
.item-big {
    height: 60vh;
    /* Keep responsive but smaller? User said 300px... let's try 400px nominal */
    width: 30vw;
    z-index: 1;
}

/* Normal: Medium Speed -> 200px */
.item-normal {
    height: 40vh;
    width: 25vw;
    z-index: 2;
}

/* Small: Fastest (2.5) -> 100px */
.item-small {
    height: 20vh;
    /* Approx 200px on 1080p, maybe smaller? */
    width: 15vw;
    z-index: 3;
}

/* Override with specific classes to match requested 300/200/100 logic roughly if strict px requested */
.item-big {
    height: 450px;
    width: 320px;
}

.item-normal {
    height: 300px;
    width: 220px;
}

.item-small {
    height: 180px;
    width: 140px;
}

/* Image Wrapper */
.gallery-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    clip-path: inset(0 50% 0 50%);
    /* Initial state for reveal */
    border-radius: 2px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    /* Expand Reveal Initial State: Handled by JS GSAP usually, but CSS fallback: */
    /* clip-path: inset(0 100% 0 0); */
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.5;
    /* REQUESTED OPACITY */
    transition: filter 0.8s ease, opacity 0.8s ease;
    cursor: pointer;
}

.gallery-img.is-colored,
.gallery-img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Texture Overlay */
.gallery-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://cdnjs.cloudflare.com/ajax/libs/filter.css/1.0.0/noise.png');
    opacity: 0.1;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Sizes */
.item-big {
    width: 40vh;
    height: 65vh;
}

.item-big.is-h {
    width: 65vh;
    height: 40vh;
}

.item-normal {
    width: 30vh;
    height: 45vh;
}

.item-normal.is-h {
    width: 45vh;
    height: 30vh;
}

.item-small {
    width: 22vh;
    height: 32vh;
}

.item-small.is-h {
    width: 32vh;
    height: 22vh;
}

/* Layers */
.layer-back {
    z-index: 1;
    transform: scale(0.9);
    margin-bottom: 15vh;
    opacity: 0.9;
}

.layer-mid {
    z-index: 2;
    margin-top: 5vh;
}

.layer-front {
    z-index: 3;
    transform: scale(1.1);
    margin-top: 20vh;
}

/* Parallax Text */
.parallax-text {
    position: absolute;
    font-family: 'Cormorant Garamond', serif;
    /* Or user's huge font */
    font-weight: 700;
    line-height: 0.8;
    color: #fff;
    /* White + Difference = Black on White BG */
    mix-blend-mode: difference;
    white-space: nowrap;
    will-change: transform;
    pointer-events: auto;
    /* Allow selection? PHP said auto */
    text-transform: uppercase;
    z-index: 999 !important;
    /* Force ON TOP */
}

/* Specific styling to match the "Giant" look in VH as requested */
/* "30vh 20vh 25 vh gibi textler bekliyordum" */
.text-giant {
    font-size: 35vh !important;
    /* Largest */
    letter-spacing: -2vh;
    opacity: 0.9;
}

.text-large {
    font-size: 25vh !important;
    letter-spacing: -1vh;
}

.text-medium {
    font-size: 20vh !important;
}

.parallax-text.huge {
    font-size: 35vh !important;
}

/* Fallback mapping */

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .arch {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .text-columns {
        display: grid;
        /* Restore Grid */
        grid-template-columns: repeat(3, 1fr);
        /* 3 Columns as requested */
        padding: 0 1rem;
        gap: 10px;
        opacity: 0.5;
        width: 100%;
    }

    .text-column {
        grid-column: span 1;
        gap: 8px;
    }

    .text-item {
        font-size: 8px;
        /* Scaled down */
    }

    .rotated-text {
        right: 15px;
        /* Keep visible but smaller */
        transform: scale(0.6);
        transform-origin: right center;
    }

    /* Scaled aspect ratio for mobile as requested */
    .m-title,
    .l-title {
        width: 100vw;
        font-size: clamp(4rem, 20vw, 10rem);
        gap: 0.05rem;
        letter-spacing: -0.05em;
    }

    .m-title {
        top: 25%;
    }

    .l-title {
        top: 48%;
    }

    .trail-img {
        width: 140px;
        height: 190px;
    }

    .arch {
        display: flex;
        flex-direction: row;
        /* Keep Row */
        gap: 20px;
        padding-bottom: 10vh;
        align-items: flex-start;
    }

    .arch__left {
        width: 45%;
        min-width: 0;
    }

    .arch__right {
        width: 50%;
        height: 80vh;
        /* Scaled pin area */
        position: relative;
    }

    .arch__info h2.header {
        font-size: 20px;
        /* Scaled */
    }

    .arch__info p.desc {
        font-size: 0.8rem;
        /* Scaled */
        line-height: 1.4;
    }

    .arch__info a.link {
        padding: 10px 20px;
        font-size: 0.6rem;
    }

    .img-wrapper {
        height: 60vh;
        /* Fixed height for pinning */
        position: absolute !important;
        top: 50%;
        transform: translateY(-50%);
    }
}