/* ==========================================================================
   TOKTAŞ SÜRÜCÜ KURSU - ÖZEL KURUMSAL TEMA (KIRMIZI - SİYAH - BEYAZ)
   Ultra Modern, Mobil Uyumlu, Yüksek Dönüşüm Odaklı Tasarım
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary-red: #DC2626;
    --primary-red-hover: #B91C1C;
    --primary-red-light: #FEE2E2;
    --primary-red-glow: rgba(220, 38, 38, 0.35);
    --secondary-dark: #0B0F19;
    --dark-surface: #111827;
    --dark-card: #1E293B;
    --dark-border: rgba(255, 255, 255, 0.1);
    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
    --shadow-red: 0 10px 30px -5px var(--primary-red-glow);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--secondary-dark);
    letter-spacing: -0.02em;
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-red-hover);
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
    background: var(--secondary-dark);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar a {
    color: var(--white);
}

.topbar a:hover {
    color: var(--primary-red);
}

.topbar-badge {
    background: rgba(220, 38, 38, 0.2);
    color: #F87171;
    border: 1px solid rgba(220, 38, 38, 0.4);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: var(--transition);
}

.navbar-brand img {
    height: 48px;
    object-fit: contain;
}

.nav-link {
    font-weight: 600;
    color: var(--secondary-dark) !important;
    padding: 8px 16px !important;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-red) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary-red);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-red), #B91C1C);
    color: var(--white) !important;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: var(--shadow-red);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -5px rgba(220, 38, 38, 0.5);
    background: linear-gradient(135deg, #EF4444, var(--primary-red));
}

.btn-dark-custom {
    background: var(--secondary-dark);
    color: var(--white) !important;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: var(--radius-md);
    border: 1px solid var(--dark-border);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-dark-custom:hover {
    background: #1E293B;
    color: var(--white) !important;
    transform: translateY(-2px);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary-red) !important;
    font-weight: 700;
    padding: 11px 24px;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary-red);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: var(--primary-red);
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #0B0F19 0%, #1E293B 100%);
    position: relative;
    padding: 90px 0 110px;
    color: var(--white);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-red-glow) 0%, rgba(220, 38, 38, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #FCA5A5;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary-red);
    background: linear-gradient(135deg, #EF4444, #DC2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 540px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   FEATURE / STATS COUNTER CARDS
   ========================================================================== */
.stats-bar {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stat-box {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--primary-red);
    text-align: center;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--secondary-dark);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   LICENSE CLASSES CARDS
   ========================================================================== */
.section-title-wrap {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--secondary-dark);
}

.class-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-border);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.class-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(220, 38, 38, 0.3);
}

.class-card-img {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #1E293B;
}

.class-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.class-card:hover .class-card-img img {
    transform: scale(1.08);
}

.class-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary-red);
    color: var(--white);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.class-age-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
}

.class-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.class-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.class-card-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 20px;
    flex: 1;
}

/* ==========================================================================
   5 BRANCHES INTERACTIVE SECTION
   ========================================================================== */
.branch-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary-red);
    transition: var(--transition);
    height: 100%;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.branch-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-red-light);
    color: var(--primary-red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

/* ==========================================================================
   AGE CALCULATOR WIDGET
   ========================================================================== */
.calculator-box {
    background: linear-gradient(135deg, #0B0F19, #1E293B);
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--dark-border);
    box-shadow: var(--shadow-lg);
}

.calc-result-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 20px;
    display: none;
}

/* ==========================================================================
   BLOG CARDS
   ========================================================================== */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-border);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-img {
    height: 190px;
    overflow: hidden;
    position: relative;
    background: #1E293B;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.08);
}

.blog-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.35;
    color: var(--secondary-dark);
}

.blog-summary {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 16px;
    flex: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-custom {
    background: var(--secondary-dark);
    color: var(--text-light);
    padding: 70px 0 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 2px;
}

.footer-links li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.92rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-red);
    transform: translateX(4px);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   WHATSAPP & FLOATING ACTIONS
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #FFFFFF !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.3rem;
    }
    .stats-bar {
        margin-top: 20px;
    }
}
