/* ═══════════════════════════════════════════
   site.css — Global / Shared Styles
   Her sayfada _Layout.cshtml üzerinden yüklenir.
   Nav, Footer, Lang, Hamburger, Animations burada.
   Sayfa CSS'leri SADECE kendi özel stillerini içerir.
   ═══════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
    --navy: #0f2248;
    --navy-mid: #1a3461;
    --navy-light: #d8e0ef;
    --accent: #1e3d7b;
    --gold: #c9a84c;
    --text: #1a1a2e;
    --text-muted: #5a6a8a;
    --bg: #e8e3db;
    --bg-card: #f2ede6;
    --white: #f2ede6;
    --border: #c8c1b5;
}

/* ── Reset ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* ── Lang Toggle Logic ── */
[data-lang] { display: none; }
body.lang-tr [data-lang="tr"] { display: block; }
body.lang-en [data-lang="en"] { display: block; }
.stat-label[data-lang] { display: none; }
body.lang-tr .stat-label[data-lang="tr"] { display: block; }
body.lang-en .stat-label[data-lang="en"] { display: block; }
body.lang-tr [data-lang="tr"].inline { display: inline; }
body.lang-en [data-lang="en"].inline { display: inline; }
body.lang-tr [data-lang="tr"].flex { display: flex; }
body.lang-en [data-lang="en"].flex { display: flex; }
.always { display: block; }
.always-flex { display: flex; }
.always-inline { display: inline; }

/* ── Navbar ── */
nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #0f2248;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-divider {
    color: rgba(255,255,255,0.2);
    font-weight: 300;
    margin: 0 10px;
    font-size: 1rem;
}

.nav-surname {
    color: var(--gold);
    font-style: italic;
}

.nav-logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-links a:hover { color: #ffffff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }

.lang-toggle {
    display: flex;
    gap: 0;
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    overflow: hidden;
}

.lang-btn {
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.5);
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.lang-btn.active {
    background: var(--gold);
    color: #0f2248;
}

.badge-soon {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: var(--gold);
    color: #0f2248;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* ── Hamburger & Mobile Menu ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #0a1a3a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 5%;
    z-index: 99;
    flex-direction: column;
    gap: 0;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.2s;
    letter-spacing: 0.02em;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); }

.mobile-lang {
    display: flex;
    gap: 8px;
    padding-top: 16px;
    margin-top: 4px;
}

.mobile-lang button {
    padding: 6px 16px;
    border-radius: 6px;
    border: 1.5px solid rgba(255,255,255,0.2);
    background: transparent;
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s;
}

.mobile-lang button.active {
    background: var(--gold);
    color: #0f2248;
    border-color: var(--gold);
}

/* ── Footer ── */
footer {
    background: #080f1e;
    padding: 64px 5% 0;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-wordmark {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: white;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 12px;
    display: block;
}

.footer-wordmark span { color: var(--gold); }

.footer-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    max-width: 260px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: all 0.2s;
}

.footer-social a:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(201,168,76,0.08);
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copy {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.2);
}

.footer-tagline {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.2);
    font-style: italic;
}

.footer-rights {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.2);
    white-space: nowrap;
}

/* ── Shared Helpers ── */
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background: var(--gold);
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background: var(--gold);
}

/* ── Animations ── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: none;
}

.hero-fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-fade.visible {
    opacity: 1;
    transform: none;
}

/* ── Shared Buttons ── */
.btn-primary {
    display: inline-block;
    padding: 13px 28px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: var(--navy-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 34, 72, 0.22);
}

.btn-secondary {
    padding: 13px 28px;
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    font-family: 'DM Sans', sans-serif;
}

.btn-secondary:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

/* ── Global Responsive ── */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
    .footer-top { grid-template-columns: 1fr; }
}

/* ── COOKIE BANNER ── */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    max-width: 340px;
    box-shadow: 0 8px 32px rgba(15,34,72,0.12);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    animation: cookieSlide 0.4s ease;
}

@keyframes cookieSlide {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-banner.hidden {
    display: none;
}

.cookie-title {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--navy);
}

.cookie-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
}

    .cookie-text a {
        color: var(--navy);
        text-decoration: underline;
    }

.cookie-btn {
    padding: 9px 20px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    align-self: flex-start;
    transition: opacity 0.2s;
}

    .cookie-btn:hover {
        opacity: 0.85;
    }

@media (max-width: 480px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        max-width: none;
        bottom: 12px;
    }
}