/* Haydar Hoca'nın Sınıfı - Özel Stil Tanımları */
:root {
    --font-handwriting: 'Patrick Hand', 'Caveat', cursive;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.font-hand {
    font-family: var(--font-handwriting);
}

.font-caveat {
    font-family: 'Caveat', cursive;
}

/* Kart hover yumuşak yükselme */
.card-hover {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -10px rgba(15, 23, 42, 0.08);
}

/* Yumuşak kaydırma çubuğu */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Navigasyon aktif sekme alt çizgisi */
.nav-tab-active {
    position: relative;
    color: #0f172a !important;
    font-weight: 700 !important;
}
.nav-tab-active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 3px;
    background: #2563eb;
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
}

/* Mobil Alt Çubuk (Bottom Nav) & Safe Area Desteği */
.pb-safe {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 4.5rem);
}
.bottom-nav-safe {
    padding-bottom: max(env(safe-area-inset-bottom, 0px), 8px);
}

/* Yatay Kaydırma Çubuğunu Gizleme */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Mobil Çekmece Menü (Drawer) Animasyonu */
.mobile-drawer-backdrop {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease-in-out;
}
.mobile-drawer-backdrop.open,
.mobile-drawer-backdrop.opacity-100 {
    opacity: 1 !important;
    pointer-events: auto !important;
}
.mobile-drawer-panel {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-drawer-panel.open {
    transform: translateX(0%) !important;
}

/* Dokunmatik Geri Bildirim */
.touch-active:active {
    transform: scale(0.97);
    opacity: 0.9;
}

