/* =========================================
   VARIABLES & RESET
   ========================================= */
   :root {
    --primary-color: #e60023;
    --primary-dark: #cc001f;
    --bg-dark: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: #333333;
    --glow: 0 0 15px rgba(230, 0, 35, 0.5);
    --transition: all 0.3s ease;

    /* Typography Scale */
    --fs-xs: clamp(0.75rem, 0.8vw + 0.5rem, 0.8rem);
    --fs-sm: clamp(0.875rem, 0.2vw + 0.8rem, 0.95rem);
    --fs-base: clamp(1rem, 0.23vw + 0.95rem, 1.125rem);
    --fs-md: clamp(1.1rem, 0.3vw + 1rem, 1.2rem);
    --fs-lg: clamp(1.3rem, 0.5vw + 1.2rem, 1.5rem);
    --fs-xl: clamp(1.5rem, 1vw + 1.25rem, 2rem);
    --fs-2xl: clamp(2rem, 1.5vw + 1.6rem, 2.5rem);
    --fs-3xl: clamp(2.2rem, 2vw + 1.7rem, 3rem);
    --fs-4xl: clamp(2.5rem, 4vw + 1.5rem, 4.5rem);

    /* Line Heights & Tracking */
    --lh-tight: 1.2;
    --lh-base: 1.5;
    --lh-loose: 1.6;
    --tracking-tight: -0.02em;
    --tracking-base: 0;
    --tracking-wide: 0.05em;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: var(--lh-base);
    font-size: var(--fs-base);
    overflow-x: hidden;
}

p {
    max-width: 75ch;
    margin-inline: auto;
}

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

ul {
    list-style: none;
}

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

/* =========================================
   UTILITIES
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-red {
    color: var(--primary-color);
}

.text-dark {
    color: var(--bg-dark);
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: var(--fs-2xl);
    line-height: var(--lh-tight);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.section-header p {
    color: var(--text-muted);
    font-size: var(--fs-md);
    margin-bottom: 3rem;
    margin-inline: auto;
}

section {
    padding: 100px 0;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.8em 2em;
    font-size: var(--fs-base);
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--glow);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: #fff;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    box-shadow: var(--glow);
    transform: translateY(-3px);
}

.btn-dark {
    background-color: var(--bg-dark);
    color: #fff;
    border-color: var(--bg-dark);
}

.btn-dark:hover {
    background-color: #000;
    color: var(--primary-color);
    border-color: #000;
    transform: translateY(-3px);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px; /* Reduced for better fit if original is large */
    object-fit: contain;
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    font-size: var(--fs-base);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}

/* =========================================
   1. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    padding-top: 100px; /* Offset for fixed navbar */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: var(--fs-4xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: var(--tracking-tight);
}

.hero-content .subheading {
    font-size: var(--fs-xl);
    color: #e0e0e0;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-base);
    font-weight: 500;
}

.highlight-item i {
    color: var(--primary-color);
    font-size: var(--fs-md);
}

/* Animations for intro */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   2. ABOUT SECTION
   ========================================= */
.about {
    background-color: var(--bg-dark);
}

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

.about-intro {
    color: var(--text-muted);
    font-size: var(--fs-md);
    margin-bottom: 40px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    width: 50px;
    text-align: center;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: var(--fs-xl);
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.about-image-wrapper {
    position: relative;
    border-radius: 8px;
}

.about-img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    z-index: 1;
}

/* =========================================
   3. SERVICES SECTION
   ========================================= */
.services {
    background-color: #111;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(230,0,35,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: var(--fs-lg);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

/* =========================================
   4. WHY CHOOSE US
   ========================================= */
.why-choose-us {
    background-color: var(--bg-dark);
}

.wcu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.wcu-image {
    background-image: url('hero-bg.png'); /* Reusing image or replace if needed */
    background-size: cover;
    background-position: center;
    height: 600px;
    border-radius: 8px;
    position: relative;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.8);
}

.wcu-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(230,0,35,0.4);
    border: 5px solid var(--bg-dark);
}

.badge-number {
    font-size: var(--fs-4xl);
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
}

.wcu-intro {
    color: var(--text-muted);
    font-size: var(--fs-md);
    margin-bottom: 40px;
}

.wcu-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.wcu-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.wcu-list i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 3px;
}

.wcu-list h4 {
    font-size: var(--fs-lg);
    margin-bottom: 5px;
}

.wcu-list p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

/* =========================================
   5. TESTIMONIALS
   ========================================= */
.testimonials {
    background-color: #111;
}

.carousel-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.carousel-track {
    position: relative;
    min-height: 300px;
    overflow: hidden;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateX(50px);
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(230, 0, 35, 0.2);
    margin-bottom: 20px;
}

.stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.review-text {
    font-size: var(--fs-md);
    font-style: italic;
    margin-bottom: 30px;
    color: #ddd;
}

.customer-name {
    font-size: var(--fs-md);
    color: var(--primary-color);
}

.customer-car {
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.carousel-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* =========================================
   6 & 7 & 8. CONTACT & HOURS
   ========================================= */
.contact-section {
    background-color: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.contact-info-panel {
    padding: 50px;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(230,0,35,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.info-details h4 {
    font-size: var(--fs-md);
    margin-bottom: 5px;
}

.info-details p {
    color: var(--text-muted);
}

.working-hours {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.working-hours h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border-color);
    color: var(--text-muted);
}

.hours-list li.closed {
    color: var(--primary-color);
    font-weight: 600;
}

.map-container {
    height: 100%;
    min-height: 400px;
}

/* =========================================
   9. CTA BANNER
   ========================================= */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #990017 100%);
    padding: 80px 0;
}

.cta-banner h2 {
    font-size: var(--fs-3xl);
    margin-bottom: 15px;
    color: #fff;
}

.cta-banner p {
    font-size: var(--fs-lg);
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

/* =========================================
   10. FOOTER
   ========================================= */
.footer {
    background-color: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.footer h3 {
    font-size: var(--fs-md);
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul, .footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

/* =========================================
   RESPONSIVE DESIGN (MOBILE-FRIENDLY)
   ========================================= */
@media (max-width: 1024px) {
    .about-grid, .wcu-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .wcu-badge {
        right: 20px;
    }

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

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        height: calc(100vh - 80px);
        padding-top: 40px;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 16px 0;
    }

    .nav-links li a {
        font-size: var(--fs-xl);
    }

    /* font-size handled by clamp in var(--fs-4xl) */
    
    .hero {
        align-items: flex-start;
        padding-top: 140px; /* guarantees text starts below navbar */
        padding-bottom: 50px;
    }

    .hero-content h1 {
        margin-bottom: 10px;
    }

    .hero-content .subheading {
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .hero-highlights {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* font-size handled by clamp in var(--fs-2xl) */

    /* font-size handled by clamp in var(--fs-3xl) */
}

@media (max-width: 480px) {
    /* font-size handled by clamp in var(--fs-4xl) */
    
    /* font-size handled by clamp */

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-panel {
        padding: 30px 20px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
    }
}
