/* =============================================
   ELITE MOTORS EUROPE — Premium Stylesheet
   ============================================= */

/* ---- Reset & Variables ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #080808;
    --gold: #C9A227;
    --gold-light: #d4b43a;
    --gold-dark: #a8871e;
    --white: #FFFFFF;
    --grey: #B8B8B8;
    --grey-dark: #1a1a1a;
    --grey-medium: #2a2a2a;
    --grey-light: #f5f5f5;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-height: 80px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

select, input, textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Typography ---- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--grey);
    max-width: 600px;
    line-height: 1.7;
}

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

.section-header .section-desc {
    margin: 0 auto;
}

.section {
    padding: 120px 0;
    position: relative;
}

/* ---- Buttons ---- */
.btn-gold {
    display: inline-block;
    padding: 14px 36px;
    background: var(--gold);
    color: var(--black);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid var(--gold);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-gold:hover {
    background: transparent;
    color: var(--gold);
}

.btn-outline {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-lg {
    padding: 18px 48px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* ---- Header ---- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
}

.header-transparent {
    background: transparent;
    backdrop-filter: none;
}

.header-transparent.scrolled {
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.logo-icon {
    color: var(--gold);
    font-size: 1.4rem;
}

.logo-accent {
    color: var(--gold);
    font-weight: 400;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

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

.header-cta {
    padding: 10px 24px;
    font-size: 0.75rem;
    white-space: nowrap;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 8, 0.98);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 28px;
}

.mobile-link {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

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

.mobile-cta {
    margin-top: 20px;
}

/* ---- Hero ---- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease, transform 8s ease;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(8, 8, 8, 0.5) 0%,
        rgba(8, 8, 8, 0.3) 40%,
        rgba(8, 8, 8, 0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 60px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 550px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 60px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

.hero-counter {
    position: absolute;
    bottom: 40px;
    right: 60px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.counter-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.counter-label {
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.counter-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* ---- Reveal Animations ---- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.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);
}

/* ---- Categories ---- */
.categories-section {
    background: var(--black);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    height: 380px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.category-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(8,8,8,0.85) 100%);
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    background: linear-gradient(180deg, transparent 20%, rgba(8,8,8,0.9) 100%);
}

.category-content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
}

.category-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.category-count {
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 1px;
}

/* ---- Featured Vehicles ---- */
.featured-section {
    background: linear-gradient(180deg, var(--black) 0%, #0c0c0c 100%);
}

.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 24px;
    background: var(--grey-dark);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 220px;
}

.search-box svg {
    color: var(--grey);
    flex-shrink: 0;
}

.search-box input {
    width: 100%;
    background: none;
    border: none;
    color: var(--white);
    font-size: 0.95rem;
    outline: none;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.35);
}

.filter-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    appearance: none;
    min-width: 150px;
}

.filter-select:focus {
    border-color: var(--gold);
}

.filter-select option {
    background: var(--grey-dark);
    color: var(--white);
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.vehicle-card {
    background: var(--grey-dark);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.vehicle-card:hover {
    border-color: rgba(201, 162, 39, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.vehicle-image {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    background-color: #1a1a2e;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.vehicle-image::before {
    content: '🔍 Click for details';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(8,8,8,0.6);
    padding: 6px 14px;
    border-radius: 20px;
    pointer-events: none;
}

.vehicle-card:hover .vehicle-image::before {
    opacity: 1;
}

.vehicle-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(transparent, var(--grey-dark));
}

.vehicle-card:hover .vehicle-image {
    /* Zoom handled by inner div */
}

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

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

.vehicle-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 5px 12px;
    background: var(--gold);
    color: var(--black);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
}

.vehicle-info {
    padding: 20px;
}

.vehicle-brand {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.vehicle-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.vehicle-specs {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.vehicle-spec {
    font-size: 0.8rem;
    color: var(--grey);
    display: flex;
    align-items: center;
    gap: 4px;
}

.vehicle-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.vehicle-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.vehicle-location {
    font-size: 0.8rem;
    color: var(--grey);
}

.no-results {
    text-align: center;
    padding: 60px 0;
    color: var(--grey);
    font-size: 1.05rem;
}

/* ---- Valuation Section ---- */
.valuation-section {
    background: #0a0a0a;
}

.valuation-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.valuation-features {
    list-style: none;
    margin-top: 32px;
    display: grid;
    gap: 16px;
}

.valuation-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
}

.gold-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.valuation-form-card {
    background: var(--grey-dark);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 36px;
}

.valuation-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

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

.form-group textarea {
    resize: vertical;
}

/* Valuation Result */
.valuation-result {
    text-align: center;
    padding-top: 24px;
}

.result-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin-bottom: 24px;
}

.result-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 12px;
}

.result-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.result-low,
.result-high {
    color: var(--gold);
}

.result-dash {
    color: rgba(255,255,255,0.3);
    margin: 0 12px;
}

.result-note {
    font-size: 0.85rem;
    color: var(--grey);
}

.result-note a {
    color: var(--gold);
    text-decoration: underline;
}

/* ---- Sell Your Car (Steps) ---- */
.sell-section {
    background: var(--black);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.step-card {
    text-align: center;
    padding: 48px 32px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
    background: var(--grey-dark);
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.step-card:nth-child(1)::before {
    background-image: url('https://images.unsplash.com/photo-1542362567-b07e54358753?w=600&q=80');
}

.step-card:nth-child(2)::before {
    background-image: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=600&q=80');
}

.step-card:nth-child(3)::before {
    background-image: url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=600&q=80');
}

.step-card:hover::before {
    opacity: 0.15;
}

.step-card > * {
    position: relative;
    z-index: 1;
}

.step-card:hover {
    border-color: rgba(201, 162, 39, 0.3);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(201, 162, 39, 0.12);
    line-height: 1;
}

.step-icon {
    color: var(--gold);
    margin-bottom: 24px;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--grey);
    line-height: 1.7;
}

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

/* ---- Acquisition Showcase ---- */
.acquisition-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.showcase-card {
    position: relative;
    height: 240px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.showcase-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

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

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(8,8,8,0.9));
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: var(--transition);
}

.showcase-brand {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
}

.showcase-model {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

@media (max-width: 768px) {
    .acquisition-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    .showcase-card {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .acquisition-showcase {
        grid-template-columns: 1fr;
    }
}

/* ---- Acquisition ---- */
.acquisition-section {
    background: #0a0a0a;
}

.acquisition-wrapper {
    text-align: center;
}

.acquisition-header {
    margin-bottom: 48px;
}

.acquisition-header .section-desc {
    margin: 0 auto;
}

.acquisition-brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 56px;
}

.brand-pill {
    padding: 12px 28px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--white);
    transition: var(--transition);
}

.brand-pill:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-item {
    text-align: center;
    padding: 32px 20px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    transition: var(--transition);
}

.service-item:hover {
    border-color: rgba(201, 162, 39, 0.3);
}

.service-icon {
    color: var(--gold);
    margin-bottom: 16px;
}

.service-item h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.service-item p {
    font-size: 0.85rem;
    color: var(--grey);
    line-height: 1.6;
}

/* ---- Sell Form Section ---- */
.sell-form-section {
    background: var(--black);
}

.sell-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--grey-dark);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 48px;
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.form-disclaimer {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
    margin-top: 16px;
}

.form-success {
    text-align: center;
    padding: 60px 24px;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--black);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--grey);
    font-size: 1rem;
}

/* ---- Auction Section ---- */
.auction-section {
    background: #0a0a0a;
}

.auction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.auction-card {
    background: var(--grey-dark);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.auction-card:hover {
    border-color: rgba(201, 162, 39, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.auction-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.auction-live-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(220, 38, 38, 0.9);
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.auction-live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--white);
    animation: livePulse 1.5s ease infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.auction-info {
    padding: 20px;
}

.auction-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.auction-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.auction-detail {
    text-align: center;
}

.auction-detail-label {
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 4px;
}

.auction-detail-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.auction-detail-value.bid {
    color: var(--gold);
}

.auction-timer {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
}

.auction-card .btn-gold {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 0.78rem;
}

/* ---- Network / Map ---- */
.network-section {
    background: var(--black);
}

.network-map {
    text-align: center;
}

.map-visual {
    max-width: 700px;
    margin: 0 auto 48px;
}

.europe-map {
    width: 100%;
    height: auto;
}

.map-dot circle {
    transition: all 0.3s ease;
}

.map-dot text {
    transition: all 0.3s ease;
}

.map-dot:hover circle:first-child {
    r: 12;
    opacity: 1;
}

.map-dot:hover text {
    fill: var(--gold);
}

.network-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
}

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

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--grey);
}

/* ---- Why Choose Us ---- */
.why-section {
    background: #0a0a0a;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    text-align: center;
    padding: 40px 24px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    transition: var(--transition);
}

.why-card:hover {
    border-color: rgba(201, 162, 39, 0.3);
    background: var(--grey-dark);
}

.why-icon {
    color: var(--gold);
    margin-bottom: 20px;
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.88rem;
    color: var(--grey);
    line-height: 1.7;
}

/* ---- Testimonials ---- */
.testimonials-section {
    background: var(--black);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--grey-dark);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(201, 162, 39, 0.2);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}

.author-info strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.78rem;
    color: var(--grey);
}

/* ---- Contact ---- */
.contact-section {
    background: #0a0a0a;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-methods {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    transition: var(--transition);
}

.contact-method:hover {
    border-color: var(--gold);
    background: rgba(201, 162, 39, 0.05);
}

.contact-method svg {
    color: var(--gold);
    flex-shrink: 0;
}

.contact-method strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-method span {
    font-size: 0.8rem;
    color: var(--grey);
}

.contact-card {
    background: var(--grey-dark);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 36px;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 24px;
}

/* ---- Footer ---- */
.footer {
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 64px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--grey);
    margin-top: 16px;
    line-height: 1.7;
    max-width: 300px;
}

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

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--gold);
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--grey);
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

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

/* ---- WhatsApp Float ---- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}


/* ---- Vehicle Detail Modal ---- */
.vehicle-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.vehicle-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.vehicle-modal {
    background: var(--grey-dark);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s ease;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.vehicle-modal-overlay.active .vehicle-modal {
    transform: translateY(0) scale(1);
}

.vehicle-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.vehicle-modal-close:hover {
    background: var(--gold);
    color: var(--black);
}

.vehicle-modal-header {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
}

.vehicle-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(transparent, var(--grey-dark));
}

.vehicle-modal-header-info {
    position: absolute;
    bottom: 24px;
    left: 32px;
    z-index: 2;
}

.vehicle-modal-header-info .modal-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--gold);
    color: var(--black);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 12px;
}

.vehicle-modal-header-info h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.vehicle-modal-header-info .modal-brand {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
}

.vehicle-modal-body {
    padding: 32px;
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.modal-spec-item {
    text-align: center;
    padding: 20px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px;
    transition: var(--transition);
}

.modal-spec-item:hover {
    border-color: rgba(201, 162, 39, 0.3);
    background: rgba(201, 162, 39, 0.05);
}

.modal-spec-icon {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.modal-spec-label {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 6px;
}

.modal-spec-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

.modal-spec-value.price {
    color: var(--gold);
    font-size: 1.3rem;
}

.modal-description {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    margin-bottom: 24px;
}

.modal-description h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.modal-description p {
    font-size: 0.92rem;
    color: var(--grey);
    line-height: 1.8;
}

.modal-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.modal-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
}

.modal-feature-item .gold-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.modal-cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.modal-cta-row .btn-gold {
    flex: 1;
    min-width: 200px;
}

.modal-cta-row .btn-outline {
    flex: 1;
    min-width: 200px;
}

@media (max-width: 768px) {
    .vehicle-modal {
        width: 100%;
        max-height: 95vh;
        border-radius: 0;
    }
    
    .vehicle-modal-header {
        height: 240px;
    }
    
    .vehicle-modal-header-info h2 {
        font-size: 1.6rem;
    }
    
    .modal-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-features {
        grid-template-columns: 1fr;
    }
    
    .modal-cta-row {
        flex-direction: column;
    }
    
    .vehicle-modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .vehicle-modal-header {
        height: 200px;
    }
    
    .modal-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .modal-spec-item {
        padding: 14px 8px;
    }
}


/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .auction-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .valuation-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-counter {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .main-nav,
    .header-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-content {
        padding: 0 24px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        height: 260px;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .auction-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .sell-form-wrapper {
        padding: 24px;
    }
    
    .network-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-gold, .btn-outline {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .header-inner {
        padding: 0 16px;
    }
    
    .container {
        padding: 0 16px;
    }
}
/* === Image loading optimization === */
.vehicle-image,
.auction-image {
    background-color: #1a1a1a;
    transition: opacity 0.5s ease;
}
.vehicle-image.lazy,
.auction-image.lazy {
    opacity: 0;
}
.vehicle-image.loaded,
.auction-image.loaded {
    opacity: 1;
}
