/* ============================================
   TOP GUN TRUCK DRIVING ACADEMY
   Classic & Elegant — Plum + Amber
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Lato', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2D1F36;
    background-color: #FDF8F4;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.25;
    font-weight: 600;
}

/* --- SKIP LINK --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #4A235A;
    color: #FDF8F4;
    padding: 0.5rem 1rem;
    z-index: 9999;
    border-radius: 0 0 4px 4px;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: 0;
}

/* --- CONTAINER --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- SECTION HELPERS --- */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #D4A84B;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: #4A235A;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1.05rem;
    color: #6B5070;
    line-height: 1.8;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: #D4A84B;
    color: #2D1F36;
    border-color: #D4A84B;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #C49532;
    border-color: #C49532;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 75, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #FDF8F4;
    border-color: #FDF8F4;
}
.btn-secondary:hover, .btn-secondary:focus {
    background-color: #FDF8F4;
    color: #4A235A;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #4A235A;
    border-color: #4A235A;
}
.btn-outline:hover, .btn-outline:focus {
    background-color: #4A235A;
    color: #FDF8F4;
    transform: translateY(-2px);
}

.btn-gold {
    background-color: #D4A84B;
    color: #2D1F36;
    border-color: #D4A84B;
}
.btn-gold:hover, .btn-gold:focus {
    background-color: #C49532;
    border-color: #C49532;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 75, 0.3);
}

.btn-ghost {
    background-color: transparent;
    color: #FDF8F4;
    border-color: rgba(253, 248, 244, 0.5);
}
.btn-ghost:hover, .btn-ghost:focus {
    background-color: rgba(253, 248, 244, 0.1);
    border-color: #FDF8F4;
    transform: translateY(-2px);
}

.btn-outline-sm {
    background-color: transparent;
    color: #4A235A;
    border-color: #4A235A;
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
}
.btn-outline-sm:hover {
    background-color: #4A235A;
    color: #FDF8F4;
}

.btn-full {
    width: 100%;
}

/* --- HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(74, 35, 90, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 168, 75, 0.2);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(45, 31, 54, 0.15);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #FDF8F4;
}
.logo:hover { color: #D4A84B; }

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
}
.logo-sub {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #D4A84B;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-menu a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(253, 248, 244, 0.85);
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.nav-menu a:hover,
.nav-menu a:focus {
    color: #D4A84B;
    background: rgba(212, 168, 75, 0.1);
}

.nav-cta {
    background-color: #D4A84B !important;
    color: #2D1F36 !important;
    font-weight: 700 !important;
    border-radius: 4px;
    margin-left: 0.5rem;
}
.nav-cta:hover {
    background-color: #C49532 !important;
    color: #2D1F36 !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}
.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #FDF8F4;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #2D1F36;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/37812834/pexels-photo-37812834.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 31, 54, 0.92) 0%,
        rgba(74, 35, 90, 0.88) 50%,
        rgba(45, 31, 54, 0.90) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 8rem 1.5rem 6rem;
    color: #FDF8F4;
}

.hero-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #D4A84B;
    margin-bottom: 1.25rem;
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #FDF8F4;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.8;
    color: rgba(253, 248, 244, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}
.stat-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #D4A84B;
}
.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(253, 248, 244, 0.6);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(212, 168, 75, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(253, 248, 244, 0.5);
    animation: bounce 2s infinite;
    z-index: 1;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* --- PROGRAMS --- */
.programs {
    background-color: #FDF8F4;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.program-card {
    perspective: 1000px;
}

.program-card-inner {
    background-color: #fff;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(74, 35, 90, 0.08);
    box-shadow: 0 4px 20px rgba(45, 31, 54, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.program-card-inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(45, 31, 54, 0.12);
}

.program-icon {
    margin-bottom: 1.5rem;
}

.program-name {
    font-size: 1.35rem;
    color: #4A235A;
    margin-bottom: 0.75rem;
}

.program-desc {
    font-size: 0.95rem;
    color: #6B5070;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.program-features {
    margin-bottom: 2rem;
    flex-grow: 0;
}
.program-features li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: #4A235A;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}
.program-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #D4A84B;
    border-radius: 50%;
}

/* --- ABOUT --- */
.about {
    background-color: #F5EDE6;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrap {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(45, 31, 54, 0.15);
}
.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 1rem;
    color: #6B5070;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}
.about-text:last-of-type {
    margin-bottom: 2rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4A235A;
}

.value-icon {
    flex-shrink: 0;
}

/* --- WHY US --- */
.why-us {
    background-color: #4A235A;
    color: #FDF8F4;
}
.why-us .section-eyebrow { color: #D4A84B; }
.why-us .section-title { color: #FDF8F4; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 168, 75, 0.15);
    background-color: rgba(253, 248, 244, 0.04);
    transition: background-color 0.3s, border-color 0.3s;
}
.why-card:hover {
    background-color: rgba(253, 248, 244, 0.08);
    border-color: rgba(212, 168, 75, 0.4);
}

.why-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(212, 168, 75, 0.25);
    line-height: 1;
    margin-bottom: 1rem;
}

.why-title {
    font-size: 1.15rem;
    color: #FDF8F4;
    margin-bottom: 0.75rem;
}

.why-text {
    font-size: 0.9rem;
    color: rgba(253, 248, 244, 0.7);
    line-height: 1.75;
}

/* --- CTA BANNER --- */
.cta-banner {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2D1F36 0%, #4A235A 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    color: #FDF8F4;
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: #FDF8F4;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(253, 248, 244, 0.75);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- CONTACT --- */
.contact {
    background-color: #FDF8F4;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.contact-intro {
    font-size: 1rem;
    color: #6B5070;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail strong {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    color: #4A235A;
    margin-bottom: 0.25rem;
}

.contact-detail p {
    font-size: 0.9rem;
    color: #6B5070;
    line-height: 1.6;
}
.contact-detail a {
    color: #D4A84B;
    transition: color 0.2s;
}
.contact-detail a:hover {
    color: #C49532;
    text-decoration: underline;
}

/* --- FORM --- */
.contact-form-wrap {
    background-color: #fff;
    border-radius: 8px;
    padding: 2.5rem;
    border: 1px solid rgba(74, 35, 90, 0.08);
    box-shadow: 0 8px 32px rgba(45, 31, 54, 0.08);
}

.form-title {
    font-size: 1.35rem;
    color: #4A235A;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4A235A;
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
}

.required {
    color: #C0392B;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: #2D1F36;
    background-color: #FDF8F4;
    border: 1px solid rgba(74, 35, 90, 0.15);
    border-radius: 4px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #D4A84B;
    box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-privacy {
    font-size: 0.75rem;
    color: #9B8090;
    margin-top: 1rem;
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 2rem;
}
.form-success h3 {
    font-size: 1.5rem;
    color: #4A235A;
    margin: 1rem 0 0.5rem;
}
.form-success p {
    color: #6B5070;
    margin-bottom: 1.5rem;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #2D1F36;
    color: rgba(253, 248, 244, 0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand .logo-text {
    color: #FDF8F4;
    font-size: 1.1rem;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.75;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #D4A84B;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-links a {
    font-size: 0.9rem;
    color: rgba(253, 248, 244, 0.65);
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #D4A84B;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.footer-contact a {
    color: #D4A84B;
    transition: color 0.2s;
}
.footer-contact a:hover {
    color: #C49532;
}

.footer-bottom {
    border-top: 1px solid rgba(253, 248, 244, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(253, 248, 244, 0.4);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .programs-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: rgba(74, 35, 90, 0.98);
        backdrop-filter: blur(12px);
        padding: 1rem 1.5rem 2rem;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(212, 168, 75, 0.2);
    }
    .nav-menu.open {
        transform: translateY(0);
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 0.25rem;
    }
    .nav-menu a {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
        margin-top: 0.5rem;
    }

    .hero-content {
        padding: 7rem 1.5rem 5rem;
    }
    .hero-stats {
        gap: 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }
    .section-header {
        margin-bottom: 2.5rem;
    }

    .programs-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-image-wrap {
        order: -1;
    }
    .about-content .section-title,
    .contact-info .section-title {
        text-align: center;
    }
    .about-content .section-eyebrow,
    .contact-info .section-eyebrow {
        text-align: center;
    }
    .about-text { text-align: center; }
    .about-values { grid-template-columns: 1fr; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    .contact-form-wrap {
        padding: 1.5rem;
    }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .scroll-indicator { animation: none; }
}
