@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 — Kurumsal Sayfası
   Token sistemi genel-icerik / video ailesiyle aynı:
     --ink-900 / 800   : lacivert zemin katmanları
     --brass-500 / 400 : sıcak pirinç vurgu rengi
     --paper-100        : açık nötr (metin)
     --sky-300           : ortak yumuşak mavi
   Tipografi: Fraunces (başlık) / Manrope (gövde) / Parisienne (vurgu)
   Bağımsız sayfa olduğu için tam ekran/tam sayfa zemin veriyor,
   header/footer'ın kendi stiliyle çakışmasın diye sınıflar
   .kurumsal içinde kapsanıyor ve "kr-" ön ekiyle izole ediliyor.
   ========================================================== */

.kurumsal {
    --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;
}

.kurumsal * {
    box-sizing: border-box;
}

.kr-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

.kr-section {
    padding: 100px 0;
    position: relative;
}

.kr-section + .kr-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 ---------- */

.kr-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;
}

.kr-eyebrow-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.kr-mark {
    color: var(--brass-500);
    width: 34px;
    height: 13px;
    display: inline-flex;
}

.kr-mark svg {
    width: 100%;
    height: 100%;
}

.kr-heading {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 3rem;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 22px;
}

.kr-heading-sm {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 2.3rem;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 22px;
}

.kr-heading-center {
    text-align: center;
}

.kr-script {
    font-family: 'Parisienne', cursive;
    font-weight: 400;
    font-size: 1.05em;
    color: var(--sky-300);
    letter-spacing: 0.5px;
}

.kr-lead {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--paper-100);
    line-height: 1.7;
    margin: 0;
    max-width: 56ch;
}

.kr-lead-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.kr-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 20px;
    max-width: 52ch;
}

.kr-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;
    margin-top: 12px;
}

.kr-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 32px rgba(0,0,0,0.4);
}

/* ---------- HERO ---------- */

.kr-hero {
    padding: 170px 0 130px;
    text-align: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.kr-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.kr-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.kr-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(198, 161, 91, 0.16) 0%, transparent 55%),
        linear-gradient(180deg, rgba(6, 17, 31, 0.78) 0%, rgba(6, 17, 31, 0.72) 45%, rgba(6, 17, 31, 0.92) 100%);
}

.kr-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---------- HAKKIMIZDA ---------- */

.kr-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.kr-about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.kr-about-img {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.kr-about-badge {
    position: absolute;
    bottom: -22px;
    left: -22px;
    background: linear-gradient(160deg, rgba(23, 44, 77, 0.85) 0%, rgba(13, 31, 56, 0.75) 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);
}

.kr-about-badge-num {
    display: block;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #fff;
}

.kr-about-badge-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;
}

/* ---------- MİSYON & VİZYON ---------- */

.kr-mv {
    background: var(--ink-800);
}

.kr-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.kr-mv-card {
    background: rgba(23, 44, 77, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 40px 36px;
}

.kr-mv-num {
    display: block;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--brass-400);
    margin-bottom: 14px;
}

.kr-mv-card h3 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: #fff;
    margin: 0 0 12px;
}

.kr-mv-card p {
    font-family: 'Manrope', sans-serif;
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(245, 247, 250, 0.72);
    margin: 0;
}

/* ---------- DEĞERLER ---------- */

.kr-value-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.kr-value-card {
    text-align: center;
    padding: 38px 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(13, 31, 56, 0.4);
    transition: background 0.35s ease, transform 0.35s ease;
}

.kr-value-card:hover {
    background: rgba(23, 44, 77, 0.55);
    transform: translateY(-4px);
}

.kr-value-card h3 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--brass-400);
    margin: 0 0 12px;
}

.kr-value-card p {
    font-family: 'Manrope', sans-serif;
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(245, 247, 250, 0.68);
    margin: 0;
}

/* ---------- GALERİ ---------- */

.kr-gallery {
    background: var(--ink-800);
}

.kr-gallery-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.kr-gallery-item {
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.kr-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.kr-gallery-item:hover img {
    transform: scale(1.06);
}

/* ---------- CTA ---------- */

.kr-cta {
    background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 100%);
    text-align: center;
}

.kr-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---------- Scroll-Reveal (azaltılmış hareket tercihine saygılı) ----------
   .kr-js sınıfı yalnızca JS çalıştığında eklenir; JS devre dışıysa
   .kr-reveal öğeleri varsayılan (görünür) halde kalır. */

@media (prefers-reduced-motion: no-preference) {
    .kr-js .kr-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);
    }

    .kr-js .kr-reveal.kr-in-view {
        opacity: 1;
        transform: translateY(0);
    }

    .kr-js .kr-mv-grid .kr-mv-card:nth-child(1).kr-in-view { transition-delay: 0.05s; }
    .kr-js .kr-mv-grid .kr-mv-card:nth-child(2).kr-in-view { transition-delay: 0.15s; }

    .kr-js .kr-value-grid .kr-value-card:nth-child(1).kr-in-view { transition-delay: 0.05s; }
    .kr-js .kr-value-grid .kr-value-card:nth-child(2).kr-in-view { transition-delay: 0.15s; }
    .kr-js .kr-value-grid .kr-value-card:nth-child(3).kr-in-view { transition-delay: 0.25s; }
}

/* ==========================================================
   Mobil Uyumluluk
   ========================================================== */

@media (max-width: 900px) {
    .kr-section {
        padding: 64px 0;
    }

    .kr-container {
        padding: 0 22px;
    }

    .kr-hero {
        padding: 110px 0 72px;
    }

    .kr-heading {
        font-size: 2.2rem;
    }

    .kr-heading-sm {
        font-size: 1.8rem;
    }

    .kr-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .kr-about-visual {
        order: -1;
        min-height: 200px;
    }

    .kr-about-img {
        max-height: 300px;
    }

    .kr-about-badge {
        left: 16px;
        bottom: -18px;
        padding: 14px 20px;
    }

    .kr-mv-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .kr-value-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .kr-gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .kr-lead,
    .kr-body {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .kr-heading {
        font-size: 1.8rem;
    }

    .kr-heading-sm {
        font-size: 1.5rem;
    }

    .kr-mv-card {
        padding: 30px 24px;
    }

    .kr-gallery-grid {
        grid-template-columns: 1fr;
    }

    .kr-about-badge {
        position: static;
        margin-top: 16px;
        display: inline-block;
    }
}