/**
 * Luxury Elegant - Premium Automotive Theme
 * Refined, premium feel with subtle animations
 * Centered logo navigation with split links
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
    /* Modern Car Dealership Palette */
    --color-navy: #0f172a;
    --color-navy-light: #1e293b;
    --color-navy-dark: #020617;
    --color-gold: #eab308;
    --color-gold-light: #fde047;
    --color-gold-dark: #ca8a04;
    --color-ivory: #f8fafc;
    --color-cream: #f1f5f9;
    --color-white: #ffffff;
    
    /* Background Colors */
    --color-bg-primary: var(--color-ivory);
    --color-bg-secondary: var(--color-white);
    --color-bg-dark: var(--color-navy);
    
    /* Text Colors */
    --color-text: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-text-inverse: var(--color-white);
    
    /* Primary & Accent */
    --color-primary: var(--color-navy);
    --color-accent: var(--color-gold);
    
    /* Borders */
    --color-border: #e2e8f0;
    --color-border-dark: #cbd5e1;
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    /* Spacing */
    --nav-height: 90px;
    --container-width: 1440px;
    --section-padding: 100px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-gold: 0 10px 15px -3px rgba(234, 179, 8, 0.2);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg-primary);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

/* ==================== */
/* ANIMATIONS */
/* ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes scaleIn {
    from { 
        opacity: 0; 
        transform: scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

@keyframes slideInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-30px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

/* Scroll reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-children.revealed > *:nth-child(1) { animation: fadeUp 0.6s ease 0.1s forwards; }
.stagger-children.revealed > *:nth-child(2) { animation: fadeUp 0.6s ease 0.2s forwards; }
.stagger-children.revealed > *:nth-child(3) { animation: fadeUp 0.6s ease 0.3s forwards; }
.stagger-children.revealed > *:nth-child(4) { animation: fadeUp 0.6s ease 0.4s forwards; }
.stagger-children.revealed > *:nth-child(5) { animation: fadeUp 0.6s ease 0.5s forwards; }
.stagger-children.revealed > *:nth-child(6) { animation: fadeUp 0.6s ease 0.6s forwards; }

/* ==================== */
/* NAVIGATION - Centered Logo Split */
/* ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.navbar.scrolled .nav-link {
    color: var(--color-text);
}

.navbar.scrolled .nav-link:hover {
    color: var(--color-gold);
}

.navbar.scrolled .logo-text {
    color: var(--color-navy);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: var(--container-width);
    gap: 1rem;
}

/* Left Navigation Links */
.nav-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
}

/* Center Logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    flex-shrink: 0;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -1px;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.logo-text span {
    color: var(--color-gold);
}

/* Right Navigation Links */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-start;
}

/* Navigation Links */
.nav-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.25rem;
    position: relative;
    letter-spacing: 0;
    transition: all var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: all var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 2rem);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

/* Phone CTA in Nav */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-gold);
    color: var(--color-navy) !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.8125rem;
    margin-left: 1rem;
    transition: all var(--transition-fast);
}

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

.nav-cta:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.nav-cta svg {
    width: 16px;
    height: 16px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: var(--radius-sm);
    z-index: 1001;
    transition: background var(--transition-fast);
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus {
    background: rgba(0, 0, 0, 0.35);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.navbar.scrolled .mobile-menu-btn {
    background: rgba(26, 31, 58, 0.1);
}

.navbar.scrolled .mobile-menu-btn:hover {
    background: rgba(26, 31, 58, 0.2);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--color-navy);
}

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

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

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

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--color-navy) 0%, rgba(26, 31, 58, 0.98) 100%);
    z-index: 999;
    padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.3s, padding-left 0.3s;
    transition: all var(--transition-fast);
}

.mobile-nav a:hover {
    color: var(--color-gold);
    padding-left: 1rem;
}

.mobile-nav-cta {
    margin-top: auto;
    padding-top: 2rem;
}

/* ==================== */
/* HERO SECTION - Full Screen Centered */
/* ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 31, 58, 0.7) 0%, rgba(26, 31, 58, 0.85) 100%),
                url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1920&q=80') center/cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeUp 1s ease 0.3s both;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--color-gold);
    border-radius: 100px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -3px;
}

.hero-title em {
    color: var(--color-gold);
    font-style: italic;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 1s ease 0.6s both;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeIn 1s ease 1.2s both;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.scroll-indicator:hover {
    color: var(--color-gold);
}

.scroll-indicator-icon {
    width: 24px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 12px;
    position: relative;
}

.scroll-indicator-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: currentColor;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

/* ==================== */
/* BUTTONS */
/* ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2.25rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    border: 2px solid transparent;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    letter-spacing: -0.2px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

.btn-primary:hover {
    background: var(--color-navy-light);
    border-color: var(--color-navy-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--color-gold);
    color: var(--color-navy);
    border-color: var(--color-gold);
}

.btn-secondary:hover {
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--color-navy);
    border-color: var(--color-border-dark);
}

.btn-outline:hover {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
    transform: translateY(-3px);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-white);
    transform: translateY(-3px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-gold);
    border-color: transparent;
    padding: 0.75rem 1rem;
}

.btn-ghost:hover {
    background: rgba(201, 169, 98, 0.1);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 0.9375rem;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

.btn-block {
    width: 100%;
}

/* ==================== */
/* SECTIONS */
/* ==================== */
section {
    padding: var(--section-padding) 2rem;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 1rem;
    letter-spacing: -2px;
    line-height: 1;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--color-gold);
    margin: 0 auto 2rem;
    border-radius: 100px;
}

.section-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.0625rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Dark Section */
.section-dark {
    background: var(--color-navy);
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.section-dark .section-tag {
    color: var(--color-gold);
}

.section-dark .section-title {
    color: var(--color-white);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== */
/* STATS BAR */
/* ==================== */
.stats-bar {
    background: var(--color-navy);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats-bar::before,
.stats-bar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.stats-bar::before { top: 0; }
.stats-bar::after { bottom: 0; }

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

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
}

/* ==================== */
/* VEHICLE CARDS */
/* ==================== */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.vehicle-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-smooth);
    position: relative;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

.vehicle-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

.vehicle-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-navy);
    color: var(--color-white);
    padding: 0.4rem 0.875rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    z-index: 2;
}

.vehicle-badge.high-interest {
    background: var(--color-gold);
    color: var(--color-navy);
}

.card-status-banner {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%) rotate(-3deg);
    padding: 0.75rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    z-index: 5;
}

.card-status-banner.pending {
    background: rgba(201, 169, 98, 0.95);
    color: var(--color-navy);
}

.card-status-banner.sold {
    background: rgba(139, 69, 69, 0.95);
    color: var(--color-white);
}

.vehicle-card-body {
    padding: 1.5rem;
}

.vehicle-year {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.vehicle-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.vehicle-specs {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.9;
}

.vehicle-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.vehicle-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-navy);
}

.vehicle-card-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    border-radius: 50%;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.vehicle-card-btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.vehicle-card:hover .vehicle-card-btn {
    background: var(--color-gold);
    color: var(--color-navy);
}

.vehicle-card:hover .vehicle-card-btn svg {
    transform: translateX(3px);
}

/* ==================== */
/* TESTIMONIALS */
/* ==================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: all var(--transition-smooth);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-gold);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating svg {
    width: 18px;
    height: 18px;
    fill: var(--color-gold);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(201, 169, 98, 0.3);
}

.testimonial-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--color-gold);
}

/* ==================== */
/* FORMS - Elegant Floating Labels */
/* ==================== */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
    transition: all var(--transition-fast);
}

/* Floating Label Style */
.form-floating {
    position: relative;
}

.form-floating label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
    background: transparent;
    padding: 0 0.25rem;
    margin: 0;
}

.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label,
.form-floating textarea:focus ~ label,
.form-floating textarea:not(:placeholder-shown) ~ label,
.form-floating select:focus ~ label,
.form-floating select:valid ~ label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: var(--color-gold);
    background: var(--color-white);
}

.form-floating input,
.form-floating textarea,
.form-floating select {
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
}

/* Standard Inputs */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--color-cream);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-navy);
    background: var(--color-white);
    box-shadow: var(--shadow-md);
}

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

/* Custom Select */
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 3rem;
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* Checkbox & Radio */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--color-gold);
    border: 2px solid var(--color-border);
    border-radius: 4px;
}

.form-check input[type="radio"] {
    border-radius: 50%;
}

.form-check-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.form-check-label a {
    color: var(--color-navy);
    text-decoration: underline;
}

/* Consent Group */
.consent-group {
    padding: 1.25rem;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-gold);
    margin: 1.5rem 0;
}

.consent-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.consent-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Form Note */
.form-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
    text-align: center;
}

/* ==================== */
/* CONTACT SECTION */
/* ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    background: var(--color-navy);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    color: var(--color-white);
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(201, 169, 98, 0.15);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-gold);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item-content h4 {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold);
    margin-bottom: 0.375rem;
}

.contact-item-content p,
.contact-item-content a {
    color: var(--color-white);
    font-size: 0.9375rem;
}

.contact-item-content a:hover {
    color: var(--color-gold);
}

.contact-form {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
}

/* ==================== */
/* FOOTER */
/* ==================== */
footer {
    background: var(--color-navy-dark);
    color: var(--color-white);
    padding: 6rem 2rem 3rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
}

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

.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.footer-brand .logo-text {
    font-size: 1.375rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
    transform: translateY(-3px);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: -0.5px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-gold);
}

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

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 0.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-gold);
}

.footer-copyright {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--color-gold);
    color: var(--color-navy);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ==================== */
/* PAGE HEADER */
/* ==================== */
.page-header {
    background: linear-gradient(180deg, rgba(26, 31, 58, 0.85), rgba(26, 31, 58, 0.95)),
                url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=1920&q=80') center/cover no-repeat;
    padding: calc(var(--nav-height) + 5rem) 2rem 5rem;
    text-align: center;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1rem;
    letter-spacing: -2px;
    line-height: 1.1;
    animation: fadeUp 0.8s ease both;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    animation: fadeUp 0.8s ease 0.2s both;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--color-white);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--color-border);
}

.breadcrumb .container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-navy);
    transition: color var(--transition-fast);
}

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

.breadcrumb li:last-child {
    color: var(--color-text-muted);
}

/* ==================== */
/* INVENTORY PAGE */
/* ==================== */
.inventory-section {
    padding: 4rem 2rem;
    background: var(--color-bg-primary);
    min-height: 60vh;
}

.inventory-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.search-input-wrapper {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-input-wrapper input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3.25rem;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.search-input-wrapper input:focus {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-md);
}

.search-input-wrapper svg {
    position: absolute;
    left: 1.125rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
}

/* Inventory Grid */
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.inventory-grid .vehicle-card {
    opacity: 1;
    animation: fadeUp 0.5s ease forwards;
}

.inventory-count {
    text-align: center;
    margin-top: 2.5rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* ==================== */
/* VEHICLE DETAIL PAGE */
/* ==================== */
.vehicle-detail {
    padding-top: var(--nav-height);
    background: var(--color-bg-primary);
}

.vehicle-detail-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: all var(--transition-fast);
}

.back-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.back-link:hover {
    color: var(--color-gold);
}

.back-link:hover svg {
    transform: translateX(-4px);
}

/* Vehicle Layout */
.vehicle-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: start;
}

.vehicle-main {
    min-width: 0;
}

/* Gallery */
.vehicle-gallery {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery-main {
    position: relative;
    aspect-ratio: 16/10;
    cursor: zoom-in;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.gallery-nav:hover {
    background: var(--color-gold);
    color: var(--color-navy);
}

.gallery-nav svg {
    width: 20px;
    height: 20px;
}

.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }

.gallery-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--color-navy);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: var(--radius-md);
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    background: var(--color-cream);
}

.gallery-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--color-gold);
}

.gallery-thumb:hover {
    opacity: 0.8;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Vehicle Sidebar - Sticky */
.vehicle-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.vehicle-sidebar-header {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.vehicle-sidebar-year {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.vehicle-sidebar-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.vehicle-sidebar-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-navy);
}

.vehicle-sidebar-stock {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.375rem;
}

/* Specs Table */
.specs-table {
    margin-bottom: 1.5rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
}

.spec-label {
    color: var(--color-text-muted);
    font-weight: 500;
}

.spec-value {
    color: var(--color-text);
    font-weight: 600;
    text-align: right;
}

/* Vehicle CTA */
.vehicle-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vehicle-cta .btn {
    width: 100%;
}

.cta-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

/* Trust Badges */
.trust-badges {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.trust-badge {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.08) 0%, rgba(201, 169, 98, 0.03) 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(201, 169, 98, 0.15);
}

.trust-badge svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    stroke: var(--color-gold);
    margin-top: 2px;
}

.trust-badge > div {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.trust-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-navy);
}

.trust-desc {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Vehicle Content Tabs */
.vehicle-content {
    margin-top: 2rem;
}

.vehicle-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: var(--color-cream);
    padding: 0.5rem;
    border-radius: 100px;
    width: max-content;
}

.vehicle-tab {
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.vehicle-tab:hover {
    color: var(--color-navy);
}

.vehicle-tab.active {
    background: var(--color-white);
    color: var(--color-navy);
    box-shadow: var(--shadow-sm);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

.vehicle-description {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.vehicle-description h2 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 1.25rem;
}

.vehicle-description p {
    line-height: 1.9;
    color: var(--color-text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

.feature-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-gold);
    flex-shrink: 0;
}

/* Vehicle Inquiry Box */
.vehicle-inquiry {
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    margin-top: 3rem;
}

.vehicle-inquiry h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.vehicle-inquiry .inquiry-subtitle {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

/* ==================== */
/* LIGHTBOX */
/* ==================== */
.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(26, 31, 58, 0.97);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.image-lightbox.active {
    display: flex;
}

.lightbox-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(to bottom, rgba(26, 31, 58, 0.9), transparent);
    z-index: 10;
}

.lightbox-counter {
    color: var(--color-white);
    font-size: 0.9375rem;
}

.lightbox-controls {
    display: flex;
    gap: 0.5rem;
}

.lightbox-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
}

.lightbox-btn svg {
    width: 20px;
    height: 20px;
}

.lightbox-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox-nav:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
}

.lightbox-nav.prev { left: 2rem; }
.lightbox-nav.next { right: 2rem; }

.lightbox-thumbnails {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 0.5rem;
    padding: 1.5rem;
    justify-content: center;
    background: linear-gradient(to top, rgba(26, 31, 58, 0.9), transparent);
    overflow-x: auto;
}

.lightbox-thumb {
    width: 60px;
    height: 45px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    opacity: 0.5;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--color-gold);
}

/* Lightbox Zoom Controls */
.lightbox-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 0.5rem;
}

.zoom-level {
    color: var(--color-white);
    font-size: 0.8125rem;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
}

.zoom-btn {
    position: relative;
}

.zoom-btn svg {
    width: 18px;
    height: 18px;
}

/* Zoom-enabled Image Container */
.lightbox-image-container {
    overflow: hidden;
    cursor: zoom-in;
}

.lightbox-image-container.zoomed {
    cursor: grab;
}

.lightbox-image-container.zoomed.panning {
    cursor: grabbing;
}

.lightbox-image {
    transition: transform 0.15s ease-out;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-image-container.zoomed .lightbox-image {
    transition: none;
}

/* Zoom hints tooltip */
.lightbox-header::after {
    content: 'Scroll to zoom • Double-click to reset • Drag to pan';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-lightbox.active .lightbox-header:hover::after {
    opacity: 1;
}

/* ==================== */
/* CONTENT PAGES */
/* ==================== */
.content-page {
    padding-top: var(--nav-height);
}

.content-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Sell Page */
.sell-hero {
    background: linear-gradient(180deg, rgba(26, 31, 58, 0.85), rgba(26, 31, 58, 0.95)),
                url('https://images.unsplash.com/photo-1489824904134-891ab64532f1?w=1920&q=80') center/cover no-repeat;
    padding: calc(var(--nav-height) + 5rem) 2rem 5rem;
    text-align: center;
}

.sell-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.sell-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
}

.sell-form-section {
    padding: 4rem 2rem;
    background: var(--color-bg-primary);
}

.sell-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

/* Legal Pages */
.legal-page {
    padding: 4rem 0;
    background: var(--color-bg-primary);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-content h1 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.legal-content .last-updated {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

.legal-section p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

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

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-navy { color: var(--color-navy); }

/* ==================== */
/* RESPONSIVE - PROFESSIONAL MOBILE */
/* ==================== */

/* Tablet Landscape & Small Desktop */
@media (max-width: 1200px) {
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .inventory-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vehicle-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vehicle-sidebar {
        position: static;
        order: -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        align-items: start;
    }
    
    .vehicle-sidebar-header {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .vehicle-cta {
        margin-top: 0;
    }
    
    .specs-table {
        display: none;
    }
}

/* Tablet Portrait */
@media (max-width: 1024px) {
    .inventory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container {
        padding: 0 1.25rem;
    }
}

/* Mobile Landscape & Large Phones */
@media (max-width: 900px) {
    :root {
        --nav-height: 65px;
        --section-padding: 60px;
    }
    
    /* Navigation - Force hide desktop nav on mobile */
    .nav-left,
    .nav-right {
        display: none !important;
    }
    
    .nav-cta {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-container {
        justify-content: center;
        position: relative;
    }
    
    .navbar {
        padding: 0 1rem;
    }
    
    .logo {
        padding: 0;
    }
    
    .logo-image {
        height: 55px !important;
    }
    
    /* Mobile Navigation Enhancements */
    .mobile-nav {
        padding: calc(var(--nav-height) + 2rem) 1.5rem 2rem;
    }
    
    .mobile-nav a {
        font-size: 1.125rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .mobile-nav-cta {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .mobile-nav-cta .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Hero */
    .hero {
        min-height: 85vh;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.15;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-tag {
        font-size: 0.7rem;
        padding: 0.5rem 1.25rem;
    }
    
    .scroll-indicator {
        bottom: 1.5rem;
    }
    
    /* Page Headers */
    .page-header {
        padding: calc(var(--nav-height) + 3rem) 1.5rem 3rem;
        min-height: auto;
    }
    
    .page-header h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .page-header p {
        font-size: 0.9375rem;
    }
    
    /* Sections */
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
        padding: 0 1rem;
    }
    
    /* Stats */
    .stats-bar {
        padding: 2.5rem 1rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        margin-bottom: 1rem;
    }
    
    .footer-logo {
        display: block;
        margin: 0 auto 1rem;
    }
    
    .footer-logo-image {
        height: 50px;
        margin: 0 auto;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Vehicle Layout */
    .vehicle-sidebar {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vehicle-cta .btn {
        width: 100%;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Portrait - Primary Mobile View */
@media (max-width: 600px) {
    :root {
        --nav-height: 60px;
        --section-padding: 50px;
    }
    
    /* Base Typography */
    body {
        font-size: 15px;
    }
    
    /* Sections */
    section {
        padding: 50px 1rem;
    }
    
    /* Hero Refinements */
    .hero {
        min-height: 100svh; /* Use small viewport height for mobile browsers */
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
    }
    
    .hero-buttons {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    /* Vehicle Cards */
    .vehicles-grid,
    .inventory-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .vehicle-card {
        border-radius: var(--radius-lg);
    }
    
    .vehicle-card-body {
        padding: 1.25rem;
    }
    
    .vehicle-title {
        font-size: 1.125rem;
    }
    
    .vehicle-price {
        font-size: 1.25rem;
    }
    
    /* Forms - Touch Friendly */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 0.9375rem 1rem;
        min-height: 50px;
    }
    
    .form-group label {
        font-size: 0.8125rem;
        margin-bottom: 0.5rem;
    }
    
    .consent-group {
        padding: 1rem;
    }
    
    .consent-group label {
        font-size: 0.8125rem;
        line-height: 1.6;
    }
    
    .consent-group input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin-top: 2px;
    }
    
    /* Buttons - Touch Targets */
    .btn {
        min-height: 48px;
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .btn-lg {
        min-height: 52px;
        padding: 1rem 1.75rem;
    }
    
    .btn-block {
        display: flex;
        justify-content: center;
    }
    
    /* Stats */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    /* Inventory Filter */
    .filter-bar {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        background: var(--color-white);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
    }
    
    .search-input-wrapper {
        min-width: 100%;
    }
    
    .filter-bar .form-group {
        margin: 0;
        min-width: 100%;
    }
    
    .filter-bar select {
        min-height: 48px;
    }
    
    .inventory-count {
        font-size: 0.8125rem;
        text-align: center;
    }
    
    /* Contact Sections */
    .sell-form-container,
    .contact-form,
    .contact-info {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }
    
    .contact-info h3,
    .contact-form h3 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .contact-item {
        padding: 0.875rem 0;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    /* Vehicle Detail Page */
    .vehicle-detail-container {
        padding: 1rem;
    }
    
    .back-link {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .breadcrumb {
        padding: 0.75rem 1rem;
        font-size: 0.75rem;
    }
    
    .breadcrumb li {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* Vehicle Gallery Mobile */
    .vehicle-gallery {
        border-radius: var(--radius-lg);
        margin-bottom: 1.25rem;
    }
    
    .gallery-main {
        aspect-ratio: 4/3;
    }
    
    .gallery-nav {
        width: 36px;
        height: 36px;
    }
    
    .gallery-counter {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .gallery-thumbnails {
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .gallery-thumb {
        width: 60px;
        height: 45px;
    }
    
    /* Vehicle Sidebar Mobile */
    .vehicle-sidebar {
        padding: 1.25rem;
        border-radius: var(--radius-lg);
        margin-bottom: 1.25rem;
    }
    
    .vehicle-sidebar-year {
        font-size: 0.6875rem;
    }
    
    .vehicle-sidebar-title {
        font-size: 1.25rem;
    }
    
    .vehicle-sidebar-price {
        font-size: 1.625rem;
    }
    
    .vehicle-sidebar-stock {
        font-size: 0.6875rem;
    }
    
    .specs-table {
        display: block;
    }
    
    .spec-row {
        padding: 0.625rem 0;
        font-size: 0.875rem;
    }
    
    /* Vehicle Tabs Mobile */
    .vehicle-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 0;
        border-bottom: 2px solid var(--color-border);
    }
    
    .vehicle-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .vehicle-tab {
        padding: 0.875rem 1.25rem;
        white-space: nowrap;
        font-size: 0.875rem;
        flex-shrink: 0;
    }
    
    .vehicle-content {
        margin-bottom: 1.5rem;
    }
    
    .vehicle-description {
        padding: 1.25rem;
    }
    
    .vehicle-description h2 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .vehicle-description p {
        font-size: 0.9375rem;
        line-height: 1.75;
    }
    
    /* Vehicle Inquiry Form */
    .vehicle-inquiry {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }
    
    .vehicle-inquiry h3 {
        font-size: 1.25rem;
    }
    
    .inquiry-subtitle {
        font-size: 0.875rem;
    }
    
    /* Lightbox Mobile */
    .image-lightbox {
        padding: 0;
    }
    
    .lightbox-header {
        padding: 1rem;
    }
    
    .lightbox-image-container {
        padding: 0;
    }
    
    .lightbox-image {
        max-height: 70vh;
        border-radius: 0;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-nav.prev {
        left: 0.5rem;
    }
    
    .lightbox-nav.next {
        right: 0.5rem;
    }
    
    .lightbox-thumbnails {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .lightbox-thumb {
        width: 50px;
        height: 38px;
    }
    
    /* Zoom Controls Mobile */
    .lightbox-controls {
        flex-wrap: wrap;
        gap: 0.375rem;
    }
    
    .lightbox-btn {
        width: 40px;
        height: 40px;
    }
    
    .zoom-level {
        font-size: 0.75rem;
        min-width: 44px;
        padding: 0 0.375rem;
    }
    
    .lightbox-divider {
        display: none;
    }
    
    .lightbox-header::after {
        content: 'Pinch to zoom • Double-tap to reset';
        font-size: 0.6875rem;
    }
    
    /* Footer Mobile */
    footer {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    
    .footer-content {
        padding: 3rem 1rem 1.5rem;
    }
    
    .footer-brand p {
        font-size: 0.875rem;
        padding: 0 1rem;
    }
    
    .footer-links li {
        padding: 0.625rem 0;
    }
    
    .footer-links a {
        font-size: 0.9375rem;
    }
    
    /* Back to Top - Touch Friendly */
    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: calc(1.25rem + env(safe-area-inset-bottom, 0));
        right: 1rem;
    }
    
    /* Sell Page */
    .sell-hero {
        padding: calc(var(--nav-height) + 3rem) 1.5rem 3rem;
    }
    
    .sell-hero h1 {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    
    .sell-form-section {
        padding: 2.5rem 1rem;
    }
    
    /* Shipping Page Cards */
    .shipping-card {
        margin-bottom: 1rem;
    }
    
    /* About Page */
    section > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    section > div[style*="grid-template-columns: 1fr 1fr"] > div:first-child {
        min-height: 250px;
        position: relative !important;
    }
    
    section > div[style*="grid-template-columns: 1fr 1fr"] > div[style*="padding: 5rem"] {
        padding: 2rem 1.25rem !important;
    }
}

/* Small Phones */
@media (max-width: 375px) {
    :root {
        --nav-height: 56px;
    }
    
    /* Navigation Small Screen */
    .nav-left,
    .nav-right {
        display: none !important;
    }
    
    .nav-cta {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        right: 0.75rem;
    }
    
    .logo-image {
        height: 48px !important;
    }
    
    .hero-title {
        font-size: 1.625rem;
    }
    
    .hero-description {
        font-size: 0.9375rem;
    }
    
    .stats-container {
        gap: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.6875rem;
    }
    
    .vehicle-sidebar-price {
        font-size: 1.5rem;
    }
    
    .btn {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
    }
    
    /* Mobile Nav smaller padding */
    .mobile-nav {
        padding: calc(var(--nav-height) + 1.5rem) 1.25rem 1.5rem;
    }
    
    .mobile-nav a {
        font-size: 1.0625rem;
        padding: 0.875rem 0;
    }
}

/* Landscape Mobile Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: calc(var(--nav-height) + 1rem) 2rem 2rem;
    }
    
    .hero-content {
        gap: 0.75rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: row;
        max-width: none;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .page-header {
        padding: calc(var(--nav-height) + 1.5rem) 1.5rem 1.5rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects that don't work on touch */
    .vehicle-card:hover {
        transform: none;
    }
    
    .vehicle-card:active {
        transform: scale(0.98);
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.97);
        opacity: 0.9;
    }
    
    /* Better tap targets */
    .nav-link,
    .footer-links a {
        padding: 0.75rem;
        margin: -0.25rem;
    }
    
    /* Disable hover states */
    .gallery-nav {
        opacity: 1;
    }
}

/* ==================== */
/* CARFAX BUTTON */
/* ==================== */
.btn-carfax {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: var(--color-white);
    border: 2px solid #3b82f6;
    font-weight: 600;
}

.btn-carfax:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
}

/* ==================== */
/* BUY NOW BUTTON */
/* ==================== */
.btn-buy-now {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--color-white);
    border: 2px solid #10b981;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-buy-now::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-buy-now:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-color: #059669;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

.btn-buy-now:hover::before {
    left: 100%;
}

/* ==================== */
/* PURCHASE PAGE */
/* ==================== */
.purchase-section {
    padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
    background: var(--color-bg-primary);
    min-height: 100vh;
}

.purchase-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Vehicle Summary Card */
.purchase-vehicle-summary {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    margin-bottom: 2rem;
}

.purchase-vehicle-image {
    width: 280px;
    flex-shrink: 0;
}

.purchase-vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 180px;
}

.purchase-vehicle-info {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.purchase-vehicle-year {
    font-size: 0.75rem;
    color: var(--color-gold);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
}

.purchase-vehicle-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.purchase-vehicle-price {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.purchase-vehicle-stock {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Purchase Form Container */
.purchase-form-container {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.purchase-form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.purchase-form-header h1 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.purchase-form-header p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.form-section h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 1.25rem;
}

.form-section-note {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.form-group-small {
    max-width: 140px;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-box {
    border: 2px dashed var(--color-border-dark);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    background: var(--color-cream);
    transition: all var(--transition-fast);
}

.file-upload-box:hover,
.file-upload-box.dragover {
    border-color: var(--color-gold);
    background: rgba(201, 169, 98, 0.08);
}

.file-upload-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(201, 169, 98, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
}

.file-upload-icon svg {
    width: 28px;
    height: 28px;
}

.file-upload-text {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.file-upload-btn {
    color: var(--color-gold);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.file-upload-hint {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.file-upload-mobile-hint {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    display: none;
}

@media (hover: none) and (pointer: coarse) {
    .file-upload-mobile-hint {
        display: block;
    }
}

/* File Preview */
.file-preview {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-cream);
    border: 2px solid var(--color-gold);
}

.file-preview img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    display: block;
}

.file-preview-pdf {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 2rem;
    color: var(--color-text-secondary);
}

.file-preview-pdf svg {
    width: 48px;
    height: 48px;
    color: var(--color-gold);
}

.file-remove-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.file-remove-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.file-remove-btn svg {
    width: 18px;
    height: 18px;
}

/* Purchase Consent */
.purchase-consent {
    background: var(--color-cream);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border-left: 3px solid var(--color-gold);
    margin-bottom: 1.5rem;
}

.purchase-consent label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin: 0;
}

.purchase-consent input[type="checkbox"] {
    margin-top: 0.25rem;
}

.purchase-consent .consent-text {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.purchase-consent .consent-text a {
    color: var(--color-navy);
    text-decoration: underline;
}

/* Submit Button Loading */
.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 18px;
    height: 18px;
    animation: spin 1s linear infinite;
}

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

/* ==================== */
/* PURCHASE SUCCESS */
/* ==================== */
.purchase-success {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.success-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: scaleIn 0.5s ease;
}

.success-icon-large svg {
    width: 40px;
    height: 40px;
}

.purchase-success h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

/* Confirmation Box */
.confirmation-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.confirmation-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.confirmation-number {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
}

.confirmation-number strong {
    color: var(--color-navy);
    font-family: monospace;
    font-size: 1.5rem;
    background: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    display: inline-block;
}

.confirmation-save {
    font-size: 0.8125rem;
    color: #059669;
    margin: 0;
}

/* Payment Tip */
.payment-tip {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.03) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    text-align: left;
}

.payment-tip .tip-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.payment-tip > div:last-child {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.payment-tip > div:last-child strong:first-child {
    display: block;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.payment-tip p {
    margin: 0;
}

.payment-tip p strong {
    color: #2563eb;
}

/* Next Steps */
.success-next-steps {
    text-align: left;
    margin-bottom: 2rem;
}

.success-next-steps h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 1.25rem;
    text-align: center;
}

.success-next-steps ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.success-next-steps li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
}

.success-next-steps li:last-child {
    margin-bottom: 0;
}

.step-icon {
    width: 32px;
    height: 32px;
    background: var(--color-gold);
    color: var(--color-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.success-next-steps li strong {
    display: block;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.success-next-steps li p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.5;
}

/* Success Notice */
.success-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    text-align: left;
}

.notice-icon {
    width: 40px;
    height: 40px;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
    flex-shrink: 0;
}

.notice-icon svg {
    width: 20px;
    height: 20px;
}

.success-notice > div:last-child {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.success-notice strong {
    color: var(--color-text);
}

/* Contact Info Cards */
.success-contact-info {
    margin-bottom: 2rem;
}

.success-contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    text-align: left;
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(201, 169, 98, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 20px;
    height: 20px;
}

.contact-card strong {
    display: block;
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.contact-card a,
.contact-card span {
    font-size: 0.9375rem;
    color: var(--color-text);
}

.contact-card a:hover {
    color: var(--color-gold);
}

/* Success Actions */
.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== */
/* PURCHASE RESPONSIVE */
/* ==================== */
@media (max-width: 768px) {
    .purchase-section {
        padding: calc(var(--nav-height) + 1rem) 1rem 3rem;
    }
    
    .purchase-vehicle-summary {
        flex-direction: column;
    }
    
    .purchase-vehicle-image {
        width: 100%;
        max-height: 200px;
    }
    
    .purchase-vehicle-image img {
        max-height: 200px;
    }
    
    .purchase-vehicle-info {
        padding: 1.25rem;
        text-align: center;
    }
    
    .purchase-form-container {
        padding: 1.5rem;
    }
    
    .purchase-form-header h1 {
        font-size: 1.5rem;
    }
    
    .form-group-small {
        max-width: 100%;
    }
    
    .file-upload-box {
        padding: 2rem 1rem;
    }
    
    .purchase-success {
        padding: 2rem 1.5rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .success-next-steps li {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .step-icon {
        margin: 0 auto;
    }
    
    .success-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .notice-icon {
        margin: 0 auto;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-bg {
        animation: none;
        transform: scale(1);
    }
}

/* Print */
@media print {
    .navbar,
    .mobile-nav,
    .back-to-top,
    .scroll-indicator {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
