/* PakBina Özel Temiz & Ferah Tasarım Stilleri */

/* Font ve Temel Tipografi */
:root {
    --primary-blue: #0284c7;
    --primary-blue-dark: #0369a1;
    --primary-blue-light: #f0f9ff;
    --primary-teal: #0d9488;
    --primary-teal-dark: #0f766e;
    --primary-teal-light: #f0fdfa;
    --accent-emerald: #10b981;
    --accent-emerald-dark: #059669;
    --accent-emerald-light: #ecfdf5;
    --surface-bg: #ffffff;
    --surface-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #334155;
    --border-subtle: #cbd5e1;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    font-weight: 450;
    line-height: 1.6;
    letter-spacing: -0.011em;
    color: var(--text-main);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.025em;
    color: #0f172a;
}

/* ==========================================================================
   Kibar, Canlı ve Net Butonlar (Dikey Kayma Efektleri Tamamen Kaldırıldı)
   Üzerine gelince rengi dolarak değişir
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    border-radius: 0.625rem;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.25rem;
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
    color: #ffffff;
}

.btn-teal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--primary-teal);
    border: 1px solid var(--primary-teal);
    border-radius: 0.625rem;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.25rem;
}

.btn-teal:hover {
    background-color: var(--primary-teal-dark);
    border-color: var(--primary-teal-dark);
    color: #ffffff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    background-color: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 0.625rem;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.25rem;
}

.btn-secondary:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #25D366;
    border: 1px solid #20bd5a;
    border-radius: 0.625rem;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.25rem;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #0f7a6e;
    color: #ffffff;
}

/* Kibar ve Temiz Kartlar (Yumuşak, Kaymayan) */
.clean-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02);
}

.clean-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);
}

/* Kibar Form Inputları */
.clean-input {
    width: 100%;
    padding: 0.55rem 0.85rem;
    font-size: 0.875rem;
    color: #0f172a;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.clean-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.clean-select {
    width: 100%;
    padding: 0.55rem 2rem 0.55rem 0.85rem;
    font-size: 0.875rem;
    color: #0f172a;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.65rem center;
    background-repeat: no-repeat;
    background-size: 1.15em 1.15em;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.clean-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

/* Seçenek Kartları (İnteraktif Sihirbaz İçin) */
.option-card {
    border: 1.5px solid #e2e8f0;
    border-radius: 0.625rem;
    padding: 0.65rem 0.85rem;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
    user-select: none;
    background-color: #ffffff;
}

.option-card:hover {
    border-color: #93c5fd;
    background-color: #f8fafc;
}

.option-card.active {
    border-color: var(--primary-blue);
    background-color: #f0f9ff;
    color: #0369a1;
    font-weight: 600;
}

/* Mobil Menü & Drawer Animasyonu */
.mobile-drawer {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
    transform: translateX(0);
}

.mobile-drawer.closed {
    transform: translateX(100%);
}

.backdrop-overlay {
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* Toast Bildirimi */
#toast-container {
    position: fixed;
    bottom: 5.5rem;
    right: 1.25rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    #toast-container {
        left: 1rem;
        right: 1rem;
        bottom: 5.5rem;
    }
}

/* Mobil & Tablet Sabit Alt Bar (App Bar) Boşluğu */
@media (max-width: 1023px) {
    body {
        padding-bottom: 4.75rem;
    }
}

/* Modal Popup Açılış Animasyonu */
@keyframes modalScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.97);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-animate-in {
    animation: modalScaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* İnce ve Temiz Rozetler (Badges) */
.badge-soft-blue {
    background-color: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
}

.badge-soft-teal {
    background-color: #f0fdfa;
    color: #0d9488;
    border: 1px solid #99f6e4;
}

.badge-soft-emerald {
    background-color: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

/* ==========================================================================
   Okunabilirliği ve Anlaşılırlığı Yüksek Makale ve Sayfa Tipografisi
   ========================================================================== */
.article-prose {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #334155;
    word-break: break-word;
}

@media (max-width: 640px) {
    .article-prose {
        font-size: 0.98rem;
        line-height: 1.75;
    }
}

.article-prose h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.35;
    margin-top: 2.25rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

@media (min-width: 640px) {
    .article-prose h2 {
        font-size: 1.75rem;
    }
}

.article-prose h2::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 1.5rem;
    background: linear-gradient(180deg, #0284c7 0%, #0ea5e9 100%);
    border-radius: 4px;
    flex-shrink: 0;
}

.article-prose h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.015em;
    line-height: 1.4;
    margin-top: 1.85rem;
    margin-bottom: 0.85rem;
}

@media (min-width: 640px) {
    .article-prose h3 {
        font-size: 1.375rem;
    }
}

.article-prose p {
    margin-bottom: 1.35rem;
    color: #334155;
    letter-spacing: -0.005em;
}

.article-prose strong {
    font-weight: 700;
    color: #0f172a;
}

.article-prose ul {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding-left: 0.25rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.article-prose ul > li {
    position: relative;
    padding-left: 1.85rem;
    line-height: 1.75;
    color: #334155;
}

.article-prose ul > li::before {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 0.55rem;
    width: 0.6rem;
    height: 0.6rem;
    background-color: #0ea5e9;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.article-prose ol {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding-left: 0.25rem;
    list-style: none;
    counter-reset: prose-counter;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.article-prose ol > li {
    counter-increment: prose-counter;
    position: relative;
    padding-left: 2.35rem;
    line-height: 1.75;
    color: #334155;
}

.article-prose ol > li::before {
    content: counter(prose-counter);
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.375rem;
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0284c7;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.article-prose blockquote {
    margin: 1.75rem 0;
    padding: 1.15rem 1.35rem;
    background-color: #f8fafc;
    border-left: 4px solid #0284c7;
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
    color: #475569;
}

