/*
 * Şehir Etkinlik Dili — Afiş / Gece rehberi
 * Konsept: poster havası, sıcak altın vurgu, derinlik, güçlü tipografi
 */
:root {
    --night: #0f1419;
    --night-end: #1a2332;
    --gold: #c9a227;
    --gold-light: #e5c65c;
    --gold-soft: rgba(201, 162, 39, 0.12);
    --cream: #faf8f5;
    --cream-end: #f2efe8;
    --card: #ffffff;
    --text: #1c1917;
    --muted: #57534e;
    --border: #e7e5e4;
    --font: 'Segoe UI', system-ui, sans-serif;
    --font-head: Georgia, 'Times New Roman', serif;
    --w: 44rem;
    --space: 1.75rem;
    --radius: 8px;
    --ease: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: 0.3s cubic-bezier(0.33, 1, 0.68, 1);
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-hover: 0 16px 48px rgba(0,0,0,0.12);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body { position: relative; }

/* İçeriğe atla — klavye ile görünür */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0.5rem;
    z-index: 1001;
    padding: 0.5rem 1rem;
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--night);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: left var(--ease), opacity var(--ease), transform var(--ease);
}
.skip-link:focus {
    left: 1rem;
    outline: 2px solid var(--gold-light);
    outline-offset: 2px;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-end) 100%);
    background-attachment: fixed;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========== HEADER — gece gradyan, altın dokunuş ========== */
.site-header {
    background: linear-gradient(135deg, var(--night) 0%, var(--night-end) 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.site-header::after {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.8;
}
.header-inner {
    position: relative;
    max-width: 78rem;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
/* Header/footer: liste işareti yok */
.site-header ul,
.site-footer ul,
.nav-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.site-header li,
.site-footer li { list-style: none; }
.logo {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    color: #fff;
    text-decoration: none;
    transition: color var(--ease), text-shadow var(--ease);
}
.logo:hover {
    color: var(--gold-light);
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
}

.nav-toggle {
    display: none;
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: #fff;
    cursor: pointer;
    border-radius: var(--radius);
    align-items: center;
    justify-content: center;
    transition: background var(--ease), border-color var(--ease);
}
.nav-toggle:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--gold);
}
.nav-toggle:focus-visible,
.main-nav a:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 2px;
}
.nav-toggle span {
    display: block;
    width: 1.15rem;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    margin: 3px 0;
    transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

.main-nav { display: flex; align-items: center; }
.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.25rem;
}
.main-nav a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 6px;
    position: relative;
    transition: color var(--ease), background var(--ease), box-shadow var(--ease);
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.35rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    border-radius: 1px;
    transition: transform var(--ease-out);
}
.main-nav a:hover {
    color: #fff;
    background: rgba(201, 162, 39, 0.15);
    box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.25);
}
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a[href="index.php"].active,
body.page-index .main-nav a[href="index.php"] { color: var(--gold-light); }
.main-nav a[href="about.php"].active,
body.page-about .main-nav a[href="about.php"] { color: var(--gold-light); }
.main-nav a[href="glossary.php"].active,
body.page-glossary .main-nav a[href="glossary.php"] { color: var(--gold-light); }
.main-nav a[href="cities.php"].active,
body.page-cities .main-nav a[href="cities.php"] { color: var(--gold-light); }
.main-nav a[href="standup.php"].active,
body.page-standup .main-nav a[href="standup.php"] { color: var(--gold-light); }
.main-nav a[href="concerts.php"].active,
body.page-concerts .main-nav a[href="concerts.php"] { color: var(--gold-light); }
.main-nav a[href="festivals.php"].active,
body.page-festivals .main-nav a[href="festivals.php"] { color: var(--gold-light); }
.main-nav a[href="cinema.php"].active,
body.page-cinema .main-nav a[href="cinema.php"] { color: var(--gold-light); }
.main-nav a[href="scenarios.php"].active,
body.page-scenarios .main-nav a[href="scenarios.php"] { color: var(--gold-light); }
.main-nav a[href="blog.php"].active,
body.page-blog .main-nav a[href="blog.php"] { color: var(--gold-light); }
.main-nav a[href="faq.php"].active,
body.page-faq .main-nav a[href="faq.php"] { color: var(--gold-light); }
.main-nav a[href="contact.php"].active,
body.page-contact .main-nav a[href="contact.php"] { color: var(--gold-light); }

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, var(--night-end) 0%, var(--night) 100%);
        padding: 0.75rem 1.5rem 1.25rem;
        box-shadow: 0 12px 32px rgba(0,0,0,0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
        max-height: min(80vh, 400px);
        overflow-y: auto;
    }
    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav-list { flex-direction: column; gap: 0; }
    .main-nav a {
        padding: 0.85rem 0.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .main-nav a:last-child { border-bottom: none; }
}

/* ========== MAIN — güçlü başlıklar, giriş animasyonu ========== */
.main-content {
    max-width: var(--w);
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    min-height: 55vh;
}
.main-content > h1 {
    animation: fadeInUp 0.5s var(--ease-out) both;
}
.main-content > .hero-media,
.main-content > .content-block:first-of-type,
.main-content > p:first-of-type {
    animation: fadeInUp 0.5s var(--ease-out) 0.1s both;
}
.main-content h1 {
    font-family: var(--font-head);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem;
    color: var(--text);
    line-height: 1.25;
    position: relative;
    padding-bottom: 0.75rem;
}
.main-content h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 4rem;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}
.main-content h2 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--text);
}
.main-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.35rem 0 0.5rem;
    color: var(--muted);
}
.main-content p {
    margin: 0 0 1.1rem;
    color: var(--text);
}

/* Bağlantılar — altın tema, alt çizgi yok */
.main-content a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--ease), background var(--ease), box-shadow var(--ease);
}
.main-content a:hover {
    color: #a6851e;
    background: var(--gold-soft);
    box-shadow: 0 0 0 2px var(--gold-soft);
    border-radius: 2px;
}
.main-content a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
/* Tüm bağlantılar alt çizgisiz */
.main-content a,
.footer-nav a,
.cookie-banner a { text-decoration: none; }

/* Listeler — 1. 2. veya ok işareti yok; nokta veya çizgi */
.main-content ul:not(.card-list):not(.nav-list):not(.cookie-options):not(.glossary-list),
.main-content ol {
    margin: 0 0 1.25rem;
    padding-left: 0;
    list-style: none;
}
.main-content ul:not(.card-list):not(.nav-list):not(.cookie-options):not(.glossary-list) li {
    margin-bottom: 0.55rem;
    padding-left: 1.5rem;
    position: relative;
}
.main-content ul:not(.card-list):not(.nav-list):not(.cookie-options):not(.glossary-list) li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
}
.main-content ol.step-list {
    counter-reset: step;
}
.main-content ol.step-list li {
    margin-bottom: 0.85rem;
    padding-left: 3rem;
    position: relative;
    counter-increment: step;
}
.main-content ol.step-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--night);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.main-content ol:not(.step-list) li {
    margin-bottom: 0.55rem;
    padding-left: 1.5rem;
    position: relative;
}
.main-content ol:not(.step-list) li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
}

/* Tablo — kart gibi */
.main-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.main-content th,
.main-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.main-content th {
    background: linear-gradient(180deg, #f8f7f5 0%, #f0eeeb 100%);
    font-weight: 600;
    color: var(--text);
}
.main-content tr:last-child td { border-bottom: none; }
.main-content tr:hover td { background: var(--gold-soft); }

/* Checklist */
.main-content .checklist {
    list-style: none;
    padding-left: 0;
    margin: 1.25rem 0;
}
.main-content .checklist li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.6rem;
    padding-top: 0.2rem;
}
.main-content .checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 1.1em;
    height: 1.1em;
    border: 2px solid var(--gold);
    background: var(--card);
    border-radius: 4px;
    box-sizing: border-box;
}

/* Timeline — altın çizgi */
.main-content .timeline {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
    border-left: 4px solid var(--gold);
    margin-left: 0.75rem;
    padding-left: 1.5rem;
}
.main-content .timeline li { margin-bottom: 1.25rem; }
.main-content .timeline time {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gold);
    display: block;
    margin-bottom: 0.3rem;
}

/* Hata kutusu — sıcak uyarı */
.main-content .errors-box {
    background: linear-gradient(135deg, #fffbf5 0%, #fef8ee 100%);
    border-left: 4px solid var(--gold);
    padding: 1.25rem 1.35rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow);
}
.main-content .errors-box h3 { margin: 0 0 0.6rem; font-size: 1.05rem; color: var(--text); }
.main-content .errors-box ul { margin: 0; padding-left: 1.35rem; }
.main-content .errors-box li { margin-bottom: 0.4rem; }

.main-content .internal-links { margin: 1.75rem 0; font-size: 0.95rem; }
.main-content .internal-links a { margin-right: 0.85rem; }

.contact-info {
    list-style: none;
    padding-left: 0;
    margin: 1.25rem 0;
}
.contact-info li { margin-bottom: 0.75rem; }
.contact-info a { color: var(--gold); }
.contact-info a:hover { color: #a6851e; }

.main-content figure { margin: 1.5rem 0; }
.main-content figure img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
img[loading="lazy"] { max-width: 100%; height: auto; }

/* İçerik bloğu — PC/notebook: görsel + metin yan yana; telefon: sütun (görsel üstte) */
.content-block {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin: 1.75rem 0;
}
@media (min-width: 769px) {
    .content-block {
        flex-direction: row;
        flex-wrap: nowrap;
    }
}
.content-block .media {
    flex: 0 1 400px;
    min-width: 0;
    min-height: 200px;
}
.content-block .media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.content-block .text { flex: 1 1 320px; min-width: 0; }
.content-block .text p:first-child { margin-top: 0; }
.media-placeholder {
    aspect-ratio: 4/3;
    min-height: 220px;
    background: linear-gradient(135deg, var(--gold-soft) 0%, rgba(201, 162, 39, 0.06) 100%);
    border-radius: var(--radius);
    border: 2px dashed rgba(201, 162, 39, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .content-block {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 1.25rem;
    }
    .content-block .media {
        order: 1;
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        min-height: 0;
    }
    .content-block .text { order: 2; }
    .content-block .media img { width: 100%; }
    .media-placeholder { min-height: 200px; }
}

/* Hero alanı — tam genişlik, daha vurucu */
.hero-media {
    margin: 0 -1.5rem 2rem;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
@media (min-width: 640px) {
    .hero-media { margin-left: 0; margin-right: 0; border-radius: var(--radius); }
}
.hero-media img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s var(--ease-out);
}
.hero-media:hover img { transform: scale(1.02); }
.hero-media .media-placeholder { min-height: 220px; aspect-ratio: auto; }

/* Form bloğu — ayrı sayfa öğesi, kutu + altın çizgi */
.form-block {
    margin: 2.5rem 0;
    padding: 2rem 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 5px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow);
}
.form-block-title {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text);
}
.form-block-desc {
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    color: var(--muted);
}
.form-wrap {
    max-width: 28rem;
    margin: 0 auto;
    padding: 0;
}
.privacy-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}
.privacy-form input,
.privacy-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--ease), box-shadow var(--ease);
}
.privacy-form input:focus,
.privacy-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-soft);
}
.privacy-form p { margin-bottom: 1.1rem; }
.privacy-form .form-row-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}
.privacy-form .form-row-checkbox input[type="checkbox"] {
    width: auto;
    max-width: none;
    margin-top: 0.25rem;
    flex-shrink: 0;
}
.privacy-form .form-row-checkbox label {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 0.9rem;
}
.privacy-form .btn-submit {
    padding: 0.7rem 1.5rem;
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--night);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    transition: transform var(--ease), box-shadow var(--ease);
}
.privacy-form .btn-submit:hover {
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
    transform: translateY(-1px);
}
.privacy-form .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
.form-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 4px solid #16a34a;
    padding: 1rem 1.2rem;
    margin-bottom: 1.25rem;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Toast — form sonrası bildirim, tamamen kaybolur */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    max-width: min(90vw, 24rem);
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--night) 0%, var(--night-end) 100%);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    z-index: 1002;
    font-size: 0.95rem;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out), opacity 0.3s var(--ease-out), visibility 0s 0.4s;
}
.toast.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: transform 0.35s var(--ease-out), opacity 0.3s var(--ease-out), visibility 0s 0s;
}
.toast.toast-error {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
}

/* ========== KARTLAR — grid, hover ölçek + gölge ========== */
.card-list {
    display: grid;
    gap: 1.1rem;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
@media (min-width: 560px) {
    .card-list { grid-template-columns: repeat(2, 1fr); }
}
.card-list a {
    display: block;
    padding: 1.25rem 1.35rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 5px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: transform var(--ease-out), box-shadow var(--ease-out), border-left-color var(--ease);
}
.card-list a:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--gold-light);
}
.card-list a:active {
    transform: translateY(-2px) scale(0.99);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.card-list a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.card-list a strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
    color: var(--text);
}

/* ========== SÖZLÜK ========== */
.glossary-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
}
.glossary-list li {
    margin-bottom: 1.35rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--border);
}
.glossary-list dt {
    font-family: var(--font-head);
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text);
    font-size: 1.05rem;
    transition: color var(--ease);
}
.glossary-list dt:hover {
    color: var(--gold);
}
.glossary-list dd {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* ========== FOOTER — gece ile uyum ========== */
.site-footer {
    background: linear-gradient(135deg, var(--night) 0%, var(--night-end) 100%);
    color: rgba(255,255,255,0.9);
    margin-top: 3rem;
    padding: 2rem 1.5rem;
}
.site-footer::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.8;
    margin-bottom: 2rem;
}
.footer-inner {
    max-width: var(--w);
    margin: 0 auto;
    text-align: center;
}
.footer-tagline {
    font-weight: 600;
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: #fff;
}
.footer-nav { margin: 0.75rem 0; }
.footer-nav a {
    margin: 0 0.75rem;
    color: var(--gold-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--ease), text-shadow var(--ease);
}
.footer-nav a:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(201, 162, 39, 0.4);
}
.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin: 0.75rem 0 0;
}

/* ========== ÇEREZ BANNER — gece + altın ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--night-end) 0%, var(--night) 100%);
    border-top: 4px solid var(--gold);
    padding: 1.5rem 1.5rem;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.25);
    z-index: 1000;
    display: none;
    animation: slideUp 0.4s var(--ease-out) both;
}
.cookie-banner[aria-hidden="false"] { display: block; }
.cookie-banner-inner { max-width: var(--w); margin: 0 auto; }
.cookie-banner p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}
.cookie-banner a {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--ease);
}
.cookie-banner a:hover { color: #fff; }
.cookie-buttons { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-buttons .btn {
    padding: 0.6rem 1.1rem;
    cursor: pointer;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 500;
    transition: transform var(--ease), box-shadow var(--ease);
}
.cookie-buttons .btn-reject {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.9);
}
.cookie-buttons .btn-reject:hover {
    background: rgba(255,255,255,0.08);
}
.cookie-buttons .btn-accept {
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
    border: none;
    color: var(--night);
}
.cookie-buttons .btn-accept:hover {
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
    transform: translateY(-1px);
}

.cookie-settings-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 25, 0.7);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: var(--space);
}
.cookie-settings-modal[aria-hidden="false"] { display: flex; }
.modal-inner {
    background: var(--card);
    padding: 1.75rem;
    max-width: 26rem;
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 24px 56px rgba(0,0,0,0.2);
    border-top: 4px solid var(--gold);
}
.modal-inner h2 {
    margin-top: 0;
    font-size: 1.3rem;
    color: var(--text);
    font-family: var(--font-head);
}
.cookie-options {
    list-style: none;
    padding-left: 0;
    margin: 0.75rem 0 0;
}
.cookie-options li { list-style: none; }
.cookie-options li { margin-bottom: 0.6rem; }
.badge.on { color: #16a34a; font-weight: 700; }
.modal-buttons { margin-top: 1.25rem; display: flex; gap: 0.6rem; }
.modal-buttons .btn {
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    border-radius: var(--radius);
    font-family: inherit;
    font-weight: 500;
    transition: background var(--ease), transform var(--ease);
}
.modal-buttons .btn-save {
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--night);
    border: none;
}
.modal-buttons .btn-save:hover { transform: translateY(-1px); }

/* ========== FAQ AKORDİYON — tıklanabilir sorular ========== */
.faq-accordion {
    margin: 0 0 1.5rem;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    overflow: hidden;
    background: var(--card);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: box-shadow var(--ease), border-color var(--ease);
}
.faq-item:hover {
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.faq-item.is-open {
    border-left: 4px solid var(--gold);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.faq-trigger {
    width: 100%;
    padding: 1rem 1.15rem;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: background var(--ease), color var(--ease);
}
.faq-trigger::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gold);
    flex-shrink: 0;
    transition: transform var(--ease);
}
.faq-item.is-open .faq-trigger::after {
    transform: rotate(45deg);
}
.faq-trigger:hover {
    background: var(--gold-soft);
    color: var(--night);
}
.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--ease-out);
}
.faq-panel p {
    margin: 0;
    padding: 0 1.15rem 1rem;
    padding-top: 0;
    font-size: 0.98rem;
    line-height: 1.65;
}
.faq-item.is-open .faq-panel {
    max-height: 40rem;
}

/* ========== YUKARI ÇIK BUTONU ========== */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--night);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    transition: transform var(--ease), box-shadow var(--ease), opacity var(--ease);
}
.back-to-top.is-visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(201, 162, 39, 0.5);
}
.back-to-top.is-visible:hover {
    transform: scale(1.1);
}
.back-to-top:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* İçerik blokları — hafif gecikmeli giriş */
.content-block {
    transition: transform var(--ease);
}
.content-block .media img {
    transition: transform 0.4s var(--ease-out);
}
.content-block:hover .media img {
    transform: scale(1.03);
}

/* Scroll ile görünür olunca animasyon — .in-view JS ile eklenir; .js-ready ile başlangıç gizlemesi */
body.js-ready .content-block:not(.in-view),
body.js-ready .card-list:not(.in-view),
body.js-ready .glossary-list:not(.in-view),
body.js-ready .errors-box:not(.in-view),
body.js-ready .faq-accordion:not(.in-view) {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.content-block.in-view,
.card-list.in-view,
.glossary-list.in-view,
.errors-box.in-view,
.faq-accordion.in-view {
    opacity: 1;
    transform: translateY(0);
}
body.js-ready .card-list:not(.in-view) li,
.card-list.in-view li {
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
body.js-ready .card-list:not(.in-view) li {
    opacity: 0;
    transform: translateY(10px);
}
.card-list.in-view li:nth-child(1) { transition-delay: 0s; }
.card-list.in-view li:nth-child(2) { transition-delay: 0.05s; }
.card-list.in-view li:nth-child(3) { transition-delay: 0.1s; }
.card-list.in-view li:nth-child(4) { transition-delay: 0.15s; }
.card-list.in-view li:nth-child(5) { transition-delay: 0.2s; }
.card-list.in-view li:nth-child(6) { transition-delay: 0.25s; }
.card-list.in-view li:nth-child(n+7) { transition-delay: 0.3s; }
.card-list.in-view li {
    opacity: 1;
    transform: translateY(0);
}
