/* =======================================
   ABC MOTORS - RESPONSIVE CAR SHOWROOM
   Modern, Professional, Premium Design
   ======================================= */
.logo-image { width: 38px; height: 38px; object-fit: cover; border-radius: 8px; vertical-align: middle; }

:root {
    /* Color Palette */
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --text-lighter: #bdc3c7;
    
    --bg-white: #ffffff;
    --bg-light: #ecf0f1;
    --bg-lighter: #f8f9fa;
    --bg-dark: #2c3e50;
    
    /* Typography */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* Border & Shadows */
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

.hero.full-background-text { background-size: cover; background-position: center; }
.hero.full-background-text .hero-image { display: none; }
.hero.full-background-text .hero-content { max-width: 760px; margin: 0 auto; text-align: center; }
.hero.full-width-overlay { background-size: cover; background-position: center; }
.hero.full-width-overlay .hero-content { position: relative; z-index: 1; }
.hero.full-width-overlay .hero-image { display: none; }
.hero.full-width-overlay { display: grid; place-items: center; text-align: center; }
@media (max-width: 768px) {
    .hero, .hero.text-left-image-right { grid-template-columns: 1fr; }
    .hero .hero-content { order: 1; }
    .hero .hero-image { order: 2; min-width: 0; width: 100%; }
    .hero .hero-buttons { flex-wrap: wrap; }
    .hero .hero-buttons .btn { max-width: 100%; }
}

/* =======================================
   Global Styles
   ======================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

button {
    font-family: var(--font-family);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

input, textarea, select {
    font-family: var(--font-family);
    border: 1px solid var(--text-lighter);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    font-size: var(--font-size-base);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* =======================================
   Header & Navigation
   ======================================= */

.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo h1 {
    font-size: var(--font-size-xl);
    color: var(--text-dark);
    font-weight: bold;
}

.logo h1 a {
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.call-btn {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    font-weight: bold;
    box-shadow: var(--shadow-sm);
}

.call-btn:hover {
    background-color: #c0392b;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.call-btn a {
    color: var(--bg-white);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    padding: 0;
    gap: var(--spacing-sm);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* =======================================
   Hero Section
   ======================================= */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
}

.hero-content h2 {
    font-size: var(--font-size-3xl);
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-content p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: var(--font-size-base);
    box-shadow: var(--shadow-sm);
    display: inline-block;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: #c0392b;
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: #1a252f;
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.btn-tertiary {
    background-color: var(--accent-color);
    color: var(--bg-white);
}

.btn-tertiary:hover {
    background-color: #2980b9;
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.btn-reset {
    background-color: var(--text-lighter);
    color: var(--text-dark);
    width: 100%;
    margin-top: var(--spacing-md);
}

.btn-reset:hover {
    background-color: var(--text-light);
}

.btn a {
    color: inherit;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: var(--font-size-lg);
    font-weight: bold;
    text-align: center;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
}

/* =======================================
   Trust Section
   ======================================= */

.trust-section {
    background-color: var(--bg-light);
    padding: var(--spacing-3xl) 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
}

.trust-card {
    background-color: var(--bg-white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.trust-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
}

.trust-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.trust-card p {
    color: var(--text-light);
}

/* =======================================
   Featured & Cars Section
   ======================================= */

.featured-section,
.related-section {
    padding: var(--spacing-3xl) 0;
}

.featured-section h2,
.related-section h2,
.why-choose-section h2,
.process-section h2,
.gallery-section h2,
.contact-section h2 {
    font-size: var(--font-size-2xl);
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.car-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.car-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.car-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.car-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: var(--transition);
}

.car-card:hover .car-image::after {
    background: rgba(0, 0, 0, 0.2);
}

.car-content {
    padding: var(--spacing-lg);
}

.car-title {
    font-size: var(--font-size-lg);
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.car-price {
    font-size: var(--font-size-xl);
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: var(--spacing-md);
}

.car-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
}

.car-spec {
    color: var(--text-light);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--bg-light);
}

.car-spec strong {
    color: var(--text-dark);
    display: block;
}

.car-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.car-buttons .btn {
    flex: 1;
    text-align: center;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
}

.view-all-btn {
    text-align: center;
}

.view-all-btn .btn {
    display: inline-block;
}

/* =======================================
   Page Title
   ======================================= */

.page-title {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: var(--bg-white);
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.page-title h1 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
}

.page-title p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
}

/* =======================================
   Cars Layout (Cars Page)
   ======================================= */

.cars-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-lighter);
}

.cars-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-2xl);
}

.filters-sidebar {
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters-sidebar h3 {
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
    font-size: var(--font-size-lg);
}

.filter-group {
    margin-bottom: var(--spacing-lg);
}

.filter-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-dark);
    font-size: var(--font-size-sm);
}

.filter-input {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--text-lighter);
    border-radius: var(--border-radius);
}

.cars-main {
    background-color: transparent;
}

.no-results {
    text-align: center;
    padding: var(--spacing-3xl);
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    color: var(--text-light);
}

.no-results p {
    font-size: var(--font-size-lg);
}

/* =======================================
   Car Details Page
   ======================================= */

.car-details-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-lighter);
}

.back-btn {
    background-color: transparent;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
    font-size: var(--font-size-base);
}

.back-btn:hover {
    transform: translateX(-3px);
}

.car-details-content {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.car-details-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-2xl);
    padding: var(--spacing-2xl);
}

.car-images {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.main-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-weight: bold;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.thumbnail {
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail:hover {
    border-color: var(--secondary-color);
}

.car-quick-info {
    display: flex;
    flex-direction: column;
}

.car-quick-info h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.price-tag {
    font-size: var(--font-size-xl);
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--bg-light);
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.spec-item {
    background-color: var(--bg-lighter);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
}

.spec-item strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
}

.spec-item span {
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: auto;
}

.action-buttons .btn {
    text-align: center;
}

.car-details-body {
    padding: var(--spacing-2xl);
    border-top: 1px solid var(--bg-light);
}

.details-section {
    margin-bottom: var(--spacing-2xl);
}

.details-section h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: var(--spacing-md);
}

.description {
    color: var(--text-light);
    line-height: 1.8;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table tr {
    border-bottom: 1px solid var(--bg-light);
}

.specifications-table td {
    padding: var(--spacing-md);
}

.specifications-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    width: 30%;
}

.specifications-table td:last-child {
    color: var(--text-light);
}

.loading {
    text-align: center;
    padding: var(--spacing-3xl);
    color: var(--text-light);
}

/* =======================================
   Image Gallery & Lightbox
   ======================================= */

.main-image-container {
    position: relative;
    width: 100%;
    margin-bottom: var(--spacing-lg);
}

.main-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-weight: bold;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.main-image:hover {
    transform: scale(1.02);
}

.main-image.image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.image-counter {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--bg-white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev-button {
    left: var(--spacing-md);
}

.next-button {
    right: var(--spacing-md);
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.thumbnail {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    overflow: hidden;
}

.thumbnail:hover {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px var(--bg-white), 
                0 0 0 4px var(--secondary-color);
}

/* =======================================
   Lightbox Modal
   ======================================= */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: var(--spacing-lg);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--border-radius-lg);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: transparent;
    color: var(--bg-white);
    border: none;
    font-size: var(--font-size-xl);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    border: none;
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.15);
}

.lightbox-prev {
    left: var(--spacing-lg);
}

.lightbox-next {
    right: var(--spacing-lg);
}

.lightbox-counter {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--bg-white);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius);
    font-weight: 600;
    white-space: nowrap;
}

/* =======================================
   About & Why Choose Section
   ======================================= */

.about-section,
.contact-section {
    padding: var(--spacing-3xl) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-text h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    line-height: 1.8;
}

.about-image {
    display: flex;
    align-items: center;
}

.about-image .placeholder-image {
    height: 400px;
}

/* =======================================
   Why Choose Section
   ======================================= */

.why-choose-section {
    background-color: var(--bg-light);
    padding: var(--spacing-3xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
}

.feature-card {
    background-color: var(--bg-white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* =======================================
   Process Section
   ======================================= */

.process-section {
    background-color: var(--bg-lighter);
    padding: var(--spacing-3xl) 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
}

.step {
    background-color: var(--bg-white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    font-size: var(--font-size-xl);
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.step h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
}

/* =======================================
   Gallery Section
   ======================================= */

.gallery-section {
    padding: var(--spacing-3xl) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.gallery-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.gallery-item .placeholder-image {
    height: 250px;
    margin: 0;
}

/* =======================================
   Contact Section
   ======================================= */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

.contact-info {
    background-color: var(--bg-light);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
}

.contact-info h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.contact-item {
    margin-bottom: var(--spacing-2xl);
}

.contact-item h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item a {
    color: var(--secondary-color);
    font-weight: 600;
}

.contact-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.contact-buttons .btn {
    flex: 1;
    text-align: center;
}

.contact-form {
    background-color: var(--bg-white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-form h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
}

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* =======================================
   Map Section
   ======================================= */

.map-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-light);
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container .placeholder-image {
    height: 100%;
    margin: 0;
    border-radius: var(--border-radius-lg);
}

/* =======================================
   Mobile Contact Bar
   ======================================= */

.mobile-contact-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.mobile-contact-btn {
    flex: 1;
    padding: var(--spacing-md);
    text-align: center;
    color: var(--text-dark);
    font-weight: 600;
    border-right: 1px solid var(--bg-light);
    display: block;
}

.mobile-contact-btn:last-child {
    border-right: none;
}

.mobile-contact-btn:hover {
    background-color: var(--bg-lighter);
}

/* =======================================
   Footer
   ======================================= */

.footer {
    background-color: var(--bg-dark);
    color: var(--bg-white);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* =======================================
   Responsive Design
   ======================================= */

@media (max-width: 768px) {
    .header-content {
        padding: var(--spacing-md) 0;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-md);
        z-index: 100;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--bg-light);
    }

    .nav-menu a {
        padding: var(--spacing-md);
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .call-btn {
        display: none;
    }

    .mobile-contact-bar {
        display: flex;
        padding-bottom: 60px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: var(--spacing-2xl) 0;
    }

    .hero-image .placeholder-image {
        height: 300px;
    }

    .cars-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
        margin-bottom: var(--spacing-lg);
    }

    .car-details-header {
        grid-template-columns: 1fr;
    }

    .main-image {
        height: 250px;
    }

    .thumbnail-images {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }

    .nav-button {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image .placeholder-image {
        height: 250px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-buttons .btn {
        width: 100%;
    }

    .action-buttons .btn {
        width: 100%;
    }

    .car-buttons {
        flex-direction: column;
    }

    .trust-grid,
    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: var(--font-size-xl) !important;
    }

    .section-subtitle {
        font-size: var(--font-size-base);
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base);
    }

    .lightbox-close {
        width: 35px;
        height: 35px;
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .hero-content h2 {
        font-size: var(--font-size-2xl);
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }

    .specifications-table td {
        padding: var(--spacing-sm);
        font-size: var(--font-size-sm);
    }

    .thumbnail-images {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-title h1 {
        font-size: var(--font-size-xl);
    }

    .page-title p {
        font-size: var(--font-size-base);
    }

    .logo h1 {
        font-size: var(--font-size-lg);
    }

    .nav-menu {
        gap: 0;
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .main-image {
        height: 200px;
    }

    .thumbnail-images {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-button {
        width: 35px;
        height: 35px;
    }

    .thumbnail {
        height: 60px;
    }

    .image-counter {
        font-size: 12px;
        padding: 4px 8px;
    }

    .lightbox {
        padding: var(--spacing-sm);
    }

    .lightbox-prev,
    .lightbox-next {
        width: 35px;
        height: 35px;
        left: var(--spacing-sm);
        right: var(--spacing-sm);
    }

    .lightbox-next {
        left: auto;
    }

    .lightbox-counter {
        font-size: var(--font-size-sm);
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

/* =======================================
   Animations & Transitions
   ======================================= */

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.car-card {
    animation: slideIn 0.5s ease-out;
}
/* Server-validated honeypot: invisible to people, deliberately present for unsophisticated bots. */
.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
