/**
 * Sadık Bozdemir — Driving Academy Style
 * Renk Paleti: Asfalt Laciverti (#0F172A), Hız & Enerji Sarısı (#F59E0B), Zümrüt Güven Yeşili (#10B981)
 */

:root {
    --brand-navy: #0F172A;
    --brand-navy-light: #1E293B;
    --brand-gold: #F59E0B;
    --brand-gold-hover: #D97706;
    --brand-green: #10B981;
    --brand-green-hover: #059669;
    --brand-blue: #0284C7;
    
    --bg-main: #FFFFFF;
    --bg-soft: #F8FAFC;
    --bg-card: #FFFFFF;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --border-card: #E2E8F0;
    
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.12);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding { padding: 4.5rem 0; }
@media (max-width: 768px) { .section-padding { padding: 3rem 0; } }

.heading-section {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--brand-navy);
    text-align: center;
    line-height: 1.25;
    margin-bottom: 0.4rem;
}
.subheading-section {
    font-size: 0.98rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.8rem;
}

/* Buttons */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-gold-pill {
    background: var(--brand-gold);
    color: #0F172A;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}
.btn-gold-pill:hover {
    background: var(--brand-gold-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
}

.btn-green-pill {
    background: var(--brand-green);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}
.btn-green-pill:hover {
    background: var(--brand-green-hover);
    transform: translateY(-2px);
}

.btn-navy-pill {
    background: var(--brand-navy);
    color: white;
}
.btn-navy-pill:hover {
    background: #000000;
    transform: translateY(-2px);
}

.btn-outline-pill {
    background: transparent;
    border: 1.5px solid var(--brand-navy);
    color: var(--brand-navy);
    font-weight: 700;
    padding: 0.45rem 1.15rem;
    font-size: 0.84rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}
.btn-outline-pill:hover {
    background: var(--brand-navy);
    color: white;
}

/* Top Bar */
.top-bar {
    background: var(--brand-navy);
    color: #CBD5E1;
    font-size: 0.82rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Header */
.site-header {
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    padding: 0.8rem 0;
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}
.brand-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand-gold), #D97706);
    color: #0F172A;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}
.brand-logo-text h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--brand-navy);
    line-height: 1.1;
}
.brand-logo-text span {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--brand-blue);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    list-style: none;
}
.main-nav a {
    color: var(--brand-navy);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active {
    color: var(--brand-gold-hover);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, #FEF3C7 0%, #FFFFFF 100%);
    padding: 3.5rem 0 5.5rem;
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.8rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    border: 1.5px solid #FDE68A;
    color: #B45309;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.12);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--brand-navy);
    line-height: 1.2;
    margin-bottom: 1.1rem;
}
.hero-title span { color: #D97706; }
.hero-lead {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    line-height: 1.65;
}

.hero-cta-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border-top: 1px solid #E2E8F0;
    padding-top: 1.5rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.trust-item i {
    font-size: 1.3rem;
    color: var(--brand-green);
}
.trust-item strong {
    font-size: 0.82rem;
    color: var(--brand-navy);
    line-height: 1.2;
}

/* Booking Wizard Card */
.booking-wizard-card {
    background: #FFFFFF;
    border-radius: 22px;
    padding: 2.2rem;
    box-shadow: var(--shadow-lg);
    border: 1.5px solid #FDE68A;
}
.booking-wizard-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.3rem;
}
.booking-wizard-card p {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 1.3rem;
}

.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.35rem;
}
.form-control-custom {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    font-size: 0.88rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
    background: #F8FAFC;
}
.form-control-custom:focus {
    border-color: var(--brand-gold);
    background: white;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Quick Action Boxes */
.quick-feature-section {
    margin-top: -3.8rem;
    position: relative;
    z-index: 10;
    margin-bottom: 3.5rem;
}
.quick-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}
.feature-box {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 1.6rem 1.2rem;
    text-align: center;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-gold);
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 0.85rem;
}
.fb-gold { background: #FEF3C7; color: #D97706; }
.fb-blue { background: #E0F2FE; color: #0284C7; }
.fb-green { background: #D1FAE5; color: #059669; }
.fb-purple { background: #EDE9FE; color: #7C3AED; }

.feature-box h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.25rem;
}
.feature-box span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.program-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid var(--border-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-gold);
}
.program-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
}
.program-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.program-card:hover .program-img {
    transform: scale(1.06);
}
.program-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}
.program-body {
    padding: 1.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.program-body h3 {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.6rem;
}
.program-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.4rem;
    flex: 1;
}

/* Inspector Banner */
.inspector-banner {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    border-radius: 24px;
    padding: 3.5rem;
    color: white;
}
.ib-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

/* Accordion FAQ */
.faq-wrap { max-width: 850px; margin: 0 auto; }
.faq-card {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: 14px;
    margin-bottom: 0.85rem;
    overflow: hidden;
    transition: var(--transition);
}
.faq-card.active {
    border-color: var(--brand-gold);
    box-shadow: var(--shadow-sm);
}
.faq-btn {
    width: 100%;
    padding: 1.2rem 1.6rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-navy);
    cursor: pointer;
    text-align: left;
}
.faq-icon {
    font-size: 1.1rem;
    color: var(--brand-gold);
    transition: var(--transition);
}
.faq-card.active .faq-icon {
    transform: rotate(45deg);
    color: var(--brand-navy);
}
.faq-content {
    padding: 0 1.6rem 1.2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    display: none;
}
.faq-card.active .faq-content { display: block; }

/* Footer */
.site-footer {
    background: #090E1A;
    color: #94A3B8;
    padding: 4.5rem 0 2rem;
    font-size: 0.88rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}
.footer-col h4 {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}
.footer-col a {
    color: #CBD5E1;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.5rem;
}
.footer-col a:hover { color: var(--brand-gold); }

/* Mobile Sticky Bar */
.mobile-sticky-bar { display: none; }

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .programs-grid { grid-template-columns: 1fr 1fr; }
    .quick-feature-grid { grid-template-columns: 1fr 1fr; }
    .ib-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .programs-grid { grid-template-columns: 1fr; }
    .quick-feature-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2rem; }
    .hero-trust-row { grid-template-columns: 1fr; }
    
    .mobile-sticky-bar {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 0.6rem 1rem;
        z-index: 999;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
        border-top: 1px solid #E2E8F0;
        gap: 0.6rem;
    }
    .sticky-btn {
        flex: 1;
        padding: 0.75rem;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 800;
        text-decoration: none;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
    }
    body { padding-bottom: 60px; }
}
