:root {
    --accent: #00d4ff;
    --accent2: #00ff88;
    --accent3: #7c3aed;
    --accent4: #ff9f1c;
    --bg: #0b1522;
    --surface: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --text: #e2e8f0;
    --muted: #94a3b8;
}

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

html {
    scroll-behavior: smooth;
}

/* ── ARKAPLAN ── */
body {
    background: transparent;
    /* Background handled by #dynamic-bg */
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 13, 20, 0.28) 0%, rgba(10, 20, 35, 0.12) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Tüm içerik z-index > 0 olmalı */
body>* {
    position: relative;
    z-index: 1;
}

/* ── NAVBAR ── */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: rgba(11, 21, 34, 0.42);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s, border-bottom 0.3s;
}

.top-navbar.scrolled {
    background: rgba(11, 21, 34, 0.62);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-brand {
    margin-right: auto;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand .dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.3
    }
}

.nav-buttons {
    display: flex;
    align-items: center;
}

.nav-buttons-inner {
    display: flex;
    gap: 12px;
    align-items: center;
}

.menu-close-btn {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    transition: all 0.3s;
}

.btn-prominent {
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: all 0.3s;
}

.btn-devlog {
    background: var(--accent);
    color: #000;
}

.btn-tavsiye {
    background: var(--accent2);
    color: #000;
}

.btn-tools {
    background: var(--accent3);
    color: #fff;
}

.btn-afet {
    background: #ff5e36;
    color: #fff;
}

.btn-prominent:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.btn-prominent svg {
    width: 16px;
    height: 16px;
}

.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-lang-desktop {
    display: flex;
}

.nav-lang-mobile {
    display: none;
    margin-left: 10px;
}

.btn-lang {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(10, 25, 40, 0.72);
    color: #ffffff;
    letter-spacing: 0.4px;
    transition: all 0.25s ease;
    min-width: 46px;
    text-align: center;
}

.btn-lang:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 212, 255, 0.75);
    background: rgba(0, 212, 255, 0.18);
    color: #ffffff;
}

.btn-lang.active {
    background: linear-gradient(135deg, var(--accent), #4f46e5);
    border-color: transparent;
    color: #001018;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.35);
}

body {
    padding-top: 64px;
}

@media(max-width:1024px) {
    .top-navbar {
        padding: 12px 14px;
        gap: 6px;
    }

    .nav-brand {
        min-width: 0;
        font-size: 0.92rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-buttons {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(7, 13, 20, 0.65);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 2000;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .nav-buttons.active {
        display: flex;
    }

    .nav-buttons-inner {
        position: relative;
        background: rgba(15, 23, 42, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 68px 30px 30px 30px;
        border-radius: 24px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 90%;
        max-width: 320px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
        align-items: stretch;
        animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .menu-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 50%;
        color: var(--muted);
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .menu-close-btn:hover {
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        transform: scale(1.05);
    }

    .btn-prominent {
        justify-content: center;
    }

    .nav-lang-desktop {
        display: none;
    }

    .nav-lang-mobile {
        display: flex;
        margin-left: 6px;
        gap: 6px;
        flex-shrink: 0;
    }

    .btn-lang {
        padding: 8px 11px;
        font-size: 0.8rem;
        border: 1px solid rgba(255, 255, 255, 0.6);
        background: rgba(12, 30, 48, 0.88);
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
        min-width: 40px;
    }

    .btn-lang.active {
        box-shadow: 0 6px 18px rgba(0, 212, 255, 0.45);
    }
}

@media(max-width:400px) {
    .top-navbar {
        padding: 10px;
    }

    .nav-brand {
        font-size: 0.84rem;
        gap: 7px;
    }

    .nav-brand .dot {
        width: 7px;
        height: 7px;
    }

    .nav-lang-mobile {
        margin-left: 4px;
        gap: 4px;
    }

    .nav-lang-mobile .btn-lang {
        padding: 7px 9px;
        min-width: 36px;
        font-size: 0.75rem;
        letter-spacing: 0.2px;
    }

    .menu-toggle {
        padding: 7px;
    }
}

/* ── FULLSCREEN SCROLL TEXT BACKGROUND ── */
#dynamic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -10;
    background-color: var(--bg);
    transition: background-color 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}

#dynamic-bg-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 9vw, 12rem);
    font-weight: 900;
    color: #ffffff;
    opacity: 0.18;
    white-space: normal;
    text-align: center;
    line-height: 0.95;
    width: 100%;
    padding: 0 20px;
    word-wrap: break-word;
    text-transform: uppercase;
    transition: opacity 0.4s ease, transform 0.4s ease;
    user-select: none;
    pointer-events: none;
}

#dynamic-bg-text.out-up {
    opacity: 0;
    transform: translateY(-80px);
}

#dynamic-bg-text.out-down {
    opacity: 0;
    transform: translateY(80px);
}

#dynamic-bg-text.no-transition {
    transition: none !important;
}

/* ── GENEL SECTION ── */
.page-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

/* ── HERO ── */
#sec1 {
    min-height: 100vh;
    flex-direction: column;
    text-align: center;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

.profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 0 8px rgba(0, 212, 255, 0.07), 0 20px 60px rgba(0, 0, 0, 0.5);
    margin-bottom: 28px;
    animation: heroIn 0.9s ease 0.1s both;
}

.hero-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 16px;
    animation: heroIn 1s ease 0.2s both;
}

.hero-name .hl {
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slogan {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    color: var(--muted);
    font-style: italic;
    max-width: 520px;
    margin-bottom: 48px;
    animation: heroIn 1s ease 0.3s both;
    padding: 0 20px;
    position: relative;
    display: inline-block;
}

.hero-slogan::before,
.hero-slogan::after {
    color: #ff2a2a;
    /* Red quotation marks */
    font-size: 2.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    position: absolute;
    top: -10px;
}

.hero-slogan::before {
    content: '“';
    left: -10px;
}

.hero-slogan::after {
    content: '”';
    right: -10px;
}

/* Slogan satırları — masaüstünde inline, mobilde merdiven */
.slogan-line { display: inline; }
@media (max-width: 1024px) {
    .hero-slogan {
        display: block;
        width: fit-content;
        max-width: calc(90vw - 48px); /* tırnak boşlukları için */
        margin-left: auto;
        margin-right: auto;
        padding: 0 24px;
        text-align: left;
    }
    .slogan-line { display: block; }
    /* Her satır bir üst satırdaki ilk kelime kadar içeriden başlar */
    .slogan-line-1 { padding-left: 0; }
    .slogan-line-2 { padding-left: 5ch; }   /* "Asla " ≈ 5ch */
    .slogan-line-3 { padding-left: 15ch; }  /* "Asla " + "Her Zaman " ≈ 15ch */
    /* Kapama tırnak — container sağ-ALT köşesi (Zero Trust. hizası) */
    .hero-slogan::after {
        top: auto;
        bottom: -10px;
        right: -10px;
    }
}

/* [BUG-11 DUZELTILDI] hero-subtitle p etiketi icin stil (eski h2 stili korundu) */
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 24px;
    margin-top: -10px;
    font-weight: 500;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.5px;
    animation: heroIn 1s ease 0.25s both;
}

.scroll-cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    animation: heroIn 1s ease 0.6s both;
}

.scroll-cue .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 4px;
}

.scroll-cue .wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 3px;
    animation: wheel 2s ease infinite;
}

@keyframes wheel {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1
    }

    50% {
        transform: translateY(6px);
        opacity: 0.3
    }
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(-18px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* ── EDİTÖRYEL SECTION LAYOUT ── */
.ed-section {
    max-width: 1140px;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.ed-inner {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

/* Sol kenarda ince cyan çizgi (Masaüstü için) */
@media(min-width: 1025px) {
    .ed-inner::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(to bottom, var(--accent), transparent);
        border-radius: 3px;
    }
}

.ed-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    padding-left: 20px;
}

.ed-tag::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}

.ed-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 28px;
    padding-left: 20px;
}

.content-freshness {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: -2px 0 12px 20px;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: rgba(0, 212, 255, 0.92);
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.12);
}

.ed-body-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ed-body {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 2.15;
    letter-spacing: 0.02em;
    white-space: normal;
    padding: 24px;
    text-align: left;
    max-width: 100%;

    /* Glassmorphism Premium Card */
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.ed-body:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.ed-body::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: var(--accent);
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50%;
}

.text-bubble {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.8;
    padding: 0;
}

/* text-bubble:hover kaldırıldı veya boşaltıldı */
.text-bubble:hover {
    background: none;
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

@media(min-width: 1025px) {
    .ed-inner {
        display: grid;
        grid-template-columns: 150px 1fr;
        grid-template-rows: auto 1fr;
        gap: 0 60px;
        padding-left: 0;
    }

    .ed-inner::before {
        left: 180px;
    }

    .ed-tag {
        grid-column: 1;
        grid-row: 1;
        padding-left: 0;
        margin-bottom: 12px;
    }

    .ed-title {
        grid-column: 1;
        grid-row: 2;
        padding-left: 0;
        margin-bottom: 0;
    }

    #sec2 .ed-title,
    #sec3 .ed-title,
    #sec4 .ed-title {
        position: relative;
        align-self: center;
        justify-self: end;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        white-space: nowrap;
        margin-right: -20px;
        /* Çizgiye yakınlaştırmak için (180 - 150 - 20 = 10px boşluk) */
    }

    #sec2 .ed-inner .content-freshness,
    #sec3 .ed-inner .content-freshness,
    #sec4 .ed-inner .content-freshness {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
        align-self: start;
        margin: 0 0 14px 0;
    }

    #sec2 .ed-inner .content-freshness+.ed-body-container,
    #sec3 .ed-inner .content-freshness+.ed-body-container,
    #sec4 .ed-inner .content-freshness+.ed-body-container {
        grid-column: 2;
        grid-row: 2;
    }

    .ed-body {
        padding: 40px;
    }

    .vol-grid,
    .edu-list {
        padding-left: 0;
    }

    .ed-body-container,
    .vol-grid,
    .edu-list {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin-top: 0;
    }

    .ed-body-container {
        gap: 30px;
    }
}

/* Bölümler arası görsel ayırıcı */
.sec-divider {
    width: 100%;
    max-width: 1140px;
    height: 60px;
    /* Çizgi yerine sadece boşluk bırakıldı */
    margin: 0 auto;
}

.h-accent {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, var(--accent), transparent);
    margin-bottom: 22px;
}


/* ── EĞİTİM TİMELİNE ── */
.edu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.edu-item {
    position: relative;
    padding: 0 0 26px 28px;
    border-left: 2px solid rgba(0, 212, 255, 0.2);
}

.edu-item:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

.edu-item::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    left: -6px;
    top: 4px;
    box-shadow: 0 0 8px var(--accent);
}

.edu-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: 0.015em;
}

.edu-item p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.85;
    letter-spacing: 0.015em;
}

/* ── GÖNÜLLÜLÜK GRID ── */
.vol-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    margin-top: 32px;
}

.vol-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media(max-width:1024px) {
    .vol-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .vol-col {
        display: contents;
    }

    .kan-bagisi {
        order: 99;
    }
}

.vol-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 28px 24px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.vol-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: var(--accent);
    filter: blur(60px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50%;
}

.vol-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent3));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.vol-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.vol-card:hover::after {
    transform: scaleX(1);
}

.vol-card .icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: block;
}

.vol-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
}

.vol-card p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.75;
    white-space: pre-wrap;
}

/* Çalışmalar Listesi */
.calismalar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calismalar-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.3s, border-color 0.3s;
}

.calismalar-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.c-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}

/* Kan Bağışı Stats */
.kan-stats {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.k-stat {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.k-stat:hover {
    transform: translateY(-3px);
}

.k-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
    margin-bottom: 8px;
}

.k-label {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.k-total {
    background: rgba(255, 76, 76, 0.08);
    border-color: rgba(255, 76, 76, 0.2);
}

.k-total .k-num {
    color: #ff4c4c;
    text-shadow: 0 0 15px rgba(255, 76, 76, 0.4);
}

@media(max-width: 480px) {
    .kan-stats {
        flex-direction: column;
        gap: 12px;
    }

    .k-stat {
        padding: 16px 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .k-num {
        font-size: 1.8rem;
        margin-bottom: 0;
    }

    .k-label {
        text-align: right;
    }
}

/* ── GALERİ ── */
.gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 32px;
}

.gal-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    text-align: left;
    display: block;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    width: 100%;
}

.gal-item:hover {
    transform: scale(1.04);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.gal-item:hover img {
    transform: scale(1.08);
}

.gal-cap {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gal-item:hover .gal-cap {
    opacity: 1;
}

.gal-cap span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

/* ── SHORTS ── */
.shorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.short-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 9/16;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    background: #111;
}

.short-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    z-index: 5;
}

.short-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.short-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.short-card:hover .short-overlay {
    opacity: 1;
}

.short-play {
    width: 40px;
    height: 40px;
    background: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.short-play svg {
    width: 18px;
    height: 18px;
}

.short-title {
    font-size: 0.78rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.4;
}

/* ── FOOTER STYLE IS DEFINED BELOW ── */
/* ── SECTION CENTER ── */
.section-center {
    text-align: center;
    margin-bottom: 8px;
}

/* ── SABİT SOSYAL FAB GRUBU (KORUNAN) ── */
.fab-group {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    pointer-events: none;
}

.fab-links {
    display: grid;
    grid-template-columns: repeat(3, 44px);
    gap: 10px;
    padding: 14px;
    background: rgba(10, 20, 30, 0.90);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.92);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 32px;
    margin-right: 12px;
    transform-origin: bottom right;
    pointer-events: none;
}

.fab-links-header {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #00d4ff;
    letter-spacing: 0.5px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2px;
}

.fab-group.active .fab-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.fab-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    height: 44px;
    width: 44px;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.fab-item:hover {
    transform: scale(1.12);
}

.fab-linkedin {
    background: #0a66c2;
    box-shadow: none;
}

.fab-x {
    background: #000;
    box-shadow: none;
}

.fab-instagram {
    background: radial-gradient(circle at 30% 110%, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: none;
}

.fab-youtube {
    background: #ff0000;
    box-shadow: none;
}

.fab-tiktok {
    background: #010101;
    box-shadow: none;
}

.fab-facebook {
    background: #1877f2;
    box-shadow: none;
}

.fab-mail {
    background: #00d4ff;
    color: #000;
    box-shadow: none;
}

.fab-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: none;
}

.fab-whatsapp svg {
    pointer-events: none;
}

.fab-mail-separator {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 4px 0;
}

.fab-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-icon svg {
    width: 20px;
    height: 20px;
}

.fab-label {
    display: none;
}

.fab-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #19dcff 0%, #00aee6 100%);
    color: #03121b;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 174, 230, 0.3);
    transition: box-shadow 0.2s;
    z-index: 1000;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
}

.fab-toggle:hover {
    box-shadow: 0 6px 18px rgba(0, 174, 230, 0.45);
}

.fab-toggle svg {
    width: 22px;
    height: 22px;
    transition: all 0.3s;
    position: absolute;
}

.fab-toggle .icon-open {
    width: 20px;
    height: 20px;
}

.fab-toggle .icon-close {
    width: 18px;
    height: 18px;
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.fab-group.active .fab-toggle .icon-open {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.fab-group.active .fab-toggle .icon-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}



/* ── ÇEREZ VE BACK-TO-TOP (KORUNAN) ── */
.cookie-trigger {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9998;
    background: rgba(10, 20, 30, 0.88);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0s 0.3s;
}

.cookie-trigger.visible {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: transform 0.3s, opacity 0.3s, visibility 0s 0s;
}

.admin-trigger {
    position: fixed;
    bottom: 84px;
    left: 24px;
    z-index: 9998;
    background: rgba(37, 99, 235, 0.88);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
    text-decoration: none;
    color: #fff;
}

.admin-trigger:hover {
    transform: scale(1.1);
    background: #1d4ed8;
}

.cookie-banner {
    position: fixed;
    bottom: 84px;
    left: 24px;
    z-index: 9999;
    background: rgba(10, 20, 30, 0.88);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(150%);
    transition: transform 0.5s, visibility 0s 0.5s;
    pointer-events: none;
    visibility: hidden;
}

.cookie-banner.visible {
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
    transition: transform 0.5s, visibility 0s 0s;
}

.cookie-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
    display: block;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 8px 18px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
}

.cookie-btn-accept {
    background: #00d4ff;
    color: #000;
}

.cookie-btn-reject {
    background: transparent;
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-top {
    position: fixed;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: transparent;
    border: none;
    color: #00d4ff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: bottom 0.4s, transform 0.2s, color 0.3s;
    --scroll-progress: 0%;
}

.back-to-top.visible {
    bottom: 24px;
}

.back-to-top::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(#00d4ff var(--scroll-progress), rgba(255, 255, 255, 0.16) 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
}

.back-to-top::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: rgba(10, 20, 30, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.3s, border-color 0.3s;
}

.back-to-top-icon,
.back-to-top svg {
    position: relative;
    z-index: 1;
    display: block;
}

.back-to-top:hover {
    color: #000;
    transform: translateX(-50%) scale(1.1);
}

.back-to-top:hover::after {
    background: #00d4ff;
    border-color: #00d4ff;
}

.mobile-discover {
    position: fixed;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    border: 1px solid rgba(0, 212, 255, 0.35);
    color: #00d4ff;
    background: rgba(10, 20, 30, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 999px;
    height: 48px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: bottom 0.35s, transform 0.2s, color 0.3s, border-color 0.3s;
}

.mobile-discover-icon,
.mobile-discover svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-discover-text {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.mobile-discover.visible {
    bottom: 24px;
    transform: translateX(-120%);
}

.mobile-discover:hover {
    color: #7ee8ff;
    border-color: rgba(126, 232, 255, 0.7);
}

.back-to-top.visible.paired {
    bottom: 24px;
    left: 50%;
    transform: translateX(20%);
}

.back-to-top.visible.paired:hover {
    transform: translateX(20%) scale(1.08);
}

/* Modal */
.shorts-modal {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.shorts-modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-wrapper {
    position: relative;
    width: min(85vw, 340px);
    max-height: 80vh;
    max-height: 80dvh;
    max-width: min(85vw, calc(80vh * 9 / 16));
    transform: scale(0.9);
    transition: transform 0.3s;
}

.shorts-modal.active .modal-wrapper {
    transform: scale(1);
}

.modal-inner {
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 20px;
    overflow: hidden;
}

.modal-inner iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: #ff0000;
    border-radius: 50%;
    border: 2px solid #fff;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Video Modal (16:9 Landscape) */
.video-modal {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.video-modal.active {
    visibility: visible;
    opacity: 1;
}

.video-modal .modal-wrapper {
    position: relative;
    width: min(90vw, 800px);
    max-height: 85vh;
    max-height: 85dvh;
    max-width: min(90vw, calc(85vh * 16 / 9));
    transform: scale(0.9);
    transition: transform 0.3s;
}

.video-modal.active .modal-wrapper {
    transform: scale(1);
}

.video-modal .modal-inner {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-modal .modal-inner iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal .modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
}

.video-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .video-modal .modal-close {
        top: -45px;
        right: 10px;
    }
}

/* ── FOOTER ── */
.site-footer {
    text-align: center;
    padding: 40px 20px 100px 20px;
    background: rgba(11, 21, 34, 0.44);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
    font-size: 0.85rem;
    color: #999;
    width: 100%;
    z-index: 1;
    position: relative;
}

.site-footer p {
    color: var(--muted);
    font-size: 0.875rem;
    margin: 0;
}

.site-footer strong {
    color: var(--text);
    font-weight: 600;
}

.bottom-waves {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 160px;
    z-index: 0;
    pointer-events: none;
}

.bottom-waves svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* MOBİL OPTİMİZASYONLAR EKSTRA */
@media(max-width: 1024px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .page-section {
        padding: 48px 16px;
        min-height: auto;
    }

    .sec-divider {
        height: 48px;
    }

    #dynamic-bg-text {
        display: none;
    }

    #dynamic-bg {
        align-items: flex-start;
        padding-top: 40vh;
    }

    #sec1 {
        min-height: calc(100vh - 80px);
        min-height: calc(100dvh - 80px);
        justify-content: flex-start;
        padding-top: 16vh;
    }

    .ed-inner {
        padding: 0;
    }

    .ed-title {
        font-size: 2.2rem;
        margin-bottom: 24px;
        padding-left: 0;
    }

    #sec2 .ed-title,
    #sec3 .ed-title,
    #sec4 .ed-title,
    #sec5 .ed-title,
    #sec6 .ed-title,
    #sec7 .ed-title {
        margin-bottom: 8px !important;
    }

    #sec2 .content-freshness,
    #sec3 .content-freshness,
    #sec4 .content-freshness,
    #sec5 .content-freshness,
    #sec6 .content-freshness,
    #sec7 .content-freshness {
        margin: 0 0 14px 0 !important;
    }

    .ed-body {
        padding: 16px;
        border-radius: 16px;
    }

    .text-bubble {
        padding: 14px 16px;
    }

    .vol-card {
        padding: 20px 16px;
    }

    .gal-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }

    .shorts-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }

    .edu-item {
        padding: 0 0 20px 20px;
    }

    .cookie-trigger {
        bottom: 16px;
        left: 10px;
    }

    .admin-trigger {
        bottom: 72px;
        left: 10px;
    }

    .back-to-top.visible {
        bottom: 16px;
    }

    .mobile-discover {
        padding: 0 10px;
        gap: 6px;
    }

    .mobile-discover.visible {
        bottom: 16px;
        transform: translateX(calc(-100% - 3px));
    }

    .back-to-top.visible.paired {
        bottom: 16px;
        transform: translateX(3px);
    }

    .back-to-top.visible.paired:hover {
        transform: translateX(3px) scale(1.08);
    }

    .site-footer {
        padding-bottom: 100px;
        font-size: 0.75rem;
    }

    #galleryClose {
        top: 16px !important;
        right: 16px !important;
    }

    .fab-group {
        right: 10px;
        bottom: 16px;
    }
}

@media(max-width: 400px) {
    .gal-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

    .shorts-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }
}

#contactForm input,
#contactForm textarea {
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#contactForm input:focus,
#contactForm textarea:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--accent) !important;
    /* [KOD4] DUZELTME: Golge rengi temaya uygun cyan'a guncellendi (kirmiziydi) */
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

/* Blur-up Progressive Lazy Loading */
.blur-up {
    filter: blur(12px);
    opacity: 0.1;
    transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: filter, opacity;
}

.blur-up.loaded {
    filter: blur(0);
    opacity: 1;
}

/* MOBİL LANDSCAPE — Telefon yan çevrilince mobil görünüm korunur */
@media (max-height: 500px) and (orientation: landscape) {

    /* Navbar */
    .top-navbar {
        padding: 8px 14px;
        gap: 6px;
    }

    .nav-brand {
        font-size: 0.92rem;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-buttons {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(7, 13, 20, 0.65);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 2000;
        align-items: center;
        justify-content: center;
        padding: 20px;
        border-bottom: none;
    }

    .nav-buttons.active {
        display: flex;
    }

    .nav-buttons-inner {
        position: relative;
        background: rgba(15, 23, 42, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 56px 24px 20px 24px;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 90%;
        max-width: 320px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
        align-items: stretch;
        animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .menu-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 50%;
        color: var(--muted);
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .menu-close-btn:hover {
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        transform: scale(1.05);
    }

    .btn-prominent {
        justify-content: center;
    }

    .nav-lang-desktop {
        display: none;
    }

    .nav-lang-mobile {
        display: flex;
        margin-left: 6px;
        gap: 6px;
        flex-shrink: 0;
    }

    /* Hero bölümü */
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    #sec1 {
        min-height: calc(100vh - 80px);
        min-height: calc(100dvh - 80px);
        justify-content: flex-start;
        padding-top: 10vh;
    }

    /* İçerik bölümleri */
    .page-section {
        padding: 36px 16px;
        min-height: auto;
    }

    .sec-divider {
        height: 36px;
    }

    .ed-inner {
        padding: 0;
    }

    .ed-title {
        font-size: 2rem;
        margin-bottom: 16px;
        padding-left: 0;
    }

    .ed-body {
        padding: 14px;
        border-radius: 16px;
    }

    .text-bubble {
        padding: 12px 14px;
    }

    .vol-card {
        padding: 16px 14px;
    }

    .edu-item {
        padding: 0 0 16px 20px;
    }

    .gal-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }

    .shorts-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }

    #dynamic-bg-text {
        display: none;
    }

    #dynamic-bg {
        align-items: flex-start;
        padding-top: 20vh;
    }

    /* Masaüstü başlık çizgisi ve grid layout — landscape'de gizle */
    .ed-inner::before {
        display: none;
    }

    .ed-inner {
        display: block !important;
        grid-template-columns: unset !important;
    }

    #sec2 .ed-title,
    #sec3 .ed-title,
    #sec4 .ed-title {
        writing-mode: horizontal-tb !important;
        transform: none !important;
        text-align: left;
        justify-self: unset;
        align-self: unset;
        margin-right: 0;
        padding-left: 0;
        margin-bottom: 16px !important;
    }

    .ed-body-container,
    .vol-grid,
    .edu-list {
        grid-column: unset !important;
        grid-row: unset !important;
    }

    /* Sabit butonlar */
    .cookie-trigger {
        bottom: 12px;
        left: 10px;
    }

    .admin-trigger {
        bottom: 66px;
        left: 10px;
    }

    .back-to-top.visible {
        bottom: 12px;
    }

    .mobile-discover {
        padding: 0 10px;
        gap: 6px;
    }

    .mobile-discover.visible {
        bottom: 12px;
        transform: translateX(calc(-100% - 3px));
    }

    .back-to-top.visible.paired {
        bottom: 12px;
        transform: translateX(3px);
    }

    .back-to-top.visible.paired:hover {
        transform: translateX(3px) scale(1.08);
    }

    .fab-group {
        right: 10px;
        bottom: 12px;
    }

    .site-footer {
        padding-bottom: 80px;
        font-size: 0.75rem;
    }

    /* Shorts Modal — landscape'de ekrana sığdır */
    .shorts-modal {
        align-items: center;
        justify-content: center;
        padding: 8px;
    }

    /* Shorts: 9:16 video → yüksekliğe göre ölçekle */
    #shortsModal .modal-wrapper {
        width: auto !important;
        max-height: 92vh;
        max-height: 92dvh;
        aspect-ratio: 9 / 16;
        max-width: min(calc(92vh * 9 / 16), 90vw);
    }

    #shortsModal .modal-inner {
        width: 100%;
        height: 100%;
        aspect-ratio: unset;
    }

    #shortsModal .modal-close {
        top: 6px !important;
        right: 6px !important;
        width: 32px;
        height: 32px;
        font-size: 18px;
        position: absolute;
        z-index: 30;
    }

    /* Galeri Modal — landscape'de tam ekran, küçülme */
    #galleryModal .modal-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        aspect-ratio: unset !important;
    }

    #galleryModal .modal-inner {
        width: auto;
        height: auto;
        aspect-ratio: unset;
        background: transparent;
    }

    #galleryModalImg {
        max-width: min(800px, 90vw) !important;
        max-height: min(800px, 88vh) !important;
        max-height: min(800px, 88dvh) !important;
    }

    #galleryClose {
        top: 12px !important;
        right: 12px !important;
        pointer-events: auto !important;
    }
}

/* ── SEO ETİKET BULUTU (Footer içi — küçük versiyon) ── */
.seo-tags-footer {
    padding: 10px 24px 6px;
    /* border-top kaldırıldı */
}

.site-footer-copy {
    padding-top: 6px;
}

.seo-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.seo-tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 50px;
    font-size: 0.55rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.012);
    border: 1px solid rgba(255, 255, 255, 0.035);
    color: rgba(148, 163, 184, 0.22);
    cursor: default;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    user-select: none;
    line-height: 1.5;
}

.seo-tag-chip:hover {
    background: rgba(0, 212, 255, 0.04);
    border-color: rgba(0, 212, 255, 0.1);
    color: rgba(0, 212, 255, 0.45);
}

@media (max-width: 600px) {
    .seo-tags-footer {
        padding: 8px 16px 4px;
    }
    .seo-tag-chip {
        font-size: 0.52rem;
        padding: 1px 5px;
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ── AFET FARKINDALIGI SAYFASI LAYOUT ── */
.afet-grid-box {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.afet-grid-box:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
@media (max-width: 1024px) {
    .afet-grid-box {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        padding: 30px 20px !important;
    }
    .afet-img-col {
        float: none !important;
        width: 100% !important;
        max-width: 480px !important;
        margin: 0 auto 24px auto !important;
    }
    .afet-buttons-group {
        flex-direction: column !important;
        width: 100% !important;
        margin: 24px 0 0 0 !important;
        gap: 12px !important;
    }
    .afet-buttons-group .btn-afet-apply {
        width: 100% !important;
    }
}

/* ── AFET SÜRÜMÜ ÖZEL SINIFLAR ── */
.afet-main-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px 100px;
    flex: 1;
}
.afet-section {
    max-width: 1200px;
    width: 100%;
    position: relative;
    margin: 0 auto 50px auto;
}
.afet-inner {
    position: relative;
    z-index: 1;
    background: rgba(18, 30, 49, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.afet-video-inner {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(18, 30, 49, 0.75);
}
.afet-grid-box {
    display: flow-root;
}
.afet-text-col {
    display: block;
}
.afet-section:nth-of-type(odd) .afet-img-col {
    float: right;
    margin: 0 0 20px 40px;
    width: 380px;
    max-width: 100%;
}
.afet-section:nth-of-type(even) .afet-img-col {
    float: left;
    margin: 0 40px 20px 0;
    width: 380px;
    max-width: 100%;
}
.afet-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #fff;
    padding: 0;
    margin-bottom: 20px;
    font-size: 2rem;
    background: transparent;
}
.afet-inner:not(.afet-video-inner) .afet-title {
    border-left: 4px solid var(--accent);
    padding-left: 15px;
    display: flow-root;
}
.afet-section:nth-of-type(2) .afet-title {
    border-left-color: var(--accent2);
}
.afet-section:nth-of-type(3) .afet-title {
    border-left-color: var(--accent3);
}
.afet-section:nth-of-type(4) .afet-title {
    border-left-color: var(--accent4);
}
.afet-video-inner .afet-title {
    border-left: 4px solid #ff5e36;
    padding-left: 15px;
    margin-bottom: 30px;
    display: inline-block;
}
.afet-desc {
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.975rem;
    text-align: justify;
}
.afet-desc strong {
    color: #ffffff;
}
.afet-desc p {
    margin-top: 0;
    margin-bottom: 12px;
}
.afet-desc p:last-child {
    margin-bottom: 0;
}
.afet-img-col {
    display: flex;
    justify-content: center;
}
.afet-img-col img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.video-container-wrapper {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}
.video-aspect-box {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: #000;
}
.video-aspect-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto;
}

/* AFET HERO SECTION */
.hero-section {
    padding-top: 140px;
    padding-bottom: 60px;
    min-height: auto;
}
.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}
.hero-container .hero-name {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
}
.hero-container .hero-subtitle {
    margin-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* RESPONSIVE AFET OVERRIDES */
@media (max-width: 1024px) {
    .afet-main-container {
        padding: 0 10px 80px; /* Less outer padding on mobile */
    }
    .afet-inner {
        padding: 24px 16px; /* Less inner padding on mobile */
    }
    .afet-video-inner {
        padding: 24px 8px; /* Extra tiny padding for video section on mobile to maximize size */
    }
    .afet-video-inner .video-aspect-box {
        border-radius: 10px; /* slightly smaller border-radius on small screens */
    }
    .afet-title {
        font-size: 1.6rem;
    }
    .afet-desc {
        font-size: 0.925rem;
    }
}

/* TABLET-SPECIFIC OVERRIDES (HOME & AFET) */
@media (min-width: 641px) and (max-width: 1024px) {
    /* Afet Sayfası İçerik & Resim Alanı */
    .afet-main-container {
        padding: 0 30px 80px !important;
    }
    .afet-inner {
        padding: 40px !important;
    }
    .afet-title {
        font-size: 2rem !important;
    }
    .afet-desc {
        font-size: 1.15rem !important;
    }
    .hero-container .hero-name {
        font-size: 2.8rem !important;
    }
    .hero-container .hero-subtitle {
        font-size: 1.35rem !important;
        line-height: 1.6 !important;
    }
    .hero-container .afet-how-link {
        font-size: 1.1rem !important;
        padding: 12px 24px !important;
    }

    /* Footer Alanları */
    .site-footer {
        padding-bottom: 100px !important;
        font-size: 0.9rem !important;
    }
    .afet-footer {
        padding: 45px 30px 110px 30px !important;
    }
    .afet-footer-copy {
        font-size: 1rem !important;
    }
    .afet-social-icon svg {
        width: 24px !important;
        height: 24px !important;
    }

    /* Yapışkan / Sabit Elemanlar & Tetikleyiciler */
    .cookie-trigger {
        bottom: 24px !important;
        left: 24px !important;
        width: 54px !important;
        height: 54px !important;
        font-size: 1.6rem !important;
    }
    .admin-trigger {
        bottom: 90px !important;
        left: 24px !important;
        width: 54px !important;
        height: 54px !important;
        font-size: 1.6rem !important;
    }
    .back-to-top.visible {
        bottom: 24px !important;
        width: 54px !important;
        height: 54px !important;
    }
    .back-to-top svg {
        width: 26px !important;
        height: 26px !important;
    }
    .back-to-top.visible.paired {
        bottom: 24px !important;
        transform: translateX(6px) !important;
    }
    .mobile-discover {
        height: 54px !important;
        padding: 0 18px !important;
    }
    .mobile-discover svg {
        width: 24px !important;
        height: 24px !important;
    }
    .mobile-discover-text {
        font-size: 0.9rem !important;
    }
    .mobile-discover.visible {
        bottom: 24px !important;
        transform: translateX(calc(-100% - 6px)) !important;
    }
    .fab-group {
        bottom: 24px !important;
        right: 24px !important;
    }
    .fab-toggle {
        width: 54px !important;
        height: 54px !important;
    }
    .fab-toggle .icon-open {
        width: 24px !important;
        height: 24px !important;
    }
    .fab-toggle .icon-close {
        width: 22px !important;
        height: 22px !important;
    }
    .fab-icon {
        width: 50px !important;
        height: 50px !important;
    }
    .fab-icon svg {
        width: 24px !important;
        height: 24px !important;
    }

    /* Çerez Aydınlatma Bildirimi */
    .cookie-banner {
        bottom: 90px !important;
        left: 24px !important;
        max-width: 420px !important;
        padding: 24px !important;
        gap: 20px !important;
    }
    .cookie-banner p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    .cookie-title {
        font-size: 1.1rem !important;
    }
    .cookie-btn {
        padding: 10px 22px !important;
        font-size: 0.9rem !important;
    }
}

/* AFET APPLY BUTTON */
.btn-afet-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #00d4ff;
    color: #0b1522;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.25);
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 24px;
}
.btn-afet-apply:hover {
    background: #fff;
    color: #0b1522;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(255, 255, 255, 0.3);
}

.afet-buttons-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 30px;
}
.afet-buttons-group .btn-afet-apply {
    margin-top: 0;
    width: auto;
    min-width: 220px;
}
.btn-afet-gonullu {
    background: transparent;
    color: var(--accent2);
    border: 2px solid var(--accent2);
    box-shadow: none;
}
.btn-afet-gonullu:hover {
    background: rgba(0, 255, 136, 0.1);
    color: #fff;
    border-color: #fff;
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.15);
}

/* ── AFET FOOTER SÜRÜMÜ ── */
.afet-footer {
    background: rgba(11,21,34,0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 20px 50px;
    position: relative;
    z-index: 10;
}
.afet-footer-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.afet-footer-copy {
    font-size: 0.9rem;
    color: var(--muted);
}
.afet-footer-socials {
    display: flex;
    gap: 15px;
}
.afet-social-icon {
    color: var(--muted);
    transition: color 0.3s ease;
}
.afet-social-icon:hover {
    color: var(--accent);
}

@media (max-width: 1024px) {
    .afet-footer {
        padding: 40px 20px 110px 20px; /* extra bottom padding pushes copyright & icons above scroll-to-top button */
    }
    .afet-footer-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 20px;
    }
    .afet-footer-socials {
        justify-content: center;
        width: 100%;
        gap: 20px;
    }
}

/* AFET HOW-TO GUIDE LINK */
.afet-how-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--how-accent, var(--accent2));
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    background: var(--how-bg, rgba(0, 255, 136, 0.04));
    border: 1px solid var(--how-border, rgba(0, 255, 136, 0.12));
    border-radius: 10px;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.afet-how-link:hover {
    color: #fff !important;
    background: var(--how-hover-bg, rgba(0, 255, 136, 0.12));
    border-color: var(--how-hover-border, rgba(0, 255, 136, 0.25));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--how-shadow, rgba(0, 255, 136, 0.08));
}
.afet-how-link svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.afet-how-link:hover svg {
    transform: scale(1.1);
}
