/**
 * Filiz Hoca Akademi (filizhoca.com) - Özel Kurumsal & Dijital Kampüs Stil Dosyası
 * Tam Responsive (Mobil, Tablet, Masaüstü) | Bootstrap 5.3 Uyumlu
 */

:root {
    --fh-red: #d32f2f;
    --fh-red-dark: #b71c1c;
    --fh-red-soft: #fef2f2;
    --fh-navy: #1e3c72;
    --fh-blue: #2a5298;
    --fh-dark: #0f172a;
    --fh-slate: #475569;
    --fh-bg: #f8fafc;
    --fh-gradient-navy: linear-gradient(135deg, #0f172a 0%, #1e3c72 55%, #2a5298 100%);
    --fh-gradient-red: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    --fh-gradient-hero: linear-gradient(125deg, #0f172a 0%, #1e3c72 50%, #991b1b 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--fh-bg);
    color: #1e293b;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Poppins', 'Inter', sans-serif;
}

/* Üst Bilgi ve Hızlı Kampüs Geçiş Çubuğu */
.topbar-campus {
    background: var(--fh-dark);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-campus a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s;
}

.topbar-campus a:hover {
    color: #fbbf24;
}

.app-switcher-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 500;
    font-size: 0.78rem;
}

.app-switcher-pill:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #fff !important;
}

/* Ana Navigasyon (Navbar) */
.navbar-fh {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    border-bottom: 3px solid var(--fh-red);
}

.navbar-fh .nav-link {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.55rem 0.95rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.navbar-fh .nav-link:hover,
.navbar-fh .nav-link.active {
    color: var(--fh-red);
    background-color: var(--fh-red-soft);
}

.btn-fh-red {
    background: var(--fh-gradient-red);
    color: #ffffff !important;
    border: none;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
    transition: all 0.2s ease;
}

.btn-fh-red:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.35);
    color: #ffffff !important;
}

.btn-fh-navy {
    background: var(--fh-gradient-navy);
    color: #ffffff !important;
    border: none;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.25);
    transition: all 0.2s ease;
}

.btn-fh-navy:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(30, 60, 114, 0.35);
    color: #ffffff !important;
}

/* Manşet (Hero) Bölümü */
.hero-section {
    background: var(--fh-gradient-hero);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 4.2rem 0 4.5rem;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* 8 Temel Özellik Rozet Kartları */
.feature-pill-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: all 0.22s ease;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-pill-card:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.feature-pill-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* 6 Eğitim Sekmesi (Tabs) */
.course-nav-pills .nav-link {
    background: #ffffff;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 600;
    margin: 4px;
    transition: all 0.2s ease;
}

.course-nav-pills .nav-link.active {
    background: var(--fh-gradient-navy);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(30, 60, 114, 0.25);
}

/* Dijital Kampüs Kutucukları (App Launcher - Bento Grid) */
.campus-launcher-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
}

.campus-launcher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.11);
    border-color: #cbd5e1;
}

.campus-launcher-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 16px;
}

.campus-live-badge {
    font-size: 0.76rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 20px;
}

/* Mobil Görünümde Kutucuk Optimizasyonu */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 2.5rem 0 3rem;
    }
    .campus-launcher-card {
        padding: 18px;
        border-radius: 16px;
    }
    .campus-launcher-icon {
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
        margin-bottom: 12px;
    }
}

/* Sabit WhatsApp Butonu */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* İnteraktif Flashcard (Kelime Kartı) */
.flashcard-box {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border: 2px solid #cbd5e1;
    border-radius: 20px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 24px;
    transition: all 0.25s ease;
    user-select: none;
}

.flashcard-box:hover {
    border-color: var(--fh-navy);
    box-shadow: 0 8px 24px rgba(30, 60, 114, 0.12);
}

@media print {
    .no-print, .topbar-campus, .navbar-fh, .whatsapp-float, footer {
        display: none !important;
    }
    body {
        background: #fff !important;
    }
}
