@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --card-bg: #1a1a1a;
    --gold: #e6b800;
    --gold-hover: #c9a227;
    --gold-subtle: rgba(201, 162, 39, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --navbar-shadow: 0 2px 20px rgba(201, 162, 39, 0.18);
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    --card-shadow-hover: 0 8px 25px rgba(201, 162, 39, 0.1);
    --border: #2a2a2a;
    --nav-height: 80px;
}

body.light {
    --primary-bg: #f8f8f8;
    --card-bg: #ffffff;
    --secondary-bg: #f0f0f0;
    --text-primary: #111111;
    --text-secondary: #555555;
    --border: #e0e0e0;
    --navbar-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
    background-color: #f8f8f8;
}

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

*:focus {
    outline: none;
}

button:focus-visible {
    outline: 2px solid var(--gold);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
}

/* ========== Custom Scrollbar ========== */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(150, 150, 150, 0.4);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(150, 150, 150, 0.7);
}

/* ========== SECTION GLOBAL STYLES ========== */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.section-tagline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: var(--text-primary);
    text-transform: capitalize;
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.highlight {
    background: linear-gradient(135deg, #c9a227 0%, #f5e88a 50%, #c9a227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light .highlight {
    background: linear-gradient(135deg, #a67c00, #c9a227, #f5d060, #e6b800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ Badge styles for both Car Cards and Car Modal ===============  */
.badge-hot {
    background-color: rgba(201, 162, 39, 0.9);
    color: #000000;
    border: 1px solid var(--gold);
}

.badge-sold {
    background-color: rgba(255, 80, 80, 0.9);
    color: #ffffff;
    border: 1px solid #ff5050;
}

.badge-new {
    background-color: rgba(37, 211, 102, 0.9);
    color: #000000;
    border: 1px solid #25d366;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes arrowNudge {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.6);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
  }
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* ============= Scroll Reveal ============ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
        transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* stagger delays for why us cards, faq items, contact items */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

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

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