@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700&family=Parisienne&display=swap');

/* ==========================================================
   MASK OPTICA — Genel İçerik Sayfası
   Token sistemi (slider.css ile aynı ailenin devamı):
     --ink-900 / 800 / 700   : lacivert zemin katmanları
     --brass-500 / 400       : sıcak pirinç vurgu rengi
     --paper-100              : açık nötr (metin)
     --sky-300                 : slider ile ortak yumuşak mavi
   Tipografi:
     Başlık  : 'Fraunces'  (karakterli, optik boyutlu serif)
     Gövde   : 'Manrope'   (temiz, geometrik sans)
     Vurgu   : 'Parisienne' (slider ile ortak el yazısı)
   İmza öğesi: iki halkalı "mercek" motifi — bölüm ayracı ve
   dekoratif arka plan olarak, gözlükçü kimliğini yansıtır.
   Hareket: sayfa açılışında değil, aşağı kaydırdıkça (scroll)
   IntersectionObserver ile tetiklenen kademeli belirme.
   ========================================================== */

.genel-icerik {
    --ink-900: #06111f;
    --ink-800: #0d1f38;
    --ink-700: #172c4d;
    --brass-500: #c6a15b;
    --brass-400: #d9bd80;
    --paper-100: #f5f7fa;
    --sky-300: #b8d4f5;

    background: var(--ink-900);
    color: var(--paper-100);
    overflow: hidden;
}

.genel-icerik * {
    box-sizing: border-box;
}

.gi-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

.gi-section {
    padding: 110px 0;
    position: relative;
}

.gi-section + .gi-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    margin-top: -30px;
    background: linear-gradient(180deg, transparent, rgba(198, 161, 91, 0.5), transparent);
}

/* ---------- Ortak tipografi ---------- */

.gi-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brass-400);
    margin-bottom: 22px;
}

.gi-eyebrow-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.gi-mark {
    color: var(--brass-500);
    width: 34px;
    height: 13px;
    display: inline-flex;
}

.gi-mark svg {
    width: 100%;
    height: 100%;
}

.gi-heading {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 24px;
}

.gi-heading-center {
    text-align: center;
}

.gi-script {
    font-family: 'Parisienne', cursive;
    font-weight: 400;
    font-size: 1.05em;
    color: var(--sky-300);
    letter-spacing: 0.5px;
}

.gi-lead {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--paper-100);
    line-height: 1.7;
    margin: 0 0 16px;
    max-width: 46ch;
}

.gi-lead-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.gi-body {
    font-family: 'Manrope', sans-serif;
    font-size: 0.98rem;
    font-weight: 400;
    color: rgba(245, 247, 250, 0.72);
    line-height: 1.75;
    margin: 0 0 30px;
    max-width: 48ch;
}

.gi-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: var(--ink-800);
    padding: 15px 38px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.gi-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 32px rgba(0,0,0,0.4);
}

/* ---------- HAKKIMIZDA ---------- */

.gi-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.gi-stats {
    display: flex;
    gap: 40px;
    margin-top: 12px;
}

.gi-stat {
    display: flex;
    flex-direction: column;
}

.gi-stat-num {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 2.1rem;
    color: var(--brass-400);
    line-height: 1;
}

.gi-stat-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    color: rgba(245, 247, 250, 0.6);
    margin-top: 8px;
    letter-spacing: 0.3px;
}

.gi-about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.gi-lens-art {
    width: 100%;
    max-width: 420px;
    color: var(--brass-500);
}

.gi-float-card {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(160deg, rgba(23, 44, 77, 0.75) 0%, rgba(13, 31, 56, 0.65) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 18px 26px;
    text-align: center;
    box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}

.gi-float-num {
    display: block;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #fff;
}

.gi-float-label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 0.72rem;
    color: rgba(245, 247, 250, 0.7);
    margin-top: 4px;
    letter-spacing: 0.4px;
}

/* ---------- MARKALAR ---------- */

.gi-brands {
    position: relative;
    background-color: var(--ink-800);
    background-image: url('../uploads/markalar/markalar.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Not: hafif derinlik için sabit konum, ama parallax hissi abartılmasın diye
       yalnızca geniş ekranlarda; mobilde normal kaydırmaya bırakılıyor. */
}

.gi-brands::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 17, 31, 0.82) 0%, rgba(6, 17, 31, 0.68) 45%, rgba(6, 17, 31, 0.85) 100%);
    z-index: 0;
}

.gi-brands > .gi-container {
    position: relative;
    z-index: 1;
}

.gi-brand-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    overflow: hidden;
}

.gi-brand-card {
    background: rgba(13, 31, 56, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 34px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background 0.35s ease;
}

.gi-brand-card span {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.4px;
    color: rgba(245, 247, 250, 0.75);
    transition: color 0.35s ease;
    position: relative;
    padding-bottom: 10px;
}

.gi-brand-card span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--brass-500);
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

.gi-brand-card:hover {
    background: rgba(23, 44, 77, 0.62);
}

.gi-brand-card:hover span {
    color: #fff;
}

.gi-brand-card:hover span::after {
    width: 60%;
}

/* ---------- MAĞAZA DENEYİMİ ---------- */

.gi-journey-row {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.gi-journey-row::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(198, 161, 91, 0.45), transparent);
}

.gi-journey-step {
    position: relative;
    text-align: center;
    padding: 0 12px;
}

.gi-journey-num {
    display: inline-block;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--ink-900);
    background: var(--brass-400);
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 50%;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.gi-journey-step h3 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #fff;
    margin: 0 0 12px;
}

.gi-journey-step p {
    font-family: 'Manrope', sans-serif;
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(245, 247, 250, 0.68);
    margin: 0;
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- CTA ---------- */

.gi-cta {
    background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 100%);
    text-align: center;
}

.gi-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gi-cta .gi-btn {
    margin-top: 12px;
}

/* ---------- Scroll-Reveal (azaltılmış hareket tercihine saygılı) ----------
   .gi-js sınıfı yalnızca JS çalıştığında eklenir; bu yüzden JS devre dışıysa
   .gi-reveal öğeleri varsayılan (görünür) halde kalır, asla gizli takılmaz. */

@media (prefers-reduced-motion: no-preference) {
    .gi-js .gi-reveal {
        opacity: 0;
        transform: translateY(26px);
        transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .gi-js .gi-reveal.gi-in-view {
        opacity: 1;
        transform: translateY(0);
    }

    .gi-js .gi-eyebrow.gi-in-view { transition-delay: 0s; }
    .gi-js .gi-heading.gi-in-view { transition-delay: 0.08s; }
    .gi-js .gi-lead.gi-in-view { transition-delay: 0.16s; }
    .gi-js .gi-body.gi-in-view { transition-delay: 0.22s; }
    .gi-js .gi-stats.gi-in-view { transition-delay: 0.28s; }
    .gi-js .gi-about-visual.gi-in-view { transition-delay: 0.2s; }

    .gi-js .gi-brand-grid .gi-brand-card:nth-child(1).gi-in-view { transition-delay: 0.02s; }
    .gi-js .gi-brand-grid .gi-brand-card:nth-child(2).gi-in-view { transition-delay: 0.06s; }
    .gi-js .gi-brand-grid .gi-brand-card:nth-child(3).gi-in-view { transition-delay: 0.10s; }
    .gi-js .gi-brand-grid .gi-brand-card:nth-child(4).gi-in-view { transition-delay: 0.14s; }
    .gi-js .gi-brand-grid .gi-brand-card:nth-child(5).gi-in-view { transition-delay: 0.18s; }
    .gi-js .gi-brand-grid .gi-brand-card:nth-child(6).gi-in-view { transition-delay: 0.22s; }
    .gi-js .gi-brand-grid .gi-brand-card:nth-child(7).gi-in-view { transition-delay: 0.26s; }
    .gi-js .gi-brand-grid .gi-brand-card:nth-child(8).gi-in-view { transition-delay: 0.30s; }

    .gi-js .gi-journey-row .gi-journey-step:nth-child(1).gi-in-view { transition-delay: 0.05s; }
    .gi-js .gi-journey-row .gi-journey-step:nth-child(2).gi-in-view { transition-delay: 0.15s; }
    .gi-js .gi-journey-row .gi-journey-step:nth-child(3).gi-in-view { transition-delay: 0.25s; }
}

@media (min-width: 901px) {
    .gi-brands {
        background-attachment: fixed;
    }
}

/* ==========================================================
   Mobil Uyumluluk
   ========================================================== */

@media (max-width: 900px) {
    .gi-section {
        padding: 72px 0;
    }

    .gi-container {
        padding: 0 22px;
    }

    .gi-heading {
        font-size: 1.9rem;
    }

    .gi-about-grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .gi-about-visual {
        order: -1;
        min-height: 220px;
    }

    .gi-lens-art {
        max-width: 280px;
    }

    .gi-stats {
        gap: 28px;
        flex-wrap: wrap;
    }

    .gi-brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gi-journey-row {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .gi-journey-row::before {
        display: none;
    }

    .gi-lead,
    .gi-body {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .gi-heading {
        font-size: 1.6rem;
    }

    .gi-stats {
        gap: 22px;
    }

    .gi-stat-num {
        font-size: 1.7rem;
    }

    .gi-brand-card {
        padding: 26px 14px;
    }
}