@charset "UTF-8";

/* ==========================================================================
   DİNAMİK MARKA & TEMA DEĞİŞKENLERİ (FALLBACK METİNLERİ İLE)
   ========================================================================== */
:root {
    --brand-50: #eef2ff;
    --brand-100: #e0e7ff;
    --brand-200: #c7d2fe;
    --brand-300: #a5b4fc;
    --brand-400: #818cf8;
    --brand-500: #6366f1;
    --brand-600: #4f46e5;
    --brand-700: #4338ca;
    --brand-800: #3730a3;
    --brand-900: #312e81;

    --gradient-start: #6366f1;
    --gradient-end: #0ea5e9;

    --tema-radius: 12px;
    --tema-radius-sm: calc(var(--tema-radius) * 0.6);
    --tema-radius-lg: calc(var(--tema-radius) * 1.5);
    --tema-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    --tema-buton-radius: 9999px;
    --tema-font-heading: "Inter", system-ui, sans-serif;
    --tema-font-body: "Inter", system-ui, sans-serif;
}

/* ==========================================================================
   TEMEL DOKUMA VE TIPOGRAFİ
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--tema-font-body);
    color: #0f172a;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font {
    font-family: var(--tema-font-heading);
    letter-spacing: -0.02em;
}

/* ==========================================================================
   CSS CUSTOM PROPERTY - TAILWIND DESTEK UTILITIES
   ========================================================================== */

/* Brand Backgrounds */
.bg-brand-50 {
    background-color: var(--brand-50);
}
.bg-brand-100 {
    background-color: var(--brand-100);
}
.bg-brand-200 {
    background-color: var(--brand-200);
}
.bg-brand-300 {
    background-color: var(--brand-300);
}
.bg-brand-400 {
    background-color: var(--brand-400);
}
.bg-brand-500 {
    background-color: var(--brand-500);
}
.bg-brand-600 {
    background-color: var(--brand-600);
}
.bg-brand-700 {
    background-color: var(--brand-700);
}
.bg-brand-800 {
    background-color: var(--brand-800);
}
.bg-brand-900 {
    background-color: var(--brand-900);
}

/* Brand Text Colors */
.text-brand-50 {
    color: var(--brand-50);
}
.text-brand-100 {
    color: var(--brand-100);
}
.text-brand-200 {
    color: var(--brand-200);
}
.text-brand-300 {
    color: var(--brand-300);
}
.text-brand-400 {
    color: var(--brand-400);
}
.text-brand-500 {
    color: var(--brand-500);
}
.text-brand-600 {
    color: var(--brand-600);
}
.text-brand-700 {
    color: var(--brand-700);
}
.text-brand-800 {
    color: var(--brand-800);
}
.text-brand-900 {
    color: var(--brand-900);
}

/* Brand Border Colors */
.border-brand-50 {
    border-color: var(--brand-50);
}
.border-brand-100 {
    border-color: var(--brand-100);
}
.border-brand-200 {
    border-color: var(--brand-200);
}
.border-brand-300 {
    border-color: var(--brand-300);
}
.border-brand-400 {
    border-color: var(--brand-400);
}
.border-brand-500 {
    border-color: var(--brand-500);
}
.border-brand-600 {
    border-color: var(--brand-600);
}
.border-brand-700 {
    border-color: var(--brand-700);
}
.border-brand-800 {
    border-color: var(--brand-800);
}
.border-brand-900 {
    border-color: var(--brand-900);
}

/* Hover Background Colors */
.hover\:bg-brand-50:hover {
    background-color: var(--brand-50);
}
.hover\:bg-brand-100:hover {
    background-color: var(--brand-100);
}
.hover\:bg-brand-200:hover {
    background-color: var(--brand-200);
}
.hover\:bg-brand-300:hover {
    background-color: var(--brand-300);
}
.hover\:bg-brand-400:hover {
    background-color: var(--brand-400);
}
.hover\:bg-brand-500:hover {
    background-color: var(--brand-500);
}
.hover\:bg-brand-600:hover {
    background-color: var(--brand-600);
}
.hover\:bg-brand-700:hover {
    background-color: var(--brand-700);
}
.hover\:bg-brand-800:hover {
    background-color: var(--brand-800);
}
.hover\:bg-brand-900:hover {
    background-color: var(--brand-900);
}

/* Hover Text Colors */
.hover\:text-brand-50:hover {
    color: var(--brand-50);
}
.hover\:text-brand-100:hover {
    color: var(--brand-100);
}
.hover\:text-brand-200:hover {
    color: var(--brand-200);
}
.hover\:text-brand-300:hover {
    color: var(--brand-300);
}
.hover\:text-brand-400:hover {
    color: var(--brand-400);
}
.hover\:text-brand-500:hover {
    color: var(--brand-500);
}
.hover\:text-brand-600:hover {
    color: var(--brand-600);
}
.hover\:text-brand-700:hover {
    color: var(--brand-700);
}
.hover\:text-brand-800:hover {
    color: var(--brand-800);
}
.hover\:text-brand-900:hover {
    color: var(--brand-900);
}

/* Hover Border Colors */
.hover\:border-brand-50:hover {
    border-color: var(--brand-50);
}
.hover\:border-brand-100:hover {
    border-color: var(--brand-100);
}
.hover\:border-brand-200:hover {
    border-color: var(--brand-200);
}
.hover\:border-brand-300:hover {
    border-color: var(--brand-300);
}
.hover\:border-brand-400:hover {
    border-color: var(--brand-400);
}
.hover\:border-brand-500:hover {
    border-color: var(--brand-500);
}
.hover\:border-brand-600:hover {
    border-color: var(--brand-600);
}
.hover\:border-brand-700:hover {
    border-color: var(--brand-700);
}
.hover\:border-brand-800:hover {
    border-color: var(--brand-800);
}
.hover\:border-brand-900:hover {
    border-color: var(--brand-900);
}

/* Shadow & Radius Custom Utilities */
.shadow-soft {
    box-shadow: var(--tema-shadow);
}
.rounded-tema {
    border-radius: var(--tema-radius);
}
.rounded-tema-btn {
    border-radius: var(--tema-buton-radius);
}

/* ==========================================================================
   ÖZEL BİLEŞENLER (COMPONENTS)
   ========================================================================== */

/* Nav Link Hover Efekti */
.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    opacity: 0;
    transform: translateY(4px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
    opacity: 1;
    transform: translateY(0);
}

/* Dinamik Tema Butonları */
.btn-brand {
    background-color: var(--brand-600);
    color: #ffffff;
    border-radius: var(--tema-buton-radius);
    font-weight: 700;
    transition: all 0.2s ease;
}
.btn-brand:hover {
    background-color: var(--brand-700);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-brand-soft {
    background-color: var(--brand-50);
    color: var(--brand-600);
    border-radius: var(--tema-buton-radius);
    font-weight: 700;
    transition: all 0.2s ease;
}
.btn-brand-soft:hover {
    background-color: var(--brand-600);
    color: #ffffff;
}

/* Hero Gradient Kutuları */
.bg-hero-gradient {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

/* ==========================================================================
   ULTIMATE PRO RICH-TEXT (ZENGİN METİN) STİLLERİ
   ========================================================================== */

.icerik-alani {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.8;
    word-break: break-word;
}

/* --- 1. Başlıklar (H1 - H6) --- */
.icerik-alani h1,
.icerik-alani h2,
.icerik-alani h3,
.icerik-alani h4,
.icerik-alani h5,
.icerik-alani h6 {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.icerik-alani h1 {
    font-size: 2.25rem;
    border-bottom: 3px solid #e2e8f0;
    padding-bottom: 0.5rem;
}
.icerik-alani h2 {
    font-size: 1.75rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.4rem;
}
.icerik-alani h3 {
    font-size: 1.35rem;
}
.icerik-alani h4 {
    font-size: 1.15rem;
}
.icerik-alani h5 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}
.icerik-alani h6 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

/* Başlıktan sonra gelen ilk paragrafın entegrasyonu */
.icerik-alani h1 + p,
.icerik-alani h2 + p,
.icerik-alani h3 + p {
    margin-top: 0.5rem;
}

/* --- 2. Paragraflar ve Metin Yapıları --- */
.icerik-alani p {
    margin-bottom: 1.25rem;
}

.icerik-alani lead,
.icerik-alani .lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: #475569;
}

/* --- 3. Listeler (UL, OL, LI) --- */
.icerik-alani ul,
.icerik-alani ol {
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
}

.icerik-alani ul {
    list-style-type: disc;
}

.icerik-alani ol {
    list-style-type: decimal;
}

.icerik-alani li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.icerik-alani li::marker {
    color: #d97706; /* Sitenizin ana vurgu rengine uyumlu sıcak ton */
    font-weight: 600;
}

/* İç içe listeler */
.icerik-alani li ul,
.icerik-alani li ol {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* --- 4. Alıntılar (Blockquote) --- */
.icerik-alani blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid #d97706;
    background: linear-gradient(to right, #fffbeb, #ffffff);
    color: #78350f;
    font-style: italic;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.icerik-alani blockquote p:last-child {
    margin-bottom: 0;
}

/* --- 5. Tablolar (Table, Th, Td) --- */
.icerik-alani .table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
}

.icerik-alani table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background-color: #ffffff;
    text-align: left;
    margin: 0;
}

.icerik-alani th,
.icerik-alani td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.icerik-alani th {
    background-color: #f8fafc;
    color: #1e293b;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
}

.icerik-alani tr:last-child td {
    border-bottom: none;
}

.icerik-alani tr:hover td {
    background-color: #fcfcfc;
}

/* --- 6. Görseller ve Figürler (Figure & Figcaption) --- */
.icerik-alani figure {
    margin: 2rem 0;
    text-align: center;
}

.icerik-alani img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    display: block;
}

.icerik-alani figcaption {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.75rem;
    font-style: italic;
}

/* --- 7. Yatay Çizgi (HR) --- */
.icerik-alani hr {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #cbd5e1, transparent);
    margin: 3rem 0;
}

/* --- 8. Kod Blokları & Inline Kod --- */
.icerik-alani code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.875rem;
    background-color: #f1f5f9;
    color: #e11d48;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.icerik-alani pre {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 1.25rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.5rem 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.icerik-alani pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
    border: none;
}

/* --- 9. Detay / Akordiyon (Details & Summary) --- */
.icerik-alani details {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    transition: background-color 0.2s;
}

.icerik-alani details[open] {
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.icerik-alani summary {
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    outline: none;
    user-select: none;
}

.icerik-alani details p:first-of-type {
    margin-top: 1rem;
}

/* --- 10. Önemli Vurgular ve Klavye Tuşları --- */
.icerik-alani mark {
    background-color: #fef08a;
    color: #713f12;
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
}

.icerik-alani kbd {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-bottom-width: 2px;
    border-radius: 4px;
    color: #334155;
    font-family: monospace;
    font-size: 0.8rem;
    padding: 0.1rem 0.4rem;
}

/* --- 11. Linkler --- */
.icerik-alani a {
    color: #d97706;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 0.2s;
}

.icerik-alani a:hover {
    color: #b45309;
}

.icerik-alani :is(h1, h2, h3, h4) {
    color: #1f2937;
    font-weight: 800;
    line-height: 1.3;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}
.galeri-tile {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f3f4f6;
}
.galeri-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.galeri-tile:hover img {
    transform: scale(1.06);
}

.skeleton-shimmer {
    background: linear-gradient(90deg, #eef0f2 25%, #f7f8f9 37%, #eef0f2 63%);
    background-size: 400% 100%;
    animation: blogShimmer 1.4s ease infinite;
}
@keyframes blogShimmer {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}
#blogContainer {
    transition: opacity 0.25s ease;
}

/* ---- Özellik bölümü ortak scroll ---- */
.ozellik-scroll::-webkit-scrollbar {
    width: 5px;
}
.ozellik-scroll::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 999px;
}

body.mobil-ozellik-acik {
    overflow: hidden;
}

.belge-fade-in {
    animation: belgeFadeIn 0.45s ease both;
}
@keyframes belgeFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.belge-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.belge-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}
.belge-modal-box {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    width: 100%;
    max-width: 880px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.94) translateY(12px);
    opacity: 0;
    transition:
        transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
        opacity 0.28s ease;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.35);
}
.belge-modal-backdrop.active .belge-modal-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.belge-modal-body {
    flex: 1;
    overflow: auto;
    background: #0f172a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}
.belge-modal-body img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.25s ease;
    margin: auto;
}
.belge-modal-body img.zoomed {
    cursor: zoom-out;
    transform: scale(1.6);
}
.belge-card-thumb {
    position: relative;
    overflow: hidden;
}
.belge-card-thumb img {
    transition: transform 0.5s ease;
}
.belge-card:hover .belge-card-thumb img {
    transform: scale(1.06);
}
.belge-type-chip {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    text-transform: uppercase;
}
.verify-card {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.verify-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.18);
}
.copy-btn {
    transition: color 0.15s ease;
}
.copy-btn:hover {
    color: var(--tw-color-theme, #0f766e);
}

/* ---- Dual range fiyat slider ---- */
.dual-range-wrap {
    position: relative;
    height: 22px;
}
.dual-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 22px;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
}
.dual-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--brand-600);;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    margin-top: 0;
}
.dual-range::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--brand-600);;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}
.dual-range::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    background: transparent;
    height: 22px;
}
.dual-range::-moz-range-track {
    background: transparent;
    height: 22px;
}

/* ---- Filtre akordeonu (bölge/ilçe) ---- */
.filtre-acordeon summary {
    list-style: none;
    cursor: pointer;
}
.filtre-acordeon summary::-webkit-details-marker {
    display: none;
}
.filtre-acordeon .fa-chevron {
    transition: transform 0.2s ease;
}
.filtre-acordeon[open] .fa-chevron {
    transform: rotate(180deg);
}

/* ---- Kapasite chip ---- */
.kapasite-chip { 
    transition: all .15s ease; 
}
.kapasite-chip.aktif { 
    background: var(--brand-600); 
	color: #fff; 
	border-color: var(--brand-600); 
}
.kapasite-chip:has(input:checked) {
    background: var(--brand-600);
    color: #fff;
    border-color: var(--brand-600);
}

/* ---- Filtre bölümü ortak scroll ---- */
.filtre-scroll::-webkit-scrollbar {
    width: 5px;
}
.filtre-scroll::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 999px;
}

body.mobil-filtre-acik {
    overflow: hidden;
}
