/* ============================================
   ADL AUTO CARROSSERIE - Design System
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
    /* Colors */
    --primary: #E63946;
    --primary-dark: #C62828;
    --primary-light: #FF6B6B;
    --bg-dark: #1A1A1A;
    --bg-darker: #111111;
    --bg-card: #2D2D2D;
    --bg-card-hover: #363636;
    --bg-light: #F1F1F1;
    --text-white: #FFFFFF;
    --text-gray: #B0B0B0;
    --text-light-gray: #D0D0D0;
    --border-color: #3A3A3A;
    --overlay: rgba(0, 0, 0, 0.6);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.3);
    --glow-red: 0 0 20px rgba(230, 57, 70, 0.3);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Headings --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(230, 57, 70, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-outline:hover {
    background: var(--text-white);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.875rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-white);
}

.navbar-logo .logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
    /* Ensures no leftover circle radius applies */
}

.navbar-logo .logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light-gray);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: var(--text-white) !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%) !important;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 25px rgba(230, 57, 70, 0.5);
}

.nav-cta svg {
    animation: pulse-phone 2s ease-in-out infinite;
}

@keyframes pulse-phone {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15) rotate(8deg);
    }
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(230, 57, 70, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(230, 57, 70, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #111111 0%, #1A1A1A 50%, #2D2D2D 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(230, 57, 70, 0.5);
    border-radius: 50%;
    animation: float-particle 15s infinite;
}

.hero-particles span:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.hero-particles span:nth-child(2) {
    left: 20%;
    top: 80%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.hero-particles span:nth-child(3) {
    left: 35%;
    top: 40%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.hero-particles span:nth-child(4) {
    left: 50%;
    top: 60%;
    animation-delay: 1s;
    animation-duration: 16s;
}

.hero-particles span:nth-child(5) {
    left: 65%;
    top: 30%;
    animation-delay: 3s;
    animation-duration: 20s;
}

.hero-particles span:nth-child(6) {
    left: 80%;
    top: 70%;
    animation-delay: 5s;
    animation-duration: 13s;
}

.hero-particles span:nth-child(7) {
    left: 90%;
    top: 15%;
    animation-delay: 2.5s;
    animation-duration: 17s;
}

.hero-particles span:nth-child(8) {
    left: 45%;
    top: 90%;
    animation-delay: 3.5s;
    animation-duration: 15s;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    50% {
        transform: translateY(-200px) translateX(50px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.3);
    color: var(--primary-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease 0.2s both;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.hero-stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    color: var(--text-gray);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-12px);
    }

    60% {
        transform: translateX(-50%) translateY(-6px);
    }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.about-feature:hover {
    border-color: var(--primary);
    box-shadow: var(--glow-red);
}

.about-feature svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.about-feature span {
    font-weight: 600;
    font-size: 0.9rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.about-image-card .rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.about-image-card .rating .stars {
    color: #FFC107;
    font-size: 1.5rem;
}

.about-image-card .rating .score {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
}

.about-image-card .reviews-count {
    color: var(--text-gray);
    font-size: 1rem;
}

.about-image-card .google-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: var(--section-padding);
}

.services-alt {
    background: var(--bg-darker);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 57, 70, 0.3);
    box-shadow: var(--shadow), var(--glow-red);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    transform: scale(1.1);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon svg {
    color: var(--text-white);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============================================
   OTHER SERVICES
   ============================================ */
.other-services {
    padding: var(--section-padding);
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.other-service-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(230, 57, 70, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.other-service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--glow-red);
}

.other-service-card svg {
    width: 50px;
    height: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.other-service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.other-service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

.reviews-highlight {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.reviews-stars {
    font-size: 2.5rem;
    color: #FFC107;
    margin-bottom: 10px;
}

.reviews-score {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 5px;
}

.reviews-count {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}

.review-card:hover {
    border-color: rgba(230, 57, 70, 0.3);
}

.review-card .review-stars {
    color: #FFC107;
    margin-bottom: 15px;
}

.review-card p {
    color: var(--text-light-gray);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.review-author {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Google Reviews Widget */
.google-reviews-widget {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: var(--section-padding);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--primary);
    box-shadow: var(--glow-red);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 100%;
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.5) contrast(1.1);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .navbar-logo {
    margin-bottom: 15px;
}

.footer-brand .navbar-logo .logo-img {
    height: 100px;
}

.footer-brand p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: var(--text-gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 1;
    transform: none;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: none;
}

/* ============================================
   SCROLL FRAME ANIMATION
   ============================================ */
.scroll-frames {
    height: 500vh;
    position: relative;
    background: #000;
}

.scroll-frames-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

#frameCanvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.scroll-frames-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.2) 40%,
            transparent 60%);
    display: flex;
    align-items: center;
    padding-left: 6%;
    z-index: 2;
    pointer-events: none;
}

.scroll-frames-text {
    max-width: 400px;
}

.scroll-frames-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 15px;
}

.scroll-frames-text h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.1;
}

.scroll-frames-text h2 span {
    color: var(--primary);
}

.scroll-frames-progress {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    z-index: 3;
    overflow: hidden;
}

.scroll-frames-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.05s linear;
}

@media (max-width: 768px) {
    .scroll-frames {
        display: none;
    }
}

/* ============================================
   PAGE INTRO ANIMATION
   ============================================ */

/* Navbar slide down */
.navbar {
    animation: slideDown 0.6s ease-out both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero badge */
.hero-badge {
    animation: fadeInScale 0.6s ease-out 0.3s both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Hero title - clip reveal */
.hero h1 {
    animation: clipReveal 0.8s ease-out 0.5s both;
}

@keyframes clipReveal {
    from {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateX(0);
    }
}

/* Hero subtitle */
.hero-subtitle {
    animation: fadeUp 0.7s ease-out 0.9s both;
}

/* Hero buttons */
.hero-buttons {
    animation: fadeUp 0.7s ease-out 1.1s both;
}

/* Hero stats */
.hero-stats {
    animation: fadeUp 0.7s ease-out 1.3s both;
}

/* Individual stat items stagger */
.hero-stat:nth-child(1) {
    animation: fadeUp 0.5s ease-out 1.3s both;
}

.hero-stat:nth-child(2) {
    animation: fadeUp 0.5s ease-out 1.45s both;
}

.hero-stat:nth-child(3) {
    animation: fadeUp 0.5s ease-out 1.6s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator */
.scroll-indicator {
    animation: fadeInBounce 0.8s ease-out 1.8s both;
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }

    60% {
        opacity: 1;
        transform: translateY(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero particles fade in */
.hero-particles {
    animation: particlesFade 2s ease-out 0.5s both;
}

@keyframes particlesFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Red line accent reveal */
.hero h1 span {
    animation: glowIn 1s ease-out 0.8s both;
}

@keyframes glowIn {
    from {
        text-shadow: 0 0 0 transparent;
    }

    to {
        text-shadow: 0 0 30px rgba(230, 57, 70, 0.3);
    }
}

/* ============================================
   PAGE HEADER (for sub-pages)
   ============================================ */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(230, 57, 70, 0.1) 0%, transparent 50%);
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.page-header h1 span {
    color: var(--primary);
}

.page-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-section {
    padding: var(--section-padding);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(230, 57, 70, 0.3);
}

.gallery-comparison {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    cursor: col-resize;
}

.gallery-comparison img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-comparison .before-img {
    z-index: 1;
    clip-path: inset(0 50% 0 0);
}

.gallery-comparison .after-img {
    z-index: 0;
}

.gallery-comparison .slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--primary);
    z-index: 2;
    cursor: col-resize;
}

.gallery-comparison .slider::before {
    content: '⟨ ⟩';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    letter-spacing: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-comparison .label {
    position: absolute;
    bottom: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 3;
    letter-spacing: 1px;
}

.gallery-comparison .label-before {
    left: 10px;
    background: rgba(230, 57, 70, 0.9);
    color: white;
}

.gallery-comparison .label-after {
    right: 10px;
    background: rgba(76, 175, 80, 0.9);
    color: white;
}

.gallery-item-info {
    padding: 20px;
}

.gallery-item-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.gallery-item-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.gallery-empty {
    text-align: center;
    padding: 80px 20px;
}

.gallery-empty svg {
    width: 80px;
    height: 80px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.gallery-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.gallery-empty p {
    color: var(--text-gray);
}

/* ============================================
   VEHICLES PAGE
   ============================================ */
.vehicles-section {
    padding: var(--section-padding);
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.vehicle-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(230, 57, 70, 0.3);
}

.vehicle-carousel {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.vehicle-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.vehicle-carousel .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}

.vehicle-carousel .carousel-nav:hover {
    background: var(--primary);
}

.vehicle-carousel .carousel-prev {
    left: 10px;
}

.vehicle-carousel .carousel-next {
    right: 10px;
}

.vehicle-carousel .carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.vehicle-carousel .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.vehicle-carousel .carousel-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.vehicle-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    z-index: 2;
}

.vehicle-info {
    padding: 25px;
}

.vehicle-info h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.vehicle-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.vehicle-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.vehicle-spec svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.vehicle-info .vehicle-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.vehicle-info .btn {
    width: 100%;
    justify-content: center;
}

.vehicles-empty {
    text-align: center;
    padding: 80px 20px;
}

.vehicles-empty svg {
    width: 80px;
    height: 80px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.vehicles-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.vehicles-empty p {
    color: var(--text-gray);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        gap: 25px;
        transition: var(--transition);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        padding: 80px 30px 40px;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }

    .other-services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }

    .scroll-indicator {
        display: none;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .other-services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .gallery-grid,
    .vehicles-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SERVICE DETAIL PAGES
   ============================================ */

/* Page Header */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 15px;
}

.page-header h1 span {
    color: var(--primary);
}

.page-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Service Detail Section */
.service-detail {
    padding: 80px 0;
    background: var(--bg-dark);
}

.service-detail-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.service-detail-intro h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 20px;
}

.service-detail-intro p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* Service Detail Grid */
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.service-detail-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    border-color: rgba(230, 57, 70, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.service-detail-card .service-icon {
    width: 50px;
    height: 50px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-detail-card .service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    stroke: var(--primary);
}

.service-detail-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 12px;
}

.service-detail-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Why Choose Us */
.service-why {
    margin-top: 60px;
    text-align: center;
}

.service-why h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 40px;
}

.service-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-why-item {
    padding: 30px 20px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-why-item:hover {
    border-color: rgba(230, 57, 70, 0.3);
    transform: translateY(-2px);
}

.service-why-item svg {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

.service-why-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 10px;
}

.service-why-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Related Services */
.service-related {
    padding: 80px 0;
    background: var(--bg-dark);
}

.service-related h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 40px;
}

.service-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-related-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.service-related-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--glow-red);
}

.service-related-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 8px;
}

.service-related-card p {
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Clickable service cards on homepage */
a.service-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.other-service-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Responsive for service pages */
@media (max-width: 768px) {
    .page-header {
        padding: 130px 0 50px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.6rem;
    }

    .service-why-grid {
        grid-template-columns: 1fr;
    }

    .service-related-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.legal-section h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-white);
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.legal-section ul li {
    color: var(--text-gray);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.7;
}

.legal-section ul li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.legal-section a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-section a:hover {
    color: var(--primary-light);
}

.legal-update {
    text-align: center;
    color: var(--text-gray);
    margin-top: 40px;
    font-size: 0.9rem;
}