:root {
    --color-cream: #FDF8F3;
    --color-dark: #1A1A1A;
    --color-accent: #E85D04;
    --color-accent-hover: #D64D00;
    --color-sage: #4A7C59;
    --color-sage-light: #E8F0EA;
    --color-warm-gray: #6B6B6B;
    --color-border: #E5E0DB;
    --font-display: 'Fraunces', serif;
    --font-body: 'DM Sans', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: var(--transition-smooth);
    background: transparent;
}

header.scrolled {
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-smooth);
}

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

.nav-cta {
    background: var(--color-dark);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    transition: var(--transition-smooth);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-sage-light) 0%, transparent 70%);
    border-radius: 0 0 0 50%;
    z-index: -1;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.hero-text h1 span {
    color: var(--color-accent);
    font-style: italic;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--color-warm-gray);
    margin-bottom: 2rem;
    max-width: 480px;
}

/* License Plate Input */
.plate-input-container {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    max-width: 500px;
}

.plate-input-label {
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-warm-gray);
}

.plate-input-wrapper {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
}

.plate-country {
    background: #003399;
    color: white;
    padding: 1rem 0.75rem;
    border-radius: 12px 0 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 45px;
}

.plate-country .stars {
    font-size: 0.5rem;
    letter-spacing: 1px;
}

.plate-country .country-code {
    font-weight: 700;
    font-size: 1rem;
}

.plate-input {
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 3px solid var(--color-border);
    border-left: none;
    border-radius: 0 12px 12px 0;
    background: #FFFEF9;
    transition: var(--transition-smooth);
    outline: none;
}

.plate-input:focus {
    border-color: var(--color-accent);
    background: white;
}

.plate-input::placeholder {
    color: #CCC;
    letter-spacing: 2px;
}

.submit-btn {
    width: 100%;
    padding: 1.1rem 2rem;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.submit-btn:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 93, 4, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn .arrow {
    transition: var(--transition-smooth);
}

.submit-btn:hover .arrow {
    transform: translateX(4px);
}

.plate-hint {
    font-size: 0.85rem;
    color: var(--color-warm-gray);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plate-hint svg {
    flex-shrink: 0;
}

/* Hero Image/Illustration */
.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    transform: rotate(2deg);
    transition: var(--transition-smooth);
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 3s ease-in-out infinite;
}

.floating-badge.badge-1 {
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.floating-badge.badge-2 {
    bottom: 15%;
    left: -10%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-icon {
    width: 44px;
    height: 44px;
    background: var(--color-sage-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-sage);
}

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

.badge-value {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-dark);
}

.badge-label {
    font-size: 0.8rem;
    color: var(--color-warm-gray);
}

/* Vehicle Result Card */
.vehicle-result {
    display: none;
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    animation: slideUp 0.5s ease-out;
}

.vehicle-result.active {
    display: block;
}

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

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.vehicle-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.vehicle-subtitle {
    color: var(--color-warm-gray);
    font-size: 0.95rem;
}

.vehicle-plate {
    background: #FFFBCC;
    border: 3px solid var(--color-dark);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

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

.spec-item {
    text-align: center;
    padding: 1.25rem;
    background: var(--color-cream);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.spec-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.spec-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--color-accent);
    font-size: 1.5rem;
}

.spec-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.spec-label {
    font-size: 0.8rem;
    color: var(--color-warm-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.continue-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    background: var(--color-sage);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.continue-btn:hover {
    background: #3d6a4a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 124, 89, 0.3);
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 2rem;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    background: var(--color-sage-light);
    color: var(--color-sage);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--color-warm-gray);
    font-size: 1.1rem;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-sage));
    border-radius: 10px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-accent), #FF8C42);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(232, 93, 4, 0.3);
}

.step-card:nth-child(2) .step-number {
    background: linear-gradient(135deg, #FF8C42, var(--color-sage));
}

.step-card:nth-child(3) .step-number {
    background: linear-gradient(135deg, var(--color-sage), #2D5A3D);
}

.step-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.step-desc {
    color: var(--color-warm-gray);
    font-size: 0.95rem;
    max-width: 280px;
    margin: 0 auto;
}

/* Trust Section */
.trust-section {
    padding: 5rem 2rem;
    background: var(--color-cream);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 2rem;
}

.trust-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.trust-label {
    color: var(--color-warm-gray);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    text-align: left;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.faq-item.active .faq-icon {
    background: var(--color-accent);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 0 1.5rem;
    color: var(--color-warm-gray);
    line-height: 1.7;
}

/* Footer */
footer {
    background: var(--color-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-heading {
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Error state */
.error-message {
    background: #FFF0F0;
    border: 1px solid #FFD0D0;
    color: #CC3333;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-top: 1rem;
    display: none;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.error-message.active {
    display: flex;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .plate-input-container {
        margin: 0 auto;
    }

    .hero-visual {
        display: none;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .steps-container::before {
        display: none;
    }

    .trust-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 640px) {
    header {
        padding: 1rem;
    }

    .hero {
        padding: 6rem 1rem 2rem;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .plate-input-container {
        padding: 1.25rem;
        border-radius: 16px;
        max-width: 100%;
    }

    .plate-input-wrapper {
        margin-bottom: 1rem;
    }

    .plate-country {
        padding: 0.75rem 0.5rem;
        min-width: 40px;
    }

    .plate-input {
        font-size: 1.1rem;
        letter-spacing: 2px;
        padding: 0.75rem 1rem;
    }

    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .plate-hint {
        font-size: 0.8rem;
    }

    .vehicle-result {
        padding: 1rem;
    }

    .vehicle-specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .trust-container {
        grid-template-columns: 1fr;
    }
}

/* Recent Cars Gallery */
.recent-cars {
    padding: 5rem 2rem;
    background: white;
    overflow: hidden;
}

.gallery-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.gallery-track-wrapper {
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease-out;
}

.gallery-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 280px;
    padding: 3rem;
    color: var(--color-warm-gray);
}

.gallery-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: gallerySpin 1s linear infinite;
    margin-bottom: 1rem;
}

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

/* Gallery Card */
.gallery-card {
    flex: 0 0 240px;
    width: 240px;
    background: var(--color-cream);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.gallery-card__image {
    width: 240px;
    height: 160px;
    overflow: hidden;
    background: var(--color-border);
}

.gallery-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-card__image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-sage-light) 0%, var(--color-border) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.gallery-card__body {
    padding: 1rem;
}

.gallery-card__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-card__year {
    font-size: 0.875rem;
    color: var(--color-warm-gray);
    margin: 0 0 0.75rem 0;
}

.gallery-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.gallery-card__meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-warm-gray);
}

.gallery-card__meta-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.6;
}

/* Gallery Navigation */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gallery-nav:hover:not(:disabled) {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.gallery-nav:disabled {
    cursor: not-allowed;
}

.gallery-nav-prev {
    left: 0;
}

.gallery-nav-next {
    right: 0;
}

/* Gallery Empty State */
.gallery-empty {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-cream);
    border-radius: 24px;
    max-width: 500px;
    margin: 0 auto;
}

.gallery-empty.active {
    display: block;
}

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

.gallery-empty h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.gallery-empty p {
    color: var(--color-warm-gray);
    margin-bottom: 1.5rem;
}

.gallery-cta {
    display: inline-flex;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gallery-nav:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.gallery-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-nav:disabled:hover {
    background: white;
    border-color: var(--color-border);
    color: inherit;
}

.gallery-nav-prev {
    left: 0;
}

.gallery-nav-next {
    right: 0;
}

.gallery-empty {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-cream);
    border-radius: 24px;
    max-width: 500px;
    margin: 0 auto;
}

.gallery-empty.active {
    display: block;
}

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

.gallery-empty h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.gallery-empty p {
    color: var(--color-warm-gray);
    margin-bottom: 1.5rem;
}

.gallery-cta {
    display: inline-flex;
}

.cta-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

.cta-link:hover {
    text-decoration: underline;
}

/* Mobile styles */
@media (max-width: 768px) {

    header {
        position: relative;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 0;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        list-style: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid #E5E0DB;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        color: #1A1A1A;
        text-decoration: none;
    }

    .nav-links a:hover {
        background: #f5f5f5;
    }

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

    .hero {
        padding: 7rem 1rem 3rem;
    }

    .plate-input-container {
        padding: 1.5rem;
    }

    .plate-input {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .vehicle-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-container {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Gallery mobile styles */
    .recent-cars {
        padding: 3rem 1rem;
    }

    .gallery-container {
        padding: 0 50px;
    }

    .gallery-card {
        flex: 0 0 220px;
        width: 220px;
    }

    .gallery-card__image {
        width: 220px;
        height: 140px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }
}

/* Mobile menu button - hidden by default, shown in media query */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    width: 44px;
    height: 44px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #1A1A1A;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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