/* ============================================================
   Lizz Driving School - One Page Theme
   Palette (from lizzdrivingschool.com):
   Orange  #F29224 (primary)  |  Brown  #58220A (secondary)
   Cream   #F9F7F5 (bg)       |  White  #FFFFFF
   Text    #32373c
   ============================================================ */

:root {
    --primary:       #F29224;
    --primary-dark:  #d97a0e;
    --primary-soft:  #fdeeda;
    --secondary:     #58220A;
    --secondary-dark:#3f1707;
    --cream:         #F9F7F5;
    --white:         #FFFFFF;
    --text:          #32373c;
    --text-soft:     #6b6f75;
    --shadow:        0 10px 30px rgba(0, 0, 0, 0.08);
    --radius:        14px;
    --font-head:     'Montserrat', sans-serif;
    --font-body:     'Source Sans 3', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    font-size: 17px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }
.container-narrow { width: min(820px, 92%); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(242, 146, 36, 0.4); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--secondary); }
.btn-block { display: block; text-align: center; }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Top Bar ---------- */
.topbar { background: var(--secondary); color: rgba(255, 255, 255, 0.92); font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; gap: 12px; flex-wrap: wrap; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info a { color: var(--primary); font-weight: 600; }
.topbar-hours { color: rgba(255, 255, 255, 0.75); }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: grid; place-items: center;
    font-size: 14px; color: var(--white);
    transition: background 0.2s;
}
.topbar-social a:hover { background: var(--primary); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--white);
    box-shadow: 0 2px 14px rgba(88, 34, 10, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo img { height: 54px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav > a:not(.btn) {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--secondary);
    position: relative;
    padding: 6px 0;
}
.main-nav > a:not(.btn)::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 0; height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.25s ease;
}
.main-nav > a:not(.btn):hover::after { width: 100%; }
.nav-cta { margin-left: 6px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--secondary); border-radius: 3px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 640px;
    display: flex; align-items: center;
    background:
        radial-gradient(ellipse at 85% 20%, rgba(242, 146, 36, 0.28), transparent 45%),
        linear-gradient(115deg, #3a1607 0%, var(--secondary) 55%, #6d2c0d 100%);
    color: var(--white);
    overflow: hidden;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: url('../images/hero-pattern.svg') repeat;
    opacity: 0.06;
}
.hero-content { position: relative; padding: 90px 0; max-width: 780px; }
.hero-badge {
    display: inline-block;
    background: rgba(242, 146, 36, 0.18);
    border: 1px solid rgba(242, 146, 36, 0.5);
    color: #ffc37a;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.6px;
    margin-bottom: 22px;
}
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(38px, 5.4vw, 62px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.5px;
}
.hero-title span { color: var(--primary); }
.hero-sub { margin-top: 20px; font-size: clamp(17px, 2vw, 20px); color: rgba(255, 255, 255, 0.9); max-width: 640px; }
.hero-tagline { margin-top: 10px; font-size: 16px; color: #ffc37a; font-weight: 600; }
.hero-actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: linear-gradient(120deg, var(--secondary-dark), var(--secondary)); color: var(--white); }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-head-light .section-kicker { color: #ffc37a; }
.section-head-light .section-title { color: var(--white); }
.section-kicker {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-head);
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
}
.cta-sub { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, 0.85); }

/* ---------- Courses ---------- */
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.course-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    display: flex; flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(88, 34, 10, 0.14); }
.course-img { height: 190px; overflow: hidden; background: #efe7df; }
.course-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.course-card:hover .course-img img { transform: scale(1.06); }
.course-card h3 { font-family: var(--font-head); font-size: 19px; color: var(--secondary); padding: 22px 24px 0; }
.course-card p { padding: 10px 24px 0; color: var(--text-soft); font-size: 15.5px; flex-grow: 1; }
.course-price {
    margin: 18px 24px 14px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 22px;
    color: var(--primary);
}
.course-card .btn { margin: 0 24px 24px; }
.ntsa-note {
    margin-top: 34px;
    text-align: center;
    font-size: 14.5px;
    color: var(--text-soft);
    background: var(--white);
    border: 1px dashed var(--primary);
    border-radius: 10px;
    padding: 14px 18px;
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; }
.about-visual img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-badge {
    position: absolute; top: -22px; left: -22px;
    background: var(--primary); color: var(--white);
    font-family: var(--font-head); font-weight: 800;
    padding: 18px 24px; border-radius: 12px;
    box-shadow: 0 10px 26px rgba(242, 146, 36, 0.45);
    font-size: 16px;
}
.about-text p { margin-top: 16px; color: var(--text-soft); }
.about-text p strong { color: var(--secondary); }
.about-text .btn { margin-top: 26px; }

/* ---------- Why Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.why-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    padding: 34px 26px;
    transition: background 0.25s, transform 0.25s;
}
.why-card:hover { background: rgba(242, 146, 36, 0.14); transform: translateY(-4px); }
.why-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 40px;
    color: var(--primary);
    opacity: 0.9;
    line-height: 1;
}
.why-card h3 { font-family: var(--font-head); color: var(--white); font-size: 18px; margin: 16px 0 10px; }
.why-card p { color: rgba(255, 255, 255, 0.78); font-size: 15.5px; }

/* ---------- Ad Video ---------- */
.video-stage { max-width: 900px; margin: 0 auto; }
.video-stage video {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #000;
    aspect-ratio: 16 / 9;
}
.video-title { text-align: center; margin-top: 18px; font-family: var(--font-head); color: var(--secondary); font-size: 20px; }

.video-empty {
    max-width: 560px; margin: 0 auto;
    text-align: center;
    background: var(--white);
    border: 2px dashed var(--primary);
    border-radius: var(--radius);
    padding: 56px 30px;
}
.video-empty-icon { font-size: 52px; }
.video-empty h3 { font-family: var(--font-head); color: var(--secondary); margin: 14px 0 6px; }
.video-empty p { color: var(--text-soft); }

/* ---------- Testimonials ---------- */
.testi-subhead { font-family: var(--font-head); color: var(--secondary); font-size: 20px; margin-bottom: 22px; }

.tv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 54px;
}
.tv-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--primary);
}
.tv-card video { width: 100%; aspect-ratio: 16 / 9; background: #000; display: block; }
.tv-meta { padding: 14px 18px; display: flex; flex-direction: column; }
.tv-meta strong { font-family: var(--font-head); color: var(--secondary); font-size: 16px; }
.tv-meta span { color: var(--text-soft); font-size: 14px; }

.testi-slider { position: relative; overflow: hidden; padding: 6px 4px 10px; }
.testi-track { display: flex; transition: transform 0.45s ease; }
.testi-card {
    min-width: 100%;
    background: var(--cream);
    border-radius: var(--radius);
    padding: 40px 48px;
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow);
}
.testi-stars { color: var(--primary); font-size: 22px; letter-spacing: 3px; }
.testi-stars span { color: #ddd0c4; }
.testi-message { font-size: 19px; color: var(--text); margin: 16px 0 22px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--secondary); color: var(--white);
    display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 800; font-size: 20px;
}
.testi-author strong { font-family: var(--font-head); color: var(--secondary); display: block; }
.testi-author span { color: var(--text-soft); font-size: 14px; }

.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%;
    border: 0; cursor: pointer;
    background: var(--primary); color: var(--white);
    font-size: 20px; font-weight: 700;
    box-shadow: 0 6px 16px rgba(242, 146, 36, 0.4);
    transition: background 0.2s;
    z-index: 5;
}
.slider-btn:hover { background: var(--primary-dark); }
.slider-prev { left: 8px; }
.slider-next { right: 8px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    background: none; border: 0; cursor: pointer;
    font-family: var(--font-head);
    font-weight: 700; font-size: 17px;
    color: var(--secondary);
    padding: 20px 24px;
    text-align: left;
}
.faq-icon {
    font-size: 26px; font-weight: 400; color: var(--primary);
    transition: transform 0.3s ease;
    line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer p { padding: 0 24px 22px; color: var(--text-soft); }

/* ---------- CTA / Contact ---------- */
.cta-section { background: linear-gradient(120deg, var(--secondary-dark), var(--secondary)); }
.cta-section .btn { margin-top: 24px; }
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 60px;
}
.contact-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    color: var(--white);
}
.contact-icon { font-size: 30px; display: block; margin-bottom: 12px; }
.contact-card h4 { font-family: var(--font-head); font-size: 16px; margin-bottom: 8px; color: #ffc37a; }
.contact-card a { color: var(--white); font-weight: 600; }
.contact-card p { color: rgba(255, 255, 255, 0.85); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--secondary-dark); color: rgba(255, 255, 255, 0.8); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 64px 0 44px;
}
.footer-logo { height: 50px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.footer-social { margin-top: 16px; display: flex; gap: 14px; }
.footer-social a { color: var(--primary); font-weight: 600; font-size: 14.5px; }
.footer-col h4 { font-family: var(--font-head); color: var(--white); margin-bottom: 16px; font-size: 16px; }
.footer-col a { display: block; padding: 5px 0; color: rgba(255, 255, 255, 0.75); font-size: 15px; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-col p { font-size: 15px; color: rgba(255, 255, 255, 0.75); padding: 3px 0; }
.footer-col a[href^="mailto"], .footer-col a[href^="tel"] { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-bottom a { color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .course-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 44px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .topbar-hours { display: none; }

    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 0; right: -100%;
        width: min(320px, 82vw);
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 90px 30px 30px;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.35s ease;
        z-index: 200;
    }
    .main-nav.open { right: 0; }
    .main-nav > a:not(.btn) { font-size: 17px; padding: 10px 0; }
    .nav-cta { margin: 14px 0 0; }

    .hero { min-height: 560px; }
    .hero-actions .btn { width: 100%; text-align: center; }

    .course-grid { grid-template-columns: 1fr; }
    .testi-card { padding: 30px 24px; }
    .contact-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
