/* ===== CLASSIC RACING - LANDING PAGE ===== */
:root {
    --gold: #c9a84c;
    --gold-light: #e8c97a;
    --gold-dark: #a67c2e;
    --dark: #0a0a0a;
    --dark-2: #111111;
    --dark-3: #141414;
    --dark-4: #1a1a1a;
    --card-bg: #161616;
    --card-border: #242424;
    --text: #f0f0f0;
    --text-muted: #888;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark);
    color: var(--text);
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

/* ===== UTILITIES ===== */
.text-gold {
    color: var(--gold) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #000;
    font-weight: 700;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-gold:hover,
.btn-gold:focus {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35);
    text-decoration: none;
}

.btn-gold.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-gold.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding: 4px 16px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 50px;
}

.section-title {
    font-family: 'Raleway', 'Segoe UI', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== NAVBAR ===== */
#mainNav {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    padding: 16px 0;
    transition: all 0.4s ease;
}

#mainNav.scrolled {
    background: rgba(10, 10, 10, 0.97);
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    border-bottom-color: rgba(201, 168, 76, 0.25);
}

.nav-logo {
    height: 38px;
    width: auto;
}

.brand-text {
    font-family: 'Raleway', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #f1e5d0;
    margin-left: 10px;
    letter-spacing: 1px;
}

.brand-accent {
    color: var(--gold);
}

#mainNav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

#mainNav .nav-link:hover {
    color: var(--gold) !important;
}

/* ===== HERO ===== */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(201, 168, 76, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(120, 60, 0, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 90%, rgba(50, 20, 0, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0a 0%, #0d0800 50%, #0a0a0a 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0 60px;
}

.hero-logo {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.3));
}

.hero-tagline {
    font-size: 0.9rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-actions {
    margin-bottom: 60px;
}

.hero-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.hero-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll a {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    text-decoration: none;
    animation: bounce 2s infinite;
    display: inline-block;
}

.hero-scroll a:hover {
    color: var(--gold);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* ===== STATS ===== */
.stats-section {
    background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
    padding: 60px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(201, 168, 76, 0.03) 0%, transparent 50%, rgba(201, 168, 76, 0.03) 100%);
}

.stat-item {
    padding: 20px;
}

.stat-number {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.stat-plus {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SERVICES ===== */
.services-section {
    padding: 100px 0;
    background: var(--dark-2);
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 36px 28px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--gold);
    transition: background 0.3s;
}

.service-card:hover .service-icon {
    background: rgba(201, 168, 76, 0.2);
}

.service-card h4 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== ABOUT ===== */
.about-section {
    padding: 100px 0;
    background: var(--dark);
}

.about-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    padding: 8px 0;
}

.highlight-item i {
    font-size: 1.1rem;
}

.about-visual {
    position: relative;
    height: 380px;
}

.about-card-main {
    background: linear-gradient(135deg, var(--dark-4), var(--dark-3));
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.about-card-main h3 {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
}

.about-card-main p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 12px;
    padding: 18px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.3);
}

.badge-number {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #000;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== PROCESS ===== */
.process-section {
    padding: 100px 0;
    background: var(--dark-2);
}

.process-step {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 40px 32px;
    text-align: center;
    height: 100%;
    position: relative;
    transition: all 0.3s;
}

.process-step.featured {
    background: linear-gradient(135deg, var(--dark-4), #1f1500);
    border-color: rgba(201, 168, 76, 0.4);
    transform: scale(1.03);
}

.process-step:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-5px);
}

.process-step.featured:hover {
    transform: scale(1.03) translateY(-5px);
}

.step-number {
    font-family: 'Raleway', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(201, 168, 76, 0.15);
    line-height: 1;
    margin-bottom: 16px;
}

.process-step h4 {
    color: var(--white);
    font-weight: 700;
    margin: 12px 0 8px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== GALLERY ===== */
.gallery-section {
    padding-bottom: 100px;
    background: var(--dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 280px 280px;
    gap: 4px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    transition: all 0.4s ease;
}

.g-item-1::before {
    background: linear-gradient(135deg, #1a0800 0%, #3d1c00 50%, #1a0800 100%);
}

.g-item-2::before {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3d 50%, #0a0a1a 100%);
}

.g-item-3::before {
    background: linear-gradient(135deg, #001a00 0%, #003d00 50%, #001a00 100%);
}

.g-item-4::before {
    background: linear-gradient(135deg, #1a0a00 0%, #3d2000 50%, #1a0a00 100%);
}

.g-item-5::before {
    background: linear-gradient(135deg, #0a001a 0%, #20003d 50%, #0a001a 100%);
}

.g-item-6::before {
    background: linear-gradient(135deg, #1a1a00 0%, #3d3d00 50%, #1a1a00 100%);
}

/* Large item spanning 2 columns */
.g-item-1 {
    grid-column: span 2;
}

.g-item-6 {
    grid-column: span 2;
}

/* Car icon decoration */
.gallery-item::after {
    content: '🏎';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    opacity: 0.15;
    transition: all 0.4s;
}

.g-item-2::after {
    content: '🔧';
}

.g-item-3::after {
    content: '🎨';
}

.g-item-4::after {
    content: '⚙️';
}

.g-item-5::after {
    content: '⚡';
}

.g-item-6::after {
    content: '🏁';
}

.gallery-item:hover::after {
    opacity: 0.25;
    transform: translate(-50%, -50%) scale(1.2);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-overlay span {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover::before {
    filter: brightness(1.3);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 100px 0;
    background: var(--dark-2);
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 32px;
    height: 100%;
    transition: all 0.3s;
}

.testimonial-card.featured-testimonial {
    background: linear-gradient(135deg, #1a1200, #0d0a00);
    border-color: rgba(201, 168, 76, 0.35);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(201, 168, 76, 0.25);
}

.stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.97rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: rgba(201, 168, 76, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
}

.testimonial-author small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 100px 0;
    background: var(--dark);
}

.contact-info {
    padding-right: 20px;
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item h5 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.contact-form .form-control,
.contact-form .form-select {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--white);
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: var(--dark-4);
    border-color: var(--gold);
    color: var(--white);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.contact-form .form-select {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form .form-select option {
    background: var(--dark-3);
    color: var(--white);
}

/* ===== FOOTER ===== */
.landing-footer {
    background: #050505;
    border-top: 1px solid var(--card-border);
    padding: 70px 0 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand span {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #f1e5d0;
}

.footer-about {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-divider {
    border-color: var(--card-border);
    margin: 40px 0 24px;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-bottom: 24px;
    margin: 0;
}

.footer-social {
    padding-bottom: 24px;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.3rem;
    margin-left: 16px;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-social a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }

    .g-item-1,
    .g-item-6 {
        grid-column: span 1;
    }

    .about-badge {
        right: 10px;
        bottom: -10px;
    }

    .about-visual {
        height: 300px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero-logo {
        height: 60px;
    }

    .hero-actions .btn-gold,
    .hero-actions .btn-outline-light {
        display: block;
        width: 100%;
        margin: 6px 0 !important;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 180px);
    }

    .g-item-1,
    .g-item-6 {
        grid-column: span 1;
    }
}