/* ============================================
   Dino Classic Cars - Main Stylesheet
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #d4af37;
    --accent-hover: #c19a2e;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-gray: #666;
    --bg-light: #f9f9f9;
    --border-color: #e0e0e0;
    --success: #28a745;
    --error: #dc3545;
    --warning: #ffc107;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: var(--bg-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-light);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Header */
.site-header {
    background: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 0;
    font-size: 14px;
}

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

.header-contact span {
    margin-right: 20px;
}

.header-contact a,
.header-hours {
    color: var(--text-light);
}

.header-main {
    padding: 15px 0;
}

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

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.logo-tagline {
    font-size: 12px;
    color: var(--accent-color);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-image {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    height: 600px;
    background: linear-gradient(rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.7)),
                url('/assets/images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-header p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* Featured Cars */
.featured-cars {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-center h2 {
    font-size: 2.5rem;
}

.section-footer-center {
    text-align: center;
    margin-top: 50px;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.car-card {
    background: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.car-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.car-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.car-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.car-card-content {
    padding: 20px;
}

.car-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.car-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-gray);
}

.car-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Page Header Section */
.page-header-section {
    padding: 60px 0;
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.page-header-section h1 {
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header-section p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
}

/* Inventory Page */
.inventory-section {
    padding: 60px 0;
}

.inventory-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.inventory-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-box {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
}

.filter-box h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

.range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-inputs input {
    flex: 1;
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.results-count {
    font-size: 1.1rem;
}

.sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-form label {
    font-weight: 600;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

/* Car Details Page */
.car-details {
    padding: 60px 0;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--text-gray);
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.car-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.car-stock-id {
    color: var(--text-gray);
    font-size: 14px;
}

.car-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.car-content-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.car-left-column {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.car-gallery-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.desktop-description {
    margin-top: 40px;
}

.main-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.02);
}

/* Navigation arrows on main image */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.nav-arrow-left {
    left: 10px;
}

.nav-arrow-right {
    right: 10px;
}

/* Horizontal thumbnail gallery */
.thumbnail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
}

.thumbnail-gallery::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-gallery::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

.thumbnail-item {
    flex: 0 0 120px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.thumbnail-item.active,
.thumbnail-item:hover {
    border-color: var(--accent-color);
}

.thumbnail-item img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    display: block;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 36px;
    padding: 20px 25px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10000;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox-arrow-left {
    left: 20px;
}

.lightbox-arrow-right {
    right: 20px;
}

.specs-box,
.inquiry-form-box,
.contact-box {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.spec-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.spec-label {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-gray);
    font-weight: 500;
}

.spec-value {
    font-weight: 600;
    font-size: 15px;
    text-align: right;
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-action {
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.inquiry-form .form-group {
    margin-bottom: 15px;
}

.contact-box h4 {
    margin-bottom: 15px;
}

.contact-box p {
    margin-bottom: 10px;
}

.car-description-section {
    margin-bottom: 60px;
}

/* Hide mobile description on desktop */
.mobile-description {
    display: none;
}

/* Show desktop description by default */
.desktop-description {
    display: block;
}

.description-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.description-content p {
    margin-bottom: 1.2em;
    text-align: justify;
}

.description-content p:last-child {
    margin-bottom: 0;
}

.related-cars-section h2 {
    margin-bottom: 40px;
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.form-box,
.info-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item h4 {
    margin-bottom: 10px;
}

.map-section {
    padding: 40px 0;
}

.map-placeholder {
    background: var(--bg-light);
    padding: 80px 20px;
    text-align: center;
    border-radius: 8px;
}

/* Shipping Page */
.shipping-intro {
    padding: 40px 0;
    text-align: center;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
}

.shipping-features {
    padding: 60px 0;
    background: var(--bg-light);
}

.shipping-details,
.shipping-process,
.shipping-calculator-section,
.track-shipment-section {
    padding: 60px 0;
}

.shipping-content {
    max-width: 900px;
    margin: 20px auto;
    line-height: 1.8;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 8px;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.calculator-box,
.tracking-box {
    max-width: 600px;
    margin: 40px auto;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
}

.calculator-result,
.tracking-result {
    margin-top: 30px;
    padding: 30px;
    background: var(--bg-color);
    border-radius: 8px;
    text-align: center;
}

.result-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 20px 0;
}

.result-note {
    font-size: 14px;
    color: var(--text-gray);
}

.shipping-cta {
    padding: 80px 0;
    background: var(--secondary-color);
    text-align: center;
}

.shipping-cta h2 {
    color: var(--text-light);
}

.shipping-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* About Page */
.about-intro {
    padding: 60px 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.about-features {
    padding: 60px 0;
    background: var(--bg-light);
}

.feature-sections {
    max-width: 900px;
    margin: 40px auto 0;
}

.feature-section {
    margin-bottom: 50px;
    text-align: center;
}

.feature-icon-lg {
    font-size: 4rem;
    margin-bottom: 20px;
}

.benefits-list {
    margin: 20px 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-list h4 {
    margin-bottom: 10px;
}

.benefits-list ul {
    padding-left: 20px;
}

.benefits-list li {
    margin-bottom: 8px;
}

.about-cta {
    padding: 60px 0;
}

.cta-box {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3,
.footer-column h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-column a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.footer-contact li {
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 10px;
    color: var(--text-light);
    opacity: 0.6;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: capitalize;
}

.badge-active { background: #28a745; color: #fff; }
.badge-sold { background: #dc3545; color: #fff; }
.badge-pending { background: #ffc107; color: #000; }
.badge-draft { background: #6c757d; color: #fff; }
.badge-contact { background: #17a2b8; color: #fff; }
.badge-inquiry { background: #007bff; color: #fff; }
.badge-shipping { background: #6f42c1; color: #fff; }
.badge-new { background: #28a745; color: #fff; }
.badge-contacted { background: #17a2b8; color: #fff; }
.badge-qualified { background: #007bff; color: #fff; }
.badge-closed { background: #6c757d; color: #fff; }

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-gray); }

/* Responsive */
@media (max-width: 992px) {
    .inventory-layout {
        grid-template-columns: 1fr;
    }

    .inventory-sidebar {
        position: static;
    }

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

    /* Reorder elements on mobile - form goes after description */
    .car-info-section {
        display: flex;
        flex-direction: column;
    }

    .specs-box {
        order: 1;
    }

    .action-buttons {
        order: 2;
        grid-template-columns: 1fr;
    }

    .mobile-description {
        display: block;
        order: 3;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .inquiry-form-box {
        order: 4;
    }

    .contact-box {
        order: 5;
    }

    /* Hide desktop description on mobile */
    .desktop-description {
        display: none;
    }

    /* Mobile description styling */
    .mobile-description .description-content {
        font-size: 1rem;
        line-height: 1.7;
    }

    .mobile-description .description-content p {
        text-align: left;
        margin-bottom: 1em;
    }

    /* Action buttons on mobile */
    .action-buttons {
        gap: 10px;
    }

    .btn-action {
        padding: 12px 15px;
        font-size: 15px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    /* Mobile styles for image navigation */
    .main-image {
        height: 300px;
    }

    .nav-arrow {
        font-size: 18px;
        padding: 10px 15px;
    }

    .thumbnail-item {
        flex: 0 0 100px;
    }

    .thumbnail-item img {
        width: 100px;
        height: 75px;
    }

    .lightbox-arrow {
        font-size: 28px;
        padding: 15px 20px;
    }

    .lightbox-close {
        right: 20px;
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-color);
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-menu {
        display: flex !important;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    .main-nav li {
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav a {
        display: block;
        padding: 15px 10px;
        font-size: 16px;
        color: var(--text-color) !important;
    }

    .main-nav a:hover {
        color: var(--primary-color) !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo-image {
        height: 45px;
    }

    /* Overlay when menu is open */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

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

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

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

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

    .process-steps {
        grid-template-columns: 1fr;
    }

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

    .car-header {
        flex-direction: column;
        align-items: start;
    }
}
