/* Kaan Yıldırım Music — kurumsal / DJ: soğuk nötr + tek indigo–cyan ekseni */

:root {
    --bg: #f8fafc;
    --bg-elevated: #ffffff;
    --bg-tint: #f1f5f9;
    --text: #0f172a;
    --text-muted: #64748b;
    /* Ana indigo, ikincil sky (aynı soğuk aile — turuncu/sarı/yeşil yok) */
    --accent: #4f46e5;
    --accent-bright: #6366f1;
    --accent-2: #0ea5e9;
    --accent-3: #312e81;
    --accent-soft: #eef2ff;
    --accent-glow: rgba(79, 70, 229, 0.22);
    --accent-rgb: 79, 70, 229;
    --accent-2-rgb: 14, 165, 233;
    --accent-3-rgb: 49, 46, 129;
    --border: rgba(15, 23, 42, 0.08);
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
    --shadow-hover: 0 24px 60px rgba(15, 23, 42, 0.1);
    --shadow-soft: 0 4px 24px rgba(var(--accent-rgb), 0.12);
    --radius: 16px;
    --radius-lg: 22px;
    --font: "Plus Jakarta Sans", system-ui, sans-serif;
    /* Üst bar: modern geometrik */
    --font-nav: "Outfit", system-ui, sans-serif;
    --max: 1120px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur: 0.55s;
    /* Üst çubuk — kurumsal (ince çizgi, nötr tipografi) */
    --topbar-bg: #ffffff;
    --topbar-height: 4.5rem;
    --topbar-border-line: #e5e7eb;
    --topbar-text: #0a0a0a;
    --topbar-muted: #525252;
    /* Üst menü — paletle uyumlu indigo */
    --nav-hover: #4338ca;
    --nav-underline: #6366f1;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    background-image:
        radial-gradient(ellipse 900px 420px at 8% -5%, rgba(var(--accent-rgb), 0.08), transparent 55%),
        radial-gradient(ellipse 700px 380px at 92% 5%, rgba(var(--accent-2-rgb), 0.06), transparent 50%),
        radial-gradient(ellipse 600px 300px at 50% 100%, rgba(var(--accent-3-rgb), 0.06), transparent 45%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

body > *:not(header.topbar) {
    position: relative;
    z-index: 1;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.shell {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/*
 * Üst çubuk: tam genişlik — logo viewport soluna yakın (max-width ortasından kurtulmak için).
 * Diğer sayfa içerikleri .shell ile 1120px’de kalmaya devam eder.
 */
.topbar .shell {
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: max(3.3rem, calc(2.35rem + env(safe-area-inset-left, 0px)));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

.main {
    min-height: 40vh;
}

/* Diğer sayfalar: sabit üst çubuk akışta yer kaplar — içerik üstten kesilmesin */
body:not(.is-home) .main {
    padding-top: var(--topbar-height);
}

/* Top bar — sabit; aşağı kaydırınca her zaman görünür */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    font-family: var(--font-nav);
    background: var(--topbar-bg);
    border-bottom: 1px solid var(--topbar-border-line);
    transition: box-shadow var(--dur) var(--ease-out), transform 0.38s var(--ease-out), opacity 0.28s ease;
}

.topbar.is-scrolled {
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

body.is-home-video-slide .topbar:not(.is-scrolled) {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}

body.is-home-video-slide .topbar:not(.is-scrolled)::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.48) 0%, rgba(2, 6, 23, 0.18) 58%, rgba(2, 6, 23, 0) 100%);
}

body.is-home-video-slide .topbar:not(.is-scrolled) .brand,
body.is-home-video-slide .topbar:not(.is-scrolled) .brand__name,
body.is-home-video-slide .topbar:not(.is-scrolled) .brand__tag,
body.is-home-video-slide .topbar:not(.is-scrolled) .nav__link,
body.is-home-video-slide .topbar:not(.is-scrolled) .topbar__social-link {
    color: #fff;
}

body.is-home-video-slide .topbar:not(.is-scrolled) .nav__link:hover,
body.is-home-video-slide .topbar:not(.is-scrolled) .nav__link:focus-visible {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.82);
}

body.is-home-video-slide .topbar:not(.is-scrolled) .topbar__social-link:hover {
    color: #fff;
}

body.is-home-video-slide .topbar:not(.is-scrolled) .topbar__sep {
    background: rgba(255, 255, 255, 0.45);
}

body.is-home-video-slide .topbar:not(.is-scrolled) .nav-toggle {
    background: rgba(2, 6, 23, 0.22);
    border-color: rgba(255, 255, 255, 0.44);
}

body.is-home-video-slide .topbar:not(.is-scrolled) .nav-toggle::before,
body.is-home-video-slide .topbar:not(.is-scrolled) .nav-toggle::after {
    background: #fff;
}

.topbar__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding: 0.65rem 0;
    min-height: var(--topbar-height);
}

.topbar__mid {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.topbar__mid .nav {
    width: 100%;
    max-width: 100%;
}

.topbar__end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    gap: 0.15rem;
}

.topbar__sep {
    width: 1px;
    height: 1.55rem;
    background: #e2e8f0;
    margin-right: 0.9rem;
}

.topbar__social {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.topbar__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    color: #667085;
    opacity: 1;
    transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.topbar__social-link:hover {
    opacity: 1;
    color: #0f172a;
    transform: translateY(-1px);
    text-decoration: none;
}

.topbar__social-icon {
    display: block;
    flex-shrink: 0;
    font-size: 1.35rem;
    line-height: 1;
}

.nav__social {
    display: none;
}

.header-aside {
    padding-right: 0.1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    color: var(--topbar-text);
    text-decoration: none;
    font-family: var(--font-nav);
}

.brand:hover {
    text-decoration: none;
}

.brand__logo {
    height: 52px;
    width: auto;
    max-width: min(240px, 52vw);
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.brand--has-logo {
    gap: 0;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    gap: 0.1rem;
}

.brand__name {
    font-weight: 800;
    font-size: 1.28rem;
    font-style: normal;
    letter-spacing: 0.01em;
    color: var(--topbar-text);
}

.brand__tag {
    font-size: 0.78rem;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.08em;
    color: var(--topbar-muted);
}

.topbar .brand .brand__name {
    color: var(--topbar-text);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    cursor: pointer;
    position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: transform 0.2s, top 0.2s;
}

.nav-toggle::before {
    top: 16px;
}

.nav-toggle::after {
    top: 24px;
}

.nav-toggle.is-open::before {
    top: 20px;
    transform: rotate(45deg);
}

.nav-toggle.is-open::after {
    top: 20px;
    transform: rotate(-45deg);
}

.nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Üst menü: önceki 0.74rem’e göre çok hafif büyütme; kalınlık hafif (600) */
.nav__link {
    font-weight: 600;
    font-size: 0.8125rem;
    font-style: normal;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--topbar-text);
    padding: 0.38rem 0;
    transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out),
        background-color 0.2s var(--ease-out);
    text-decoration: none;
}

/* Global a:hover underline — nav’de çift çizgi yaratmasın */
.nav__link:hover,
.nav__link:focus-visible {
    text-decoration: none;
}

/*
 * Masaüstü — HUGEL tarzı: 1fr | orta menü (auto) | 1fr
 * Sol marka, menü grubu gerçek ortada + aralıklar, sağda sosyal rezervi.
 */
@media (min-width: 881px) {
    .topbar__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        column-gap: clamp(0.75rem, 2vw, 1.75rem);
    }

    .brand {
        justify-self: start;
    }

    .topbar__mid {
        justify-self: center;
        flex: unset;
        width: auto;
        max-width: min(92vw, 48rem);
    }

    .topbar__mid .nav {
        width: auto;
        max-width: none;
    }

    .topbar__end {
        justify-self: end;
        min-width: 5.5rem;
        margin-right: clamp(1.4rem, 4.5vw, 5rem);
    }

    .nav__list {
        width: auto;
        flex-wrap: nowrap;
        justify-content: center;
        gap: clamp(1.35rem, 2.8vw, 2.85rem);
        padding-inline: 0;
    }

    .nav__list li {
        flex: 0 0 auto;
    }

    .nav__link {
        white-space: nowrap;
        display: inline-block;
        padding: 0.42rem 0 0.5rem;
        border-bottom: 1px solid transparent;
    }

    .nav__link:hover,
    .nav__link:focus-visible {
        color: var(--nav-hover);
        border-bottom-color: var(--nav-underline);
    }

    .nav__link:focus-visible {
        outline: 2px solid rgba(var(--accent-rgb), 0.22);
        outline-offset: 4px;
    }
}

@media (max-width: 880px) {
    .topbar__inner {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }

    .nav-toggle {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 0.5rem;
        background: transparent;
        color: #111827;
        transition: background 0.2s ease;
    }

    .nav-toggle:hover,
    .nav-toggle:focus-visible {
        background: rgba(26, 127, 212, 0.08);
        outline: none;
    }

    .nav-toggle:focus-visible {
        box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.45);
    }

    .brand {
        order: 1;
    }

    .topbar__mid {
        order: 3;
        flex: 1 1 100%;
        justify-content: flex-end;
        min-width: 0;
    }

    .topbar__mid .nav {
        width: min(80vw, 320px);
        max-width: 320px;
    }

    .topbar__end {
        order: 2;
        margin-left: auto;
    }

    .topbar__sep {
        display: none;
    }

    .topbar__social {
        display: none;
    }

    .nav {
        position: fixed;
        left: auto !important;
        right: 0;
        top: calc(var(--topbar-height) + env(safe-area-inset-top, 0px));
        width: min(80vw, 320px);
        max-height: calc(100vh - var(--topbar-height) - 0.75rem);
        max-height: calc(100dvh - var(--topbar-height) - 0.75rem);
        overflow-y: auto;
        z-index: 1200;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        margin: 0;
        padding: 0 0.85rem;
        padding-bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.78);
        backdrop-filter: blur(18px) saturate(1.2);
        -webkit-backdrop-filter: blur(18px) saturate(1.2);
        border: 1px solid rgba(var(--accent-rgb), 0.28);
        border-right: none;
        border-radius: 0.45rem 0 0 0.45rem;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translate3d(100%, 0, 0);
        transform-origin: top right;
        transition: opacity 0.3s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
        box-shadow:
            -10px 0 36px rgba(15, 31, 46, 0.12),
            -1px 0 0 rgba(15, 31, 46, 0.06);
    }

    .nav.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translate3d(0, 0, 0);
        padding: 0.75rem 0.85rem max(0.85rem, env(safe-area-inset-bottom, 0px));
        transition: opacity 0.26s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.26s;
    }

    body.is-home-video-slide .topbar:not(.is-scrolled) .nav {
        background: rgba(255, 255, 255, 0.78);
        border-color: rgba(var(--accent-rgb), 0.28);
    }

    body.is-home-video-slide .topbar:not(.is-scrolled) .nav__link {
        color: #0f172a;
    }

    body.is-home-video-slide .topbar:not(.is-scrolled) .nav__link:hover,
    body.is-home-video-slide .topbar:not(.is-scrolled) .nav__link:focus-visible {
        color: #1e293b;
        border-bottom-color: rgba(148, 163, 184, 0.35);
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.15rem;
    }

    .nav__social {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        margin-top: 0.5rem;
        padding: 0.75rem 0.2rem 0.35rem;
        border-top: 1px solid rgba(148, 163, 184, 0.28);
    }

    .nav__social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.1rem;
        height: 2.1rem;
        border-radius: 999px;
        color: #475569;
        background: rgba(255, 255, 255, 0.62);
        border: 1px solid rgba(148, 163, 184, 0.25);
        transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    }

    .nav__social-link:hover,
    .nav__social-link:focus-visible {
        color: #0f172a;
        background: rgba(var(--accent-rgb), 0.14);
        border-color: rgba(var(--accent-rgb), 0.36);
        text-decoration: none;
    }

    .nav__link {
        display: block;
        padding: 0.65rem 0.25rem;
        border-bottom: none;
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.045em;
        line-height: 1.35;
        text-align: left;
        color: #0f172a;
        border-radius: 0;
        text-transform: uppercase;
    }

    .nav__link:hover,
    .nav__link:focus-visible {
        color: #1e293b;
        background-color: rgba(99, 102, 241, 0.08);
    }

    .nav__link:focus-visible {
        outline: 2px solid rgba(var(--accent-rgb), 0.28);
        outline-offset: 1px;
    }

    body.is-home:not(.is-home-video-slide) .hero-slider {
        min-height: min(76vh, 700px);
        min-height: min(76dvh, 700px);
        min-height: min(76svh, 700px);
        height: min(76vh, 700px);
        height: min(76dvh, 700px);
        height: min(76svh, 700px);
    }

    body.is-home:not(.is-home-video-slide) .hero-slider__viewport {
        min-height: min(76vh, 700px);
        min-height: min(76dvh, 700px);
        min-height: min(76svh, 700px);
        height: min(76vh, 700px);
        height: min(76dvh, 700px);
        height: min(76svh, 700px);
    }

    .hero-slide[data-has-video="0"] .hero-image {
        object-fit: cover;
        background: transparent;
    }
}

html.nav-drawer-open {
    overflow: hidden;
}

@media (min-width: 881px) {
    html.nav-drawer-open {
        overflow: auto;
    }
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroShimmer {
    0%,
    100% {
        opacity: 0.55;
    }
    50% {
        opacity: 0.85;
    }
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

/* Hero slider (MP4) — tam genişlik, kenar boşluğu yok */
.hero-slider {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #fff;
    overflow: hidden;
}

/* Üst şerit akışta: hero = kalan viewport (tam ekran hissi, referans düzeni) */
body.is-home .hero-slider {
    min-height: calc(100vh - var(--topbar-height));
    min-height: calc(100dvh - var(--topbar-height));
    min-height: calc(100svh - var(--topbar-height));
    height: calc(100vh - var(--topbar-height));
    height: calc(100dvh - var(--topbar-height));
    height: calc(100svh - var(--topbar-height));
}

body.is-home.is-home-video-slide .hero-slider {
    min-height: 100vh;
    min-height: 100dvh;
    min-height: 100svh;
    height: 100vh;
    height: 100dvh;
    height: 100svh;
}

.hero-slider__viewport {
    position: relative;
    width: 100%;
    min-height: min(78vh, 720px);
    background: #0f172a;
    touch-action: pan-y;
}

body.is-home .hero-slider__viewport {
    min-height: calc(100vh - var(--topbar-height));
    min-height: calc(100dvh - var(--topbar-height));
    min-height: calc(100svh - var(--topbar-height));
    height: calc(100vh - var(--topbar-height));
    height: calc(100dvh - var(--topbar-height));
    height: calc(100svh - var(--topbar-height));
}

body.is-home.is-home-video-slide .hero-slider__viewport {
    min-height: 100vh;
    min-height: 100dvh;
    min-height: 100svh;
    height: 100vh;
    height: 100dvh;
    height: 100svh;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.95s var(--ease-out);
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.hero-slide__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 85% 55% at 75% 18%, rgba(255, 255, 255, 0.07), transparent 52%);
    pointer-events: none;
    animation: heroShimmer 7s ease-in-out infinite;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transform-origin: center center;
    filter: saturate(1.06) contrast(1.03) brightness(1.02);
    transition: transform 14s linear;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transform-origin: center center;
    filter: saturate(1.06) contrast(1.03) brightness(1.02);
    transition: transform 14s linear;
}

.hero-slide[data-has-video="1"] .hero-video {
    object-fit: cover;
}

.hero-slide.is-active .hero-video {
    transform: scale(1.05);
}

.hero-slide[data-has-video="1"].is-active .hero-video {
    transform: scale(1);
}

.hero-slide.is-active .hero-image {
    transform: scale(1.05);
}

.hero-fallback {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 120% 80% at 15% 20%, rgba(148, 163, 184, 0.22) 0%, transparent 52%),
        radial-gradient(ellipse 90% 70% at 88% 75%, rgba(var(--accent-rgb), 0.2) 0%, transparent 50%),
        linear-gradient(155deg, #0f172a 0%, #1e293b 32%, #312e81 62%, #3730a3 82%, #4338ca 100%);
}

.hero-slide.is-active .hero-fallback {
    animation: kenBurns 14s ease-out forwards;
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(5.5rem, 14vh, 9rem) clamp(1.25rem, 5vw, 3rem) clamp(5rem, 10vh, 6rem);
    /* Kurumsal: soğuk koyu slate — videoyu boğmadan okunabilirlik */
    background: linear-gradient(
        102deg,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(15, 23, 42, 0.48) 36%,
        rgba(15, 23, 42, 0.14) 58%,
        transparent 82%
    );
    z-index: 2;
}

body.is-home .hero-slide__overlay {
    padding-top: clamp(3rem, 8vh, 5rem);
}

body.is-home.is-home-video-slide .hero-slide__overlay {
    padding-top: clamp(1.5rem, 4vh, 2.5rem);
}

.hero-slide__overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 42%, rgba(0, 0, 0, 0.22) 100%);
    pointer-events: none;
}

.hero-slide__content {
    max-width: min(640px, 92vw);
    position: relative;
    z-index: 1;
    text-align: left;
}

.hero-slide.is-active .hero-slide__title {
    animation: heroReveal 0.75s var(--ease-out) both;
}

.hero-slide.is-active .hero-slide__subtitle {
    animation: heroReveal 0.75s var(--ease-out) 0.1s both;
}

.hero-slide.is-active .hero-slide__actions {
    animation: heroReveal 0.75s var(--ease-out) 0.22s both;
}

.hero-slide__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.85rem, 4.2vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

.hero-slide__subtitle {
    margin: 0 0 1.5rem;
    font-size: 1.08rem;
    opacity: 0.96;
    line-height: 1.6;
    max-width: 34em;
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.25);
}

.hero-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.btn:active {
    transform: scale(0.98);
}

.btn:hover {
    text-decoration: none;
}

.btn--primary {
    background: #fff;
    color: var(--accent);
    box-shadow: var(--shadow);
}

.btn--primary:hover {
    background: var(--accent-soft);
    color: #3730a3;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    backdrop-filter: blur(8px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

/* Açık zeminde kullanım */
.btn--solid {
    background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.35);
}

.btn--solid:hover {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(var(--accent-rgb), 0.38);
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn--outline:hover {
    border-color: rgba(var(--accent-rgb), 0.35);
    background: var(--accent-soft);
    color: #3730a3;
}

/* Klasik slider çubuğu — videonun üzerinde, ortada */
.hero-slider__controls {
    position: absolute;
    left: 50%;
    bottom: clamp(1.25rem, 4vh, 2rem);
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0.5rem 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-slider__dots-wrap {
    min-width: 120px;
    display: flex;
    justify-content: center;
    padding: 0 0.35rem;
}

.hero-slider__btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.25s, transform 0.2s var(--ease-out);
}

.hero-slider__btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hero-slider__btn:active {
    transform: scale(0.94);
}

.hero-slider__chev {
    display: block;
    width: 9px;
    height: 9px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    margin-left: 3px;
}

.hero-slider__chev--next {
    transform: rotate(-135deg);
    margin-left: -3px;
}

.hero-slider__dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.hero-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 0;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: transform 0.35s var(--ease-out), width 0.35s, background 0.25s, border-color 0.25s;
}

.hero-slider__dot:hover {
    background: rgba(255, 255, 255, 0.45);
}

.hero-slider__dot.is-active {
    background: #fff;
    border-color: #fff;
    width: 22px;
    border-radius: 999px;
    transform: scale(1);
}

/* Sections */
.section {
    padding: 3.5rem 0;
}

#tanitim,
#etkinlikler,
#galeri,
#referanslar {
    scroll-margin-top: calc(var(--topbar-height) + 0.75rem);
}

.section--tint {
    background: var(--bg-tint);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.hero-slider + .section--tint {
    position: relative;
    border-top: none;
    padding-top: 4.1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(241, 245, 249, 0.96) 100%);
}

.hero-slider + .section--tint::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: min(940px, calc(100% - 2.4rem));
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(var(--accent-rgb), 0) 0%,
        rgba(var(--accent-rgb), 0.28) 18%,
        rgba(var(--accent-rgb), 0.62) 50%,
        rgba(var(--accent-rgb), 0.28) 82%,
        rgba(var(--accent-rgb), 0) 100%
    );
    pointer-events: none;
}

.hero-slider + .section--tint .section__grid--split {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 1rem;
    padding: clamp(1.45rem, 3.4vw, 2.35rem);
    min-height: clamp(320px, 35vw, 430px);
    box-shadow:
        0 18px 38px rgba(15, 23, 42, 0.1),
        0 3px 10px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Kısa tanıtım bloğunu biraz daha genişletip kenarlara yaklaştır */
.hero-slider + .section--tint > .shell.section__grid--split {
    max-width: min(1240px, calc(100% - 0.8rem));
    padding-left: clamp(0.65rem, 1.6vw, 1.2rem);
    padding-right: clamp(0.65rem, 1.6vw, 1.2rem);
}

.hero-slider + .section--tint .section__grid--split.has-intro-bg {
    background: rgba(255, 255, 255, 0.68);
}

.hero-slider + .section--tint .section__grid--split .home-intro-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.12;
    filter: saturate(0.92) contrast(1.04);
    pointer-events: none;
}

.hero-slider + .section--tint .section__grid--split::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 85% 65% at 92% 8%,
        rgba(var(--accent-rgb), 0.08) 0%,
        rgba(var(--accent-rgb), 0) 58%
    );
    pointer-events: none;
}

.hero-slider + .section--tint .section__grid--split::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(15, 23, 42, 0.04) 100%);
    opacity: 0.75;
    pointer-events: none;
}

.hero-slider + .section--tint .section__grid--split.has-intro-bg::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    mix-blend-mode: soft-light;
    opacity: 0.26;
}

.hero-slider + .section--tint .section__grid--split > * {
    position: relative;
    z-index: 1;
}

.hero-slider + .section--tint .section__grid--split .section__title {
    letter-spacing: -0.028em;
    color: #0f172a;
}

.hero-slider + .section--tint .section__grid--split .section__lead {
    margin-top: 0.7rem;
    line-height: 1.74;
    color: #334155;
    font-weight: 500;
}

.hero-slider + .section--tint .section__grid--split .checklist {
    margin-top: 1.35rem;
}

.hero-slider + .section--tint .checklist li {
    color: #334155;
    font-weight: 600;
}

.hero-slider + .section--tint .checklist__icon {
    color: #0f6bb8;
}

.hero-slider + .section--tint .checklist__text {
    line-height: 1.58;
}

.section__grid--split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .hero-slider + .section--tint {
        padding-top: 3.15rem;
    }

    .hero-slider + .section--tint::before {
        width: calc(100% - 1.4rem);
    }

    .hero-slider + .section--tint .section__grid--split {
        border-radius: 0.8rem;
        padding: 1.05rem;
        min-height: 0;
    }

    .hero-slider + .section--tint .section__grid--split .section__lead {
        margin-top: 0.55rem;
    }

    .hero-slider + .section--tint .section__grid--split .checklist {
        margin-top: 0.55rem;
    }

    .hero-slider + .section--tint > .shell.section__grid--split {
        max-width: calc(100% - 0.4rem);
        padding-left: 0.6rem;
        padding-right: 0.6rem;
    }

    .section__grid--split {
        grid-template-columns: 1fr;
    }
}

.section__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section__lead {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.section__head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 2rem;
}

.section__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4338ca;
    margin-bottom: 0.65rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.16);
}

.section__intro {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
}

.section__head--events {
    max-width: 760px;
}

.section__title--events {
    font-family: var(--font-nav);
    font-weight: 800;
    font-size: clamp(1.85rem, 3.9vw, 2.6rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
    text-wrap: balance;
}

.section__intro--events {
    max-width: 720px;
    margin: 0.72rem auto 0;
    color: #475569;
    font-weight: 500;
    line-height: 1.72;
}

.section__cta {
    margin: 2rem 0 0;
    text-align: center;
}

.checklist {
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.6rem;
    box-shadow: var(--shadow), var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.checklist::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-3), var(--accent), var(--accent-bright));
    opacity: 0.9;
}

.checklist li {
    position: relative;
    padding-left: 1.85rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding-left: 0 !important;
}

.checklist__icon {
    flex: 0 0 auto;
    width: 1.1rem;
    line-height: 1.4;
    text-align: center;
    font-weight: 700;
    color: #1a7fd4;
}

.checklist__text {
    display: block;
}

.checklist li:hover {
    color: var(--text);
    transform: translateX(4px);
}

.checklist li:last-child {
    margin-bottom: 0;
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-bright), var(--accent-2));
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.checklist__item::before {
    display: none;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.section--gallery {
    padding-top: 2.1rem;
}

.section__head--gallery {
    max-width: 760px;
    margin-bottom: 1.25rem;
}

.section__title--gallery {
    font-family: var(--font-nav);
    font-weight: 800;
    font-size: clamp(1.85rem, 3.9vw, 2.6rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
    text-wrap: balance;
}

.section__intro--gallery {
    max-width: 720px;
    margin: 0.72rem auto 0;
    color: #475569;
    font-weight: 500;
    line-height: 1.72;
}

.section--references {
    padding-top: 1.9rem;
}

.section__head--references {
    max-width: 760px;
    margin-bottom: 1.25rem;
}

.section__title--references {
    font-family: var(--font-nav);
    font-weight: 800;
    font-size: clamp(1.85rem, 3.9vw, 2.6rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
    text-wrap: balance;
}

.section__intro--references {
    max-width: 720px;
    margin: 0.72rem auto 0;
    color: #475569;
    font-weight: 500;
    line-height: 1.72;
}

.references-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.25rem;
}

.reference-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    flex: 0 0 auto;
}

.reference-card__link {
    min-width: 110px;
    height: 74px;
    padding: 0.35rem 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    text-decoration: none;
}

.reference-card__link img {
    max-width: 100%;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: saturate(0.96);
    transition: transform 0.22s var(--ease-out), filter 0.22s var(--ease-out);
}

.reference-card__link:hover img {
    transform: scale(1.06);
    filter: saturate(1);
}

.reference-card--placeholder {
    min-height: 70px;
    display: grid;
    place-items: center;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
}

.home-gallery-track-wrap {
    position: relative;
}

.home-gallery-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 320px);
    gap: 0.9rem;
    overflow-x: auto;
    padding: 0.25rem 0.2rem 0.7rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.home-gallery-track::-webkit-scrollbar {
    height: 8px;
}

.home-gallery-track::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.6);
    border-radius: 999px;
}

.home-gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    min-height: 220px;
    background: #0f172a;
    scroll-snap-align: start;
    transition: transform 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out);
}

.home-gallery-card__media {
    position: absolute;
    inset: 0;
}

.home-gallery-card__open {
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
}

.home-gallery-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--ease-out), filter 0.3s var(--ease-out);
}

.home-gallery-card__overlay {
    position: relative;
    z-index: 1;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 0.95rem;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.06) 20%, rgba(2, 6, 23, 0.72) 74%, rgba(2, 6, 23, 0.86) 100%);
    pointer-events: none;
}

.home-gallery-card__title {
    margin: 0;
    color: #f8fafc;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.home-gallery-card__text {
    margin: 0;
    color: rgba(226, 232, 240, 0.88);
    font-size: 0.88rem;
    line-height: 1.45;
}

.home-gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2);
}

.home-gallery-card:hover .home-gallery-card__media img {
    transform: scale(1.04);
    filter: saturate(1.05);
}

.home-gallery-card--placeholder {
    display: grid;
    min-width: min(88vw, 320px);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.9));
}

.home-gallery-card--placeholder .home-gallery-card__overlay {
    background: transparent;
}

.section__cta--gallery {
    margin-top: 0.65rem;
}

.section__more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #1d4ed8;
}

.section__more-link:hover {
    color: #1e40af;
    text-decoration: none;
}

.card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.5rem 1.5rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.45), transparent);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(var(--accent-rgb), 0.28);
}

.card:hover::before {
    opacity: 1;
}

.card--placeholder:hover {
    transform: none;
    box-shadow: var(--shadow);
    border-color: var(--border);
}

.card--placeholder::before {
    display: none;
}

.card__title {
    margin: 0 0 0.5rem;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.card__text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

#etkinlikler .cards {
    align-items: stretch;
}

#etkinlikler .card {
    min-height: 205px;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);
    border-color: rgba(148, 163, 184, 0.24);
}

#etkinlikler .card::after {
    content: "";
    position: absolute;
    inset: auto -18% -46% auto;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0) 72%);
    opacity: 0;
    transition: opacity 0.35s var(--ease-out);
    pointer-events: none;
}

#etkinlikler .card:hover {
    transform: perspective(980px) translateY(-8px) scale(1.01) rotate(-0.55deg);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
    border-color: rgba(37, 99, 235, 0.32);
}

#etkinlikler .card:hover::after {
    opacity: 1;
}

#etkinlikler .card__title {
    transition: color 0.24s var(--ease-out);
}

#etkinlikler .card:hover .card__title {
    color: #1d4ed8;
}

/* Simple inner page */
.page-hero {
    position: relative;
    padding: 2.5rem 0 1rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg-elevated), var(--bg));
}

.page-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    max-width: var(--max);
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.28), transparent);
}

.page-hero__title {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.page-hero__lead {
    margin: 0.75rem 0 0;
    max-width: 640px;
    color: var(--text-muted);
}

.prose {
    max-width: 720px;
}

.prose p {
    color: var(--text-muted);
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.gallery-filter__btn {
    appearance: none;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #f8fafc;
    color: #1e293b;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font: 600 0.84rem/1 var(--font-nav);
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gallery-filter__btn:hover {
    border-color: rgba(37, 99, 235, 0.5);
    color: #0f3b8a;
}

.gallery-filter__btn.is-active {
    background: linear-gradient(140deg, #1d4ed8 0%, #2563eb 70%, #3b82f6 100%);
    border-color: rgba(37, 99, 235, 0.9);
    color: #f8fbff;
    box-shadow: 0 8px 16px rgba(29, 78, 216, 0.26);
}

.gallery-filter__empty {
    margin: 0 0 0.95rem;
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 600;
}

.gallery-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.05rem;
}

.gallery-load-more[hidden] {
    display: none !important;
}

.gallery-item {
    border-radius: 0.9rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.gallery-item__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e2e8f0;
}

/* Video küçük önizleme: mobilde siyah kare yerine arka plan + canvas poster (gallery.php JS) */
.gallery-item__media:has(video) {
    background: linear-gradient(155deg, #0f172a 0%, #1e293b 42%, #334155 100%);
}

.gallery-item__media--video-fallback::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 45% 40%, rgba(59, 130, 246, 0.22), transparent 55%);
    pointer-events: none;
}

.gallery-item__open {
    width: 100%;
    border: 0;
    padding: 0;
    cursor: zoom-in;
    position: relative;
}

.gallery-item__media img,
.gallery-item__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item__media video {
    pointer-events: none;
}

.gallery-item__play {
    position: absolute;
    inset: auto auto 0.7rem 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.74);
    color: #f8fafc;
    font-size: 0.82rem;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.28);
}

.gallery-item__content {
    padding: 0.8rem 0.9rem 0.9rem;
}

.gallery-item__title {
    margin: 0 0 0.3rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.gallery-item__text {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.45;
}

.card--placeholder {
    min-height: 140px;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

body.media-lightbox-open {
    overflow: hidden;
}

body.media-lightbox-open main {
    position: relative;
    z-index: 3000;
}

body.media-lightbox-open .footer {
    position: relative;
    z-index: 1;
}

.media-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: grid;
    place-items: center;
    padding: clamp(0.8rem, 2vw, 1.4rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.media-lightbox[hidden] {
    display: none !important;
}

.media-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.media-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(4px);
}

.media-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(96vw, 1100px);
    border-radius: 0.9rem;
    overflow: hidden;
    background: #020617;
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 20px 45px rgba(2, 6, 23, 0.5);
    transform: translateY(8px) scale(0.985);
    transition: transform 0.22s ease;
}

.media-lightbox.is-open .media-lightbox__dialog {
    transform: translateY(0) scale(1);
}

.media-lightbox__close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    z-index: 2;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.76);
    color: #f8fafc;
    font-size: 1.24rem;
    line-height: 1;
    cursor: pointer;
}

.media-lightbox__stage {
    position: relative;
    max-height: min(80vh, 820px);
    background: #020617;
}

/*
 * Büyütmede object-fit: contain — en-boy oranı farklı olunca şeritler oluşur.
 * Fotoğrafta bu şeritler çok koyu (siyaha yakın) görünmesin diye daha yumuşak slate.
 */
.media-lightbox.media-lightbox--photo .media-lightbox__dialog {
    background: #1e293b;
}

.media-lightbox.media-lightbox--photo .media-lightbox__stage {
    background: linear-gradient(165deg, #334155 0%, #1e293b 50%, #0f172a 100%);
}

.media-lightbox.media-lightbox--photo .media-lightbox__caption {
    border-top-color: rgba(148, 163, 184, 0.2);
}

/* Gizli medya bazı mobil tarayıcılarda video kontrolleri/placeholder bırakmasın */
.media-lightbox__stage > [hidden] {
    display: none !important;
}

.media-lightbox__stage img,
.media-lightbox__stage video {
    width: 100%;
    max-height: min(80vh, 820px);
    display: block;
    object-fit: contain;
}

.media-lightbox__caption {
    margin: 0;
    padding: 0.75rem 0.95rem 0.9rem;
    color: #cbd5e1;
    font-size: 0.92rem;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.site-contact-band {
    margin-top: 2.25rem;
    padding: 2.1rem 0 1.2rem;
    color: #d5e6ff;
    background:
        linear-gradient(145deg, rgba(186, 205, 232, 0.12) 0%, rgba(186, 205, 232, 0) 22%),
        radial-gradient(920px 420px at 8% 15%, rgba(55, 111, 186, 0.28) 0%, rgba(55, 111, 186, 0) 58%),
        linear-gradient(114deg, #050e1b 0%, #0a1d3a 48%, #040b16 100%);
    border-top: 1px solid rgba(148, 184, 255, 0.18);
    border-bottom: 1px solid rgba(148, 184, 255, 0.12);
}

.site-contact-band__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.9fr 230px;
    gap: 1.5rem 2rem;
    align-items: start;
}

.site-contact-band__title {
    margin: 0 0 0.55rem;
    color: #4fa2ff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.site-contact-band__text {
    margin: 0;
    max-width: 28ch;
    color: rgba(213, 230, 255, 0.88);
    line-height: 1.55;
}

.site-contact-band__subtitle {
    margin: 0 0 0.7rem;
    color: #60a5fa;
    font-size: 0.98rem;
    font-weight: 700;
}

.site-contact-band__list,
.site-contact-band__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.48rem;
}

.site-contact-band__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: #d5e6ff;
    line-height: 1.45;
}

.site-contact-band__list i {
    width: 0.95rem;
    margin-top: 0.2rem;
    color: #7db3ff;
}

.site-contact-band a {
    color: inherit;
    text-decoration: none;
}

.site-contact-band a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-contact-band__social-card {
    min-height: 150px;
    border-radius: 0.85rem;
    border: 1px solid rgba(159, 181, 209, 0.34);
    background:
        linear-gradient(160deg, rgba(165, 183, 208, 0.15) 0%, rgba(165, 183, 208, 0.04) 38%, rgba(165, 183, 208, 0.09) 100%),
        rgba(9, 23, 43, 0.68);
    box-shadow:
        inset 0 1px 0 rgba(213, 227, 246, 0.2),
        0 16px 32px rgba(4, 16, 33, 0.24);
    padding: 0.95rem 1rem;
}

.site-contact-band__text--sm {
    font-size: 0.9rem;
    line-height: 1.48;
    max-width: none;
}

.site-contact-band__social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.site-contact-band__social-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.2rem;
    padding: 0.45rem 0.55rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(159, 181, 209, 0.24);
    background: rgba(9, 24, 44, 0.58);
    color: #d5e6ff;
    text-decoration: none;
}

.site-contact-band__social-item i {
    width: 1rem;
    color: #85bcff;
}

.site-contact-band__social-item span {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.site-contact-band__social-item:hover {
    color: #ffffff;
    text-decoration: none;
    background: rgba(20, 44, 78, 0.76);
    border-color: rgba(136, 177, 223, 0.45);
}

.site-contact-band__copy {
    margin: 1rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(148, 184, 255, 0.2);
    color: rgba(213, 230, 255, 0.72);
    text-align: center;
    font-size: 0.85rem;
}

@media (max-width: 1100px) {
    .site-contact-band__grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .site-contact-band__social-card {
        grid-column: 1 / -1;
        min-height: auto;
    }

    .site-contact-band__social-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-contact-band {
        padding: 1.7rem 0;
    }

    .site-contact-band__grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .site-contact-band__social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-contact-band__text {
        max-width: none;
    }
}

.footer {
    margin-top: 2.2rem;
    padding: 3.4rem 0 2.7rem;
    border-top: 1px solid rgba(123, 156, 207, 0.2);
    background:
        radial-gradient(900px 420px at 10% 12%, rgba(51, 114, 199, 0.24) 0%, rgba(51, 114, 199, 0) 58%),
        linear-gradient(116deg, #050c18 0%, #081a34 52%, #040a14 100%);
    text-align: center;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(260px, 46%);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(123, 174, 245, 0.55), transparent);
    opacity: 0.85;
}

.footer__brand {
    margin: 0 0 0.5rem;
    font-weight: 800;
    font-size: clamp(1.7rem, 3.4vw, 2.3rem);
    letter-spacing: 0.01em;
    color: #f7fbff;
}

.footer__line {
    margin: 0 0 1rem;
    color: rgba(217, 233, 255, 0.82);
    font-size: 0.98rem;
}

.footer__copy {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(200, 220, 247, 0.7);
}

.footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin: 0 0 1rem;
}

.footer__social-link {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(214, 231, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 184, 255, 0.2);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer__social-link:hover {
    color: #ffffff;
    background: rgba(var(--accent-rgb), 0.22);
    border-color: rgba(var(--accent-rgb), 0.45);
    text-decoration: none;
    transform: translateY(-1px);
}

/* Scroll ile ortaya çıkan bloklar */
[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

[data-reveal]:target {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

[data-reveal]:target [data-reveal-stagger] > * {
    animation: none !important;
}

[data-reveal].is-visible [data-reveal-stagger] > * {
    animation: heroReveal 0.65s var(--ease-out) both;
}

[data-reveal].is-visible [data-reveal-stagger] > *:nth-child(1) {
    animation-delay: 0.05s;
}

[data-reveal].is-visible [data-reveal-stagger] > *:nth-child(2) {
    animation-delay: 0.12s;
}

[data-reveal].is-visible [data-reveal-stagger] > *:nth-child(3) {
    animation-delay: 0.19s;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .hero-slide.is-active .hero-video {
        transform: scale(1);
    }

    .hero-slide.is-active .hero-fallback {
        animation: none;
    }
}

@media (max-width: 768px) {
    .home-gallery-track {
        grid-auto-columns: minmax(210px, 78vw);
    }
}
