/* ==========================================================================
   RACER POINT OFF ROAD — DESIGN SYSTEM & STYLESHEET
   Aesthetics: High-Performance Off-Road Motorsport (Dark + Racing Orange)
   ========================================================================== */

:root {
    /* Colors */
    --bg-dark: #0a0b0d;
    --bg-surface: #121418;
    --bg-card: #1a1d24;
    --bg-card-hover: #222630;
    
    --primary: #ff5500;
    --primary-hover: #e04a00;
    --primary-glow: rgba(255, 85, 0, 0.25);
    
    --txt-main: #ffffff;
    --txt-muted: #9ba3af;
    --txt-dark: #64748b;
    
    --border: rgba(255, 255, 255, 0.1);
    --border-orange: rgba(255, 85, 0, 0.3);
    
    /* Fonts */
    --font-heading: 'Orbitron', 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Layout */
    --container-width: 1240px;
    --radius: 12px;
    --radius-sm: 6px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--txt-main);
    font-family: var(--font-body);
    font-size: 1.6rem;
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Utilities */
.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--txt-main);
}

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

.margin-top {
    margin-top: 2.4rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2.4rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 85, 0, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--txt-main);
}

.btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.6rem 3.2rem;
    font-size: 1.5rem;
}

.btn-sm {
    padding: 0.8rem 1.6rem;
    font-size: 1.2rem;
}

.btn-block {
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background: rgba(255, 85, 0, 0.15);
    border: 1px solid var(--border-orange);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 999px;
    margin-bottom: 1.6rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 11, 13, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    font-style: italic;
    color: var(--primary);
    letter-spacing: -0.02em;
    text-shadow: 0 0 10px rgba(255, 85, 0, 0.3);
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    font-style: italic;
    color: #ffffff;
    letter-spacing: 0.25em;
    margin-top: 0.2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.4rem;
}

.nav-link {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--txt-muted);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 2.4rem;
    height: 2px;
    background: var(--txt-main);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    padding-top: 14rem;
    padding-bottom: 8rem;
    display: flex;
    align-items: center;
    background-image: url('../images/vehicles/utv-hero.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0a0b0d 0%, rgba(10, 11, 13, 0.85) 50%, rgba(10, 11, 13, 0.4) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 68rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5.4rem;
    font-weight: 900;
    font-style: italic;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-title span {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.hero-desc {
    font-size: 1.8rem;
    color: var(--txt-muted);
    margin-bottom: 3.2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.6rem;
    flex-wrap: wrap;
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-surface);
    border-y: 1px solid var(--border);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-lbl {
    font-size: 1.3rem;
    color: var(--txt-muted);
    font-weight: 600;
    text-transform: uppercase;
}

/* Finder Card */
.finder-section {
    margin-top: -1rem;
    position: relative;
    z-index: 10;
}

.finder-card {
    background: var(--bg-card);
    border: 1px solid var(--border-orange);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.finder-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.finder-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 1.6rem;
    align-items: end;
}

.form-group label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--txt-muted);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    height: 4.8rem;
    padding: 0 1.6rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--txt-main);
    font-family: inherit;
    font-size: 1.4rem;
}

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

.finder-btn {
    height: 4.8rem;
}

/* Sections */
.section {
    padding: 10rem 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 4.8rem;
}

.sub-desc {
    color: var(--txt-muted);
    font-size: 1.6rem;
    margin-top: 0.8rem;
}

/* UTV Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.utv-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.utv-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card-badge {
    position: absolute;
    top: 1.6rem;
    left: 1.6rem;
    z-index: 2;
    background: rgba(10, 11, 13, 0.85);
    border: 1px solid var(--border);
    color: var(--txt-main);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 4px;
}

.card-badge.highlight {
    background: var(--primary);
    color: #fff;
    border: none;
}

.card-img-holder {
    position: relative;
    height: 22rem;
    overflow: hidden;
}

.card-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.utv-card:hover .card-img-holder img {
    transform: scale(1.05);
}

.brand-tag {
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
    background: #e11d48;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 900;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
}

.brand-tag.polaris {
    background: #2563eb;
}

.card-body {
    padding: 2.4rem;
}

.utv-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--txt-main);
}

.utv-year {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.6rem;
}

.utv-specs {
    border-y: 1px solid var(--border);
    padding: 1.2rem 0;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 1.3rem;
    color: var(--txt-muted);
}

.utv-specs span {
    color: var(--txt-main);
    font-weight: 600;
}

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

.price-box {
    display: flex;
    flex-direction: column;
}

.price-lbl {
    font-size: 1.1rem;
    color: var(--txt-dark);
    text-transform: uppercase;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
}

/* Workshop Section */
.workshop {
    background: var(--bg-surface);
}

.workshop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.workshop-text .desc {
    color: var(--txt-muted);
    font-size: 1.6rem;
    margin: 1.6rem 0 3.2rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.service-item {
    display: flex;
    gap: 1.6rem;
}

.service-icon {
    width: 4.8rem;
    height: 4.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border-orange);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.service-item h4 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--txt-main);
    margin-bottom: 0.4rem;
}

.service-item p {
    font-size: 1.4rem;
    color: var(--txt-muted);
}

.workshop-img-holder {
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--border-orange);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.workshop-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checklist-card {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 3.6rem;
    box-shadow: 0 0 30px var(--primary-glow);
}

.checklist-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.checklist-card p {
    color: var(--txt-muted);
    font-size: 1.4rem;
    margin-bottom: 2.4rem;
}

.checklist-card ul {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-bottom: 3rem;
}

.checklist-card li {
    font-size: 1.5rem;
    color: var(--txt-main);
    font-weight: 600;
}

.checklist-footer {
    border-top: 1px solid var(--border);
    padding-top: 1.6rem;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
}

/* Parts Grid */
.parts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.4rem;
}

.part-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.part-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.part-icon {
    font-size: 3.6rem;
    margin-bottom: 1.6rem;
}

.part-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--txt-main);
    margin-bottom: 1rem;
}

.part-card p {
    font-size: 1.3rem;
    color: var(--txt-muted);
}

.parts-cta {
    margin-top: 4.8rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.parts-cta p {
    font-size: 1.6rem;
    color: var(--txt-main);
    font-weight: 600;
}

/* Trade-in */
.tradein-box {
    background: linear-gradient(135deg, #1a1d24 0%, #0a0b0d 100%);
    border: 1px solid var(--border-orange);
    border-radius: var(--radius);
    padding: 6rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.tradein-content {
    max-width: 70rem;
    margin: 0 auto;
}

.tradein-content h2 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    margin-bottom: 1.6rem;
}

.tradein-content p {
    color: var(--txt-muted);
    font-size: 1.6rem;
    margin-bottom: 3rem;
}

/* Footer */
.footer {
    background: #060708;
    border-top: 1px solid var(--border);
    padding-top: 8rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 6rem;
}

.brand-col p {
    color: var(--txt-muted);
    margin: 1.6rem 0 2rem;
    font-size: 1.4rem;
}

.footer-contacts p {
    color: var(--txt-muted);
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--txt-main);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col a {
    color: var(--txt-muted);
    font-size: 1.4rem;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 2.4rem 0;
    color: var(--txt-dark);
    font-size: 1.3rem;
}

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

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

/* UTVConnect Partner Banner */
.partner-banner {
    padding: 4rem 0 8rem;
}

.partner-banner-card {
    position: relative;
    background-image: linear-gradient(90deg, rgba(10, 11, 13, 0.95) 0%, rgba(10, 11, 13, 0.75) 50%, rgba(10, 11, 13, 0.3) 100%), url('../images/utvconnect-banner.jpg');
    background-size: cover;
    background-position: center;
    border: 2px solid var(--border-orange);
    border-radius: var(--radius);
    padding: 5rem 6rem;
    box-shadow: 0 10px 40px rgba(255, 85, 0, 0.2);
    overflow: hidden;
}

.partner-banner-content {
    max-width: 68rem;
}

.partner-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.6rem;
    text-transform: uppercase;
}

.partner-desc {
    font-size: 1.6rem;
    color: var(--txt-muted);
    line-height: 1.6;
    margin-bottom: 2.4rem;
}

.partner-highlights {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.partner-highlights span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(255, 85, 0, 0.1);
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 85, 0, 0.2);
}

.partner-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
}

/* Responsive Layout */
@media (max-width: 1024px) {
    html { font-size: 56.25%; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .parts-grid { grid-template-columns: repeat(2, 1fr); }
    .finder-form { grid-template-columns: 1fr 1fr; }
    .workshop-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 8rem;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 3rem;
        gap: 2rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    .nav-menu.active {
        transform: translateY(0);
    }
    .mobile-toggle { display: flex; }
    .hero-title { font-size: 3.6rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .finder-form { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: 1fr; }
    .parts-grid { grid-template-columns: 1fr; }
    .parts-cta { flex-direction: column; text-align: center; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
}
