:root {
    --primary-500: #f3123d;
    --primary-600: #d40f36;

    --neutral-900: #222222;
    --neutral-700: #666666;
    --neutral-500: #8f8f8f;
    --neutral-300: #bebebe;
    --neutral-200: #dcdcdc;
    --neutral-150: #ececec;
    --neutral-100: #f6f6f6;
    --neutral-50: #ffffff;

    --surface-green: #e9f8e7;
    --surface-blue: #f2f3fa;
    --surface-yellow: #fff7e3;
    --surface-pink: #fff3f5;

    --border-soft: 1px solid rgba(102, 102, 102, 0.12);
    --border-light: 1px solid rgba(102, 102, 102, 0.08);

    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-900);
    background-color: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header: varsayılan iç sayfalar (açık zemin, okunaklı) */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: var(--border-soft);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 32px;
}

.header-logo {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: var(--neutral-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius);
    transition: var(--transition);
    text-shadow: none;
}

.nav-link:hover {
    color: var(--primary-500);
    background: transparent;
}

/* Aktif sayfa: pembe kutu yerine sade alt çizgi göstergesi */
.nav-link.active {
    color: var(--primary-500);
    background: transparent;
    font-weight: 600;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary-500);
}

/* Menü ikonları yalnızca mobil panelde görünür */
.nav-link i {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-login,
.btn-register,
.btn-account {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
    cursor: pointer;
}

button.btn-login {
    border: 1px solid var(--neutral-200);
}
button.btn-register {
    border: none;
}

.btn-login {
    color: var(--neutral-900);
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    text-shadow: none;
}

.btn-login:hover {
    color: var(--primary-500);
    border-color: rgba(243, 18, 61, 0.35);
    background: var(--surface-pink);
}

.btn-register {
    color: var(--neutral-50);
    background: var(--primary-500);
    border: none;
}

.btn-register:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-account {
    color: var(--neutral-50);
    background: var(--primary-500);
    border: none;
}

.btn-account:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-cikis {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--neutral-200);
    color: var(--neutral-700);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-cikis:hover {
    background: var(--neutral-300);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--neutral-900);
    cursor: pointer;
    padding: 8px;
    text-shadow: none;
}

/* Ana sayfa: hero üzerinde cam menü + açık renkli metin */
.page-home .main-header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.page-home .nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-home .nav-link:hover {
    color: var(--neutral-50);
    background: rgba(255, 255, 255, 0.12);
}

.page-home .nav-link.active {
    color: var(--neutral-50);
    background: transparent;
    font-weight: 600;
}

.page-home .nav-link.active::after {
    background: var(--neutral-50);
}

.page-home button.btn-login {
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-home .btn-login {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.page-home .btn-login:hover {
    color: var(--neutral-50);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
}

.page-home .mobile-menu-toggle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Footer */
.main-footer {
    background: var(--neutral-900);
    color: var(--neutral-200);
    padding: 48px 0 24px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3.footer-title,
.footer-section h4.footer-heading {
    color: var(--neutral-50);
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
}

.footer-text {
    color: var(--neutral-300);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--neutral-300);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-500);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--neutral-500);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 16px;
    }
    
    .nav-list {
        gap: 4px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    /* Masaüstü yatay menü mobilde gizli; yerine alt bar + açılır panel (.m-sheet) var */
    .main-nav {
        display: none;
    }

    .header-actions {
        gap: 8px;
    }
    
    .btn-login,
    .btn-register,
    .btn-account {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .btn-login span,
    .btn-register span,
    .btn-account span {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}


/* ===================== Mobil alt navigasyon (yuvarlak yüzen bar) ===================== */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 4px;
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: calc(14px + env(safe-area-inset-bottom));
        z-index: 1100;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 999px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
        padding: 8px 10px;
    }

    .mbn-item {
        flex: 1;
        min-width: 0;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        background: none;
        border-radius: 999px;
        text-decoration: none;
        color: var(--neutral-700);
        cursor: pointer;
        font-family: inherit;
        transition: all 0.2s ease;
    }

    .mbn-item i {
        font-size: 21px;
        line-height: 1;
    }

    .mbn-item:active {
        transform: scale(0.92);
    }

    /* Aktif öğe: yuvarlak hafif vurgu + kırmızı ikon (pembe kutu değil) */
    .mbn-item.active {
        color: var(--primary-500);
        background: var(--neutral-100);
    }

    /* Menü butonu açıkken vurgulansın */
    .mbn-menu-btn[aria-expanded="true"] {
        color: var(--primary-500);
        background: var(--neutral-100);
    }

    /* İçeriğin yüzen barın altına girmemesi için boşluk bırak */
    body {
        padding-bottom: calc(86px + env(safe-area-inset-bottom));
    }

    /* Çerez bildirimi yüzen barın üstünde dursun */
    .cerez-banner {
        bottom: calc(92px + env(safe-area-inset-bottom));
    }

    /* Üstteki burger artık alt bardaki "Menü" ile değiştirildi */
    .mobile-menu-toggle {
        display: none;
    }
}


/* ===================== Mobil açılır menü paneli (bottom sheet) ===================== */
/* Header dışında durur; backdrop-filter'lı header'ın containing-block tuzağından etkilenmez */
.m-sheet {
    position: fixed;
    inset: 0;
    z-index: 1400;
    background: rgba(17, 24, 39, 0.45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.m-sheet.open {
    opacity: 1;
    visibility: visible;
}

.m-sheet-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--neutral-50);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -12px 44px rgba(0, 0, 0, 0.22);
    padding: 8px 16px calc(18px + env(safe-area-inset-bottom));
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.m-sheet.open .m-sheet-panel {
    transform: translateY(0);
}

/* Sürükleme tutamacı */
.m-sheet-panel::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    margin: 6px auto 4px;
    border-radius: 999px;
    background: var(--neutral-200);
}

.m-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 4px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--neutral-150);
}

.m-sheet-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--neutral-900);
}

.m-sheet-close {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--neutral-100);
    border-radius: 50%;
    color: var(--neutral-700);
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.m-sheet-close:active {
    background: var(--neutral-200);
}

.m-sheet-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--neutral-900);
    font-weight: 600;
    font-size: 15.5px;
}

.m-sheet-link i {
    display: inline-flex;
    justify-content: center;
    width: 24px;
    font-size: 18px;
    color: var(--neutral-500);
}

.m-sheet-link:active {
    background: var(--neutral-100);
}

.m-sheet-link.active {
    color: var(--primary-500);
    background: var(--neutral-100);
}

.m-sheet-link.active i {
    color: var(--primary-500);
}


/* ===================== Footer (yenilendi) ===================== */
.site-footer {
    background: #111827;
    color: #cbd5e1;
    font-size: 14px;
}
.site-footer .footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
.footer-top { padding: 48px 0 36px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr 1.2fr;
    gap: 36px;
}
.footer-logo {
    font-family: 'Urbanist', 'Quicksand', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}
.footer-brand-text { line-height: 1.65; color: #9ca3af; margin: 0 0 18px; max-width: 360px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    transition: all 0.18s ease;
}
.footer-social a:hover { background: #f3123d; color: #fff; }
.footer-vet-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 11px 20px;
    border-radius: 6px;
    background: #f3123d;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.18s ease;
}
.footer-vet-btn:hover { background: #d40f36; }
.footer-vet-btn i { font-size: 15px; }
.footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.footer-links a { color: #9ca3af; text-decoration: none; transition: color 0.15s ease; }
.footer-links a:hover { color: #fff; }

/* Şehir listesi (SEO) */
.footer-sehirler { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 30px 0; }
.footer-sehirler-baslik { margin-bottom: 18px; }
.footer-sehir-liste {
    list-style: none; margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px 18px;
}
.footer-sehir-liste a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s ease;
}
.footer-sehir-liste a:hover { color: #f3123d; }

/* Alt bar */
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 18px 0; }
.footer-bottom-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; flex-wrap: wrap;
}
.footer-copy { margin: 0; color: #6b7280; font-size: 13px; }
.footer-bottom-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom-links a { color: #9ca3af; text-decoration: none; font-size: 13px; }
.footer-bottom-links a:hover { color: #fff; }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* Çerez bildirimi */
.cerez-banner {
    position: fixed;
    left: 16px; right: 16px; bottom: 16px;
    z-index: 13000;
    background: #1f2937;
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.cerez-banner[hidden] { display: none; }
.cerez-banner-inner {
    max-width: 1240px; margin: 0 auto;
    padding: 16px 20px;
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.cerez-banner-inner p { margin: 0; flex: 1; min-width: 240px; font-size: 13.5px; line-height: 1.55; }
.cerez-banner-inner a { color: #f3123d; text-decoration: underline; }
.cerez-btn-kabul {
    background: #f3123d; color: #fff; border: none;
    border-radius: 8px; padding: 11px 24px;
    font-size: 14px; font-weight: 700; cursor: pointer;
    font-family: inherit; white-space: nowrap;
}
.cerez-btn-kabul:hover { background: #d40f36; }

/* ===================== Kurumsal/legal sayfalar ===================== */
.kurumsal-main { background: #f8fafc; min-height: 60vh; padding: 90px 0 60px; }
.kurumsal-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.kurumsal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; align-items: start; }
.kurumsal-icerik { min-width: 0; }
.kurumsal-kart { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 36px 40px; }
.yasal-sidebar {
    position: sticky; top: 96px;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 20px 16px;
}
.yasal-sidebar-baslik {
    font-family: 'Urbanist','Quicksand',sans-serif; font-size: 13px; font-weight: 700;
    color: #64748b; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.05em;
}
.yasal-sidebar nav ul { list-style: none; margin: 0; padding: 0; }
.yasal-sidebar nav li + li { margin-top: 4px; }
.yasal-sidebar nav a {
    display: block; padding: 10px 12px; border-radius: 0px 0px 6px 0px;
    color: #374151; text-decoration: none; font-size: 14px; line-height: 1.45;
    border-left: 3px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.yasal-sidebar nav a:hover { background: #f8fafc; color: #111827; }
.yasal-sidebar nav a.aktif {
    background: #fef2f2; color: #f3123d; border-left-color: #f3123d; font-weight: 600;
}
.kurumsal-kart h1 { font-family: 'Urbanist','Quicksand',sans-serif; font-size: 28px; color: #111827; margin: 0 0 6px; }
.kurumsal-tarih { color: #94a3b8; font-size: 13px; margin: 0 0 24px; }
.kurumsal-kart h2 { font-size: 18px; color: #111827; margin: 26px 0 10px; }
.kurumsal-kart h3 { font-size: 16px; color: #111827; margin: 20px 0 8px; font-weight: 600; }
.kurumsal-kart p, .kurumsal-kart li { color: #374151; line-height: 1.75; font-size: 15px; }
.kurumsal-kart ul { padding-left: 20px; margin: 8px 0 16px; }
.kurumsal-kart a { color: #f3123d; text-decoration: underline; }
.kurumsal-tablo-wrap { overflow-x: auto; margin: 12px 0 20px; -webkit-overflow-scrolling: touch; }
.kurumsal-tablo { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
.kurumsal-tablo th,
.kurumsal-tablo td { border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top; color: #374151; line-height: 1.55; }
.kurumsal-tablo th { background: #f8fafc; font-weight: 600; color: #111827; }
.kurumsal-not { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: 12px 16px; color: #9a3412; font-size: 13.5px; line-height: 1.6; margin-top: 24px; }
@media (max-width: 960px) {
    .kurumsal-layout { grid-template-columns: 1fr; }
    .yasal-sidebar { position: static; order: -1; }
}
@media (max-width: 560px) { .kurumsal-kart { padding: 24px 20px; } }
