/* ===== CSS VARIABLES ===== */
:root {
    --primary: #DC2626;
    --primary-light: #EF4444;
    --primary-dark: #991B1B;
    --secondary: #1F2937;
    --dark: #0F172A;
    --dark-lighter: #1E293B;
    --darker: #020617;
    --light: #F8FAFC;
    --gray: #64748B;
    --gray-light: #CBD5E1;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --white: #FFF;
    --gradient-primary: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    --gradient-dark: linear-gradient(135deg, #1F2937 0%, #0F172A 100%);
    --gradient-hero: linear-gradient(135deg, rgb(220 38 38 / 10%) 0%, rgb(31 41 55 / 20%) 100%);
    --shadow-sm: 0 2px 8px rgb(0 0 0 / 10%);
    --shadow-md: 0 4px 16px rgb(0 0 0 / 20%);
    --shadow-lg: 0 8px 32px rgb(0 0 0 / 30%);
    --shadow-glow: 0 0 40px rgb(220 38 38 / 30%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: Rajdhani, sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Prevent horizontal overflow */
body {
    overflow-x: hidden;
}

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

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgb(15 23 42 / 80%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgb(15 23 42 / 95%);
    box-shadow: var(--shadow-lg);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--light);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

.btn-outline {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1619405399517-d7fce0f13302?w=1920&h=1080&fit=crop') center/cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgb(15 23 42 / 95%) 0%, rgb(31 41 55 / 90%) 100%);
}

.animated-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgb(220 38 38 / 20%) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgb(239 68 68 / 15%) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 3rem;
    padding-bottom: 3rem;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgb(220 38 38 / 20%);
    border: 1px solid rgb(220 38 38 / 40%);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 20px rgb(220 38 38 / 30%);
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-family: Orbitron, sans-serif;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: var(--light);
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 1; /* Default visible, animation will override */
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 40px rgb(220 38 38 / 50%);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--gray-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.01em;
    word-wrap: break-word;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgb(255 255 255 / 10%);
    color: var(--white);
    border: 2px solid rgb(255 255 255 / 20%);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgb(255 255 255 / 15%);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

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

.stat-value {
    font-family: Orbitron, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-light);
}

.stat-divider {
    width: 2px;
    height: 50px;
    background: rgb(255 255 255 / 20%);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgb(255 255 255 / 10%);
    backdrop-filter: blur(20px);
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 5%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
}

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

    50% {
        transform: translateY(-20px);
    }
}

.card-icon {
    font-size: 2rem;
}

.card-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

.card-desc {
    font-size: 0.9rem;
    color: var(--gray-light);
}

/* Responsive floating cards */
@media (width <= 1024px) {
    /* Tablets - Make cards smaller and reposition */
    .floating-card {
        padding: 1rem;
        font-size: 0.85rem;
    }

    .card-icon {
        font-size: 1.5rem;
    }

    .card-title {
        font-size: 0.95rem;
    }

    .card-desc {
        font-size: 0.75rem;
    }

    /* Reposition to avoid overlap */
    .card-1 {
        top: 5%;
        left: 5%;
    }

    .card-2 {
        top: 35%;
        right: 3%;
    }

    .card-3 {
        bottom: 10%;
        left: 10%;
    }
}

@media (width <= 768px) {
    /* Hide floating cards on mobile - they overlap and clutter */
    .floating-card {
        display: none;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-light);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--gray-light);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gray-light);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

/* ===== SECTION STYLES ===== */
section {
    padding: 6rem 0;
}

/* Ensure sections don't overflow */
section .container {
    max-width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: rgb(220 38 38 / 20%);
    border: 1px solid rgb(220 38 38 / 30%);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: Orbitron, sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== VEHICLES SECTION ===== */
.vehicles-section {
    background: var(--dark);
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.vehicle-card {
    background: var(--secondary);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgb(255 255 255 / 10%);
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.vehicle-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.1);
}

.vehicle-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.vehicle-badge.new {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.vehicle-status-reserved {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    top: auto;
    bottom: 1rem;
    right: 1rem;
}

.vehicle-status-sold {
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
    top: auto;
    bottom: 1rem;
    right: 1rem;
}

.vehicle-overlay {
    position: absolute;
    inset: 0;
    background: rgb(15 23 42 / 90%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.vehicle-card:hover .vehicle-overlay {
    opacity: 1;
}

.btn-view {
    padding: 0.75rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition);
}

.vehicle-card:hover .btn-view {
    transform: translateY(0);
}

.vehicle-info {
    padding: 1.5rem;
}

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.vehicle-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}

.vehicle-price {
    font-family: Orbitron, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.vehicle-specs {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.spec {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--gray-light);
}

.spec svg {
    color: var(--primary);
}

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

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    padding: 1.25rem 3rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

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

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    display: block;
    background: rgb(255 255 255 / 5%);
    backdrop-filter: blur(10px);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service-card:hover {
    background: rgb(255 255 255 / 8%);
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light);
    font-weight: 500;
}

.service-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ===== WHY SECTION ===== */
.why-section {
    background: var(--dark);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
    gap: 3rem;
    align-items: center;
}

.why-description {
    font-size: 1.15rem;
    color: var(--gray-light);
    line-height: 1.9;
    margin-bottom: 2.5rem;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-feature {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--gray-light);
    line-height: 1.6;
}

.stats-card {
    background: rgb(255 255 255 / 5%);
    backdrop-filter: blur(10px);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-big {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.stat-big .stat-number {
    font-family: Orbitron, sans-serif;
    font-size: 5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-big .stat-text {
    font-size: 1.2rem;
    color: var(--light);
    font-weight: 600;
}

.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-small {
    text-align: center;
    padding: 1.5rem;
    background: rgb(255 255 255 / 3%);
    border-radius: 16px;
}

.stat-small .stat-number {
    font-family: Orbitron, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-small .stat-text {
    font-size: 0.95rem;
    color: var(--gray-light);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: rgb(255 255 255 / 5%);
    backdrop-filter: blur(10px);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: #FBBF24;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: var(--light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.author-name {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.author-location {
    font-size: 0.9rem;
    color: var(--gray-light);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--dark);
}

.contact-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Form Container */
.contact-form-container {
    background: rgb(255 255 255 / 3%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 30px rgb(0 0 0 / 30%);
}

.contact-form {
    max-width: 600px;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 1rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: var(--primary);
}

.optional {
    color: var(--gray);
    font-weight: 400;
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgb(255 255 255 / 5%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    font-family: Rajdhani, sans-serif;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgb(255 255 255 / 8%);
    box-shadow: 0 0 0 3px rgb(220 38 38 / 10%);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-group select option {
    background: var(--darker-bg);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 1rem;
}

/* CTA Button Styling */
.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgb(220 38 38 / 30%);
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 20%), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgb(220 38 38 / 50%);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button .button-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-icon {
    transform: translateX(5px);
}

.cta-button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.cta-button.loading .button-icon {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background: rgb(34 197 94 / 10%);
    border: 1px solid rgb(34 197 94 / 30%);
    color: #4ade80;
}

.form-status.error {
    display: block;
    background: rgb(239 68 68 / 10%);
    border: 1px solid rgb(239 68 68 / 30%);
    color: #f87171;
}

.form-status.loading {
    display: block;
    background: rgb(59 130 246 / 10%);
    border: 1px solid rgb(59 130 246 / 30%);
    color: #60a5fa;
}

/* Loading state for submit button */

/* Loading animation handled by .cta-button.loading class */

@media (width <= 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    .form-title {
        font-size: 1.5rem;
    }
}

.contact-description {
    font-size: 1.15rem;
    color: var(--gray-light);
    line-height: 1.9;
    margin-bottom: 3rem;
    text-align: center;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 4rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-label {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-text a {
    color: var(--gray-light);
    display: block;
    margin-bottom: 0.25rem;
}

.contact-text a:hover {
    color: var(--primary);
}

.contact-text p {
    color: var(--gray-light);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgb(255 255 255 / 10%);
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-link svg {
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgb(0 0 0 / 30%);
}

/* Facebook - Blue #1877F2 */
.social-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

/* Instagram - Gradient */
.social-instagram {
    background: rgb(255 255 255 / 10%);
}

.social-instagram:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    border-color: #DD2A7B;
}

/* YouTube - Red #FF0000 */
.social-youtube:hover {
    background: #F00;
    border-color: #F00;
}

/* Contact form removed per client request - phone/email only */

/* ===== FOOTER ===== */
.footer {
    background: var(--darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgb(255 255 255 / 10%);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-tagline {
    color: var(--gray-light);
    margin-top: 1rem;
    line-height: 1.6;
}

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

.footer-column h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--gray-light);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgb(255 255 255 / 10%);
    color: var(--gray-light);
}

.footer-bottom a {
    color: var(--gray-light);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ===== ANIMATIONS (AOS) ===== */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (width <= 1200px) {
    .hero-title {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

@media (width <= 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: rgb(15 23 42 / 98%);
        width: 100%;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        border-bottom: 1px solid rgb(255 255 255 / 10%);
    }

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

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
        line-height: 1.15;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-visual {
        display: none;
    }

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

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

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

@media (width <= 992px) {
    .contact-content {
        padding: 0;
    }
}

@media (width <= 768px) {
    .container {
        padding: 0 2rem;
    }

    section {
        padding: 4rem 0;
    }

    /* Hide scroll indicator on mobile to prevent overlap with stats */
    .scroll-indicator {
        display: none;
    }

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

    .section-title {
        font-size: 2.5rem;
    }

    .vehicles-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .stat-big .stat-number {
        font-size: 3.5rem;
    }

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

@media (width <= 480px) {
    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .hero {
        padding-bottom: 2rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-value {
        font-size: 2rem;
    }
}

/* Extra small screens - iPhone SE, small Android */
@media (width <= 375px) {
    .container {
        padding: 0 1.25rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .hero {
        padding-bottom: 1.5rem;
    }

    .hero-content {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 0.5rem;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-divider {
        display: none;
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */

/* Skip to main content link */

/* Skip link removed per client request */

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Enhanced focus styles for keyboard users */
.keyboard-user *:focus {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.keyboard-user button:focus,
.keyboard-user a:focus {
    box-shadow: 0 0 0 3px rgb(220 38 38 / 30%);
}

/* External link indicator */
.external-link-icon {
    font-size: 0.85em;
    opacity: 0.7;
    margin-left: 0.25rem;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary: #F00;
        --gray: #FFF;
        --gray-light: #FFF;
    }

    .navbar,
    .footer {
        background: #000;
        border-color: #FFF;
    }

    .vehicle-card,
    .service-card,
    .testimonial-card {
        border: 2px solid #FFF;
    }
}

/* Touch target minimum size (WCAG 2.1 AA) */
@media (width <= 768px) {
    button,
    a,
    input,
    select,
    textarea {
        min-width: 44px;
        min-height: 44px;
    }

    .nav-link {
        padding: 1rem;
    }

    .social-link {
        min-width: 48px;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Focus within support for better navigation */
.nav-menu:focus-within {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

/* Better button disabled states */
button:disabled,
a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .hero-visual,
    .btn-primary,
    .btn-secondary,
    .social-links {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .vehicle-card,
    .service-card {
        border: 1px solid #000;
        page-break-inside: avoid;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }
}

/* ===== IMAGE OPTIMIZATION ===== */

/* Lazy loading images */
.lazy-image {
    filter: blur(10px);
    transition: filter 0.3s ease;
}

.lazy-loaded {
    filter: blur(0);
}

.lazy-error {
    background: var(--gray);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lazy-error::after {
    content: '⚠ Image failed to load';
    color: var(--white);
    font-size: 0.9rem;
}

/* Progressive image loading */
.progressive-blur {
    filter: blur(20px);
    transform: scale(1.05);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.progressive-loaded {
    filter: blur(0);
    transform: scale(1);
}

/* Background images lazy loading */
[data-bg-src] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.3s ease;
}

[data-bg-src]:not(.bg-loaded) {
    opacity: 0.5;
}

.bg-loaded {
    opacity: 1;
}

/* Slow connection optimization */
.slow-connection img {
    image-rendering: auto;
}

.slow-connection .lazy-image {
    filter: none;
}

/* Image aspect ratio containers */
.img-container {
    position: relative;
    overflow: hidden;
}

.img-container-16-9 {
    padding-bottom: 56.25%;
}

.img-container-4-3 {
    padding-bottom: 75%;
}

.img-container-1-1 {
    padding-bottom: 100%;
}

.img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== COOKIE CONSENT BANNER ===== */

/* Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(15 23 42 / 98%);
    backdrop-filter: blur(20px);
    border-top: 2px solid var(--primary);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgb(0 0 0 / 50%);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

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

.cookie-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner-title {
    font-family: Orbitron, sans-serif;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cookie-banner-text {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-link {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-link:hover {
    color: var(--primary-light);
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: Rajdhani, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--gradient-primary);
    color: var(--white);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.cookie-btn-reject {
    background: rgb(255 255 255 / 10%);
    color: var(--white);
    border: 1px solid rgb(255 255 255 / 20%);
}

.cookie-btn-reject:hover {
    background: rgb(255 255 255 / 15%);
}

.cookie-btn-customize {
    background: transparent;
    color: var(--gray-light);
    border: 1px solid var(--gray);
}

.cookie-btn-customize:hover {
    color: var(--white);
    border-color: var(--white);
}

/* Modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cookie-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 80%);
    backdrop-filter: blur(5px);
}

.cookie-modal-content {
    position: relative;
    background: var(--dark);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

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

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.cookie-modal-header h2 {
    font-family: Orbitron, sans-serif;
    font-size: 1.8rem;
    color: var(--white);
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
}

.cookie-modal-close:hover {
    background: rgb(255 255 255 / 10%);
    color: var(--white);
}

.cookie-modal-body {
    padding: 2rem;
}

.cookie-modal-body > p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cookie-category {
    background: rgb(255 255 255 / 5%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.cookie-category-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.cookie-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.cookie-category-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--white);
}

.cookie-required {
    background: var(--gray);
    color: var(--darker);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: auto;
}

.cookie-category-desc {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin: 0.75rem 0 0 2.25rem;
}

.cookie-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgb(255 255 255 / 10%);
    display: flex;
    justify-content: flex-end;
}

.cookie-btn-secondary {
    background: var(--gradient-primary);
    color: var(--white);
}

.cookie-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Responsive */
@media (width <= 992px) {
    .cookie-banner-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

@media (width <= 768px) {
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 1.5rem;
    }
}

/* ============================================
   VEHICLE MODAL & DYNAMIC CONTENT STYLES
   ============================================ */

/* Loading State */
.vehicles-grid .loading,
.vehicles-grid .error,
.vehicles-grid .no-vehicles {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray);
}

.vehicles-grid .loading::after {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    margin: 1rem auto;
    border: 4px solid var(--gray);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.vehicles-grid .error {
    color: var(--primary);
}

.no-vehicles svg {
    margin: 0 auto 1rem;
    opacity: 0.5;
}

.no-vehicles h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

/* Vehicle Modal */
.vehicle-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgb(2 6 23 / 95%);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: var(--dark);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 1rem;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
    z-index: 1;
}

/* Mobile modal improvements */
@media (width <= 768px) {
    .modal-content {
        max-height: 80vh;
        margin: auto 1rem;
        border-radius: 1rem 1rem 0 0;
    }

    /* Add swipe indicator */
    .modal-content::before {
        content: '';
        position: absolute;
        top: 0.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: rgb(255 255 255 / 30%);
        border-radius: 2px;
        z-index: 10;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgb(255 255 255 / 10%);
    color: var(--light);
    font-size: 2rem;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.modal-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.modal-header h2 {
    font-family: Orbitron, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.modal-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.modal-body {
    padding: 2rem;
}

.modal-body img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.modal-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgb(255 255 255 / 3%);
    border-radius: 0.5rem;
}

.spec-item {
    display: flex;
    gap: 0.5rem;
}

.spec-item strong {
    color: var(--primary);
    min-width: 120px;
}

.modal-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-light);
    margin-bottom: 2rem;
}

.modal-features h3 {
    font-family: Orbitron, sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.modal-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}

.modal-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.modal-footer {
    padding: 2rem;
    border-top: 1px solid rgb(255 255 255 / 10%);
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-footer .btn-primary,
.modal-footer .btn-secondary {
    min-width: 200px;
}

/* Search & Filter Bar */
.vehicle-filters {
    background: rgb(255 255 255 / 3%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 3rem;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-group input,
.filter-group select {
    padding: 0.75rem 1rem;
    background: var(--dark);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0.5rem;
    color: var(--light);
    font-family: Rajdhani, sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgb(220 38 38 / 10%);
}

.filter-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.btn-filter,
.btn-clear {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-family: Rajdhani, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-filter {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-clear {
    background: transparent;
    border: 1px solid rgb(255 255 255 / 20%);
    color: var(--light);
}

.btn-clear:hover {
    background: rgb(255 255 255 / 10%);
}

/* Responsive Modal */
@media (width <= 768px) {
    .modal-content {
        max-height: 95vh;
        border-radius: 1rem 1rem 0 0;
        margin-top: auto;
    }

    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-price {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-specs {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .modal-footer {
        flex-direction: column;
        padding: 1.5rem;
    }

    .modal-footer .btn-primary,
    .modal-footer .btn-secondary {
        width: 100%;
    }

    .filter-row {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        flex-direction: column;
    }

    .btn-filter,
    .btn-clear {
        width: 100%;
    }
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    background: var(--darker);
    padding: 6rem 0;
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgb(255 255 255 / 5%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 8px;
    color: var(--light);
    font-family: Rajdhani, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: capitalize;
}

.filter-btn:hover {
    background: rgb(255 255 255 / 10%);
    border-color: var(--primary);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
}

.gallery-card {
    background: var(--secondary);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgb(255 255 255 / 10%);
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

/* Gallery Image */
.gallery-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: var(--dark);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.1);
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgb(15 23 42 / 90%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.btn-view-project {
    padding: 0.75rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-card:hover .btn-view-project {
    transform: translateY(0);
}

/* Gallery Info */
.gallery-info {
    padding: 1.5rem;
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgb(220 38 38 / 10%);
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

.project-date {
    font-size: 0.85rem;
    color: var(--gray);
}

.gallery-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.gallery-description {
    font-size: 1rem;
    color: var(--gray-light);
    line-height: 1.6;
}

/* Gallery Loading State */
.gallery-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    border: 4px solid rgb(255 255 255 / 10%);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

.gallery-loading p {
    font-size: 1.1rem;
    color: var(--gray);
}

/* Gallery Empty State */
.gallery-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.gallery-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.gallery-empty p {
    font-size: 1.1rem;
    color: var(--gray);
}

/* Responsive Gallery */
@media (width <= 992px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 1.5rem;
    }

    .gallery-image {
        height: 250px;
    }
}

@media (width <= 768px) {
    .gallery-section {
        padding: 4rem 0;
    }

    .gallery-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-image {
        height: 220px;
    }

    .gallery-title {
        font-size: 1.2rem;
    }
}

/* ===== TOUCH DEVICE FEEDBACK ===== */
@media (hover: none) and (pointer: coarse) {
    /* Touch feedback for buttons */
    button:active,
    .btn-primary:active,
    .btn-secondary:active,
    .btn-outline:active,
    .btn-primary-large:active,
    .btn-view:active,
    .btn-filter:active,
    .btn-clear:active {
        transform: scale(0.95);
        background: rgb(220 38 38 / 20%);
    }

    /* Touch feedback for links */
    a:active {
        opacity: 0.7;
    }

    /* Touch feedback for interactive cards */
    .vehicle-card:active,
    .service-card:active,
    .gallery-card:active,
    .testimonial-card:active {
        transform: scale(0.98);
    }

    /* Touch feedback for form inputs */
    input:active,
    select:active,
    textarea:active {
        border-color: var(--primary);
        box-shadow: 0 0 0 2px rgb(220 38 38 / 10%);
    }

    /* Remove hover effects on touch devices */
    .vehicle-card:hover,
    .service-card:hover,
    .gallery-card:hover {
        transform: none;
    }
}
