/* ==========================================================================
   LARUTA40 MOTOUBIQUE DESIGN SYSTEM
   Aesthetic: Rugged Cyber-Route / Industrial Modernism
   ========================================================================== */

:root {
    /* Color Palette */
    --color-primary: #E5A00D;
    --color-primary-rgb: 229, 160, 13;
    --color-primary-glow: rgba(229, 160, 13, 0.15);

    /* Ride Mode Colors (Overridden dynamically via theme state) */
    --color-accent-light: #E5A00D;
    --color-accent-light-rgb: 229, 160, 13;

    --color-bg: #070708;
    --color-bg-rgb: 7, 7, 8;
    --color-card: #0F0F12;
    --color-card-border: #1F1F24;

    --color-text-main: #F5F5F7;
    --color-text-muted: #8E8E93;

    /* Layout & System */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Theme states */
body[data-theme="sport"] {
    --color-accent-light: #E5A00D;
    --color-accent-light-rgb: 229, 160, 13;
}

body[data-theme="enduro"] {
    --color-accent-light: #2D9CDB;
    --color-accent-light-rgb: 45, 156, 219;
}

body[data-theme="gravel"] {
    --color-accent-light: #27AE60;
    --color-accent-light-rgb: 39, 174, 96;
}

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

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

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

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: #252528;
    border-radius: var(--border-radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Grid & Layout Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0),
        linear-gradient(to bottom, rgba(7, 7, 8, 0.4) 0%, rgba(7, 7, 8, 0) 100%);
    background-size: 24px 24px, 100% 100%;
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
.font-display {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f5f5f7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    display: block;
    height: 48px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-display);
    color: #5c5c66;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link:hover,
.nav-link.active {
    color: #000;
}

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

/* Buttons */
.btn-primary-sm {
    background-color: var(--color-primary);
    color: #000;
    font-family: var(--font-display);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary-sm:hover {
    background-color: #FFF;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background-color: var(--color-primary);
    color: #000;
    font-family: var(--font-display);
    font-weight: 700;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-primary);
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
    box-shadow: 0 0 25px rgba(var(--color-primary-rgb), 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-main);
    font-family: var(--font-display);
    font-weight: 700;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 101;
}

.mobile-nav-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #000;
    transition: var(--transition-smooth);
}

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(7, 7, 8, 0.98);
    z-index: 99;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.open {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 80%;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text-muted);
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    transition: var(--transition-smooth);
}

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

/* HERO SECTION */
.hero-section {
    padding: 10rem 0 6rem 0;
    position: relative;
}

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

.tagline {
    font-family: var(--font-display);
    color: var(--color-accent-light);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.tagline .dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-accent-light);
    transition: var(--transition-smooth);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
}

/* THE RUTA 40 DASHBOARD EXPLORER */
.dashboard-container {
    perspective: 1000px;
    z-index: 10;
}

.dashboard-bezel {
    background: linear-gradient(135deg, #1c1c22 0%, #0d0d10 100%);
    border: 3px solid #2d2d35;
    border-radius: 12px;
    padding: 12px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.dashboard-bezel:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.dashboard-screen {
    background-color: #0b0b0d;
    border: 1px solid #1a1a20;
    border-radius: 6px;
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.db-top-bar {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: #4c4c59;
    border-bottom: 1px solid #15151b;
    padding-bottom: 0.5rem;
}

.db-gps {
    letter-spacing: 0.05em;
}

.db-instruments {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
}

/* Speedometer Gauge */
.gauge-speed {
    position: relative;
    width: 100%;
    max-width: 170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speed-ring {
    width: 100%;
    height: auto;
}

.speed-ring .ring-bg {
    fill: none;
    stroke: #16161c;
    stroke-width: 8;
}

.speed-ring .ring-fill {
    fill: none;
    stroke: var(--color-accent-light);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 534;
    /* Circumference = 2 * PI * 85 */
    stroke-dashoffset: 534;
    transform: rotate(-90deg);
    transform-origin: 100px 100px;
    transition: stroke-dashoffset 0.15s ease, stroke 0.3s ease;
}

.speed-value {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.speed-num {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
}

.speed-unit {
    font-family: var(--font-display);
    font-size: 0.65rem;
    color: #4c4c59;
    letter-spacing: 0.1em;
}

.gear-indicator {
    position: absolute;
    bottom: -10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: #FFF;
    background-color: #1a1a20;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2d2d35;
}

/* Stat Box Grid */
.db-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-box {
    background-color: #0f0f13;
    border: 1px solid #181822;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.stat-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    color: #4c4c59;
    letter-spacing: 0.05em;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFF;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    transition: var(--transition-smooth);
}

.text-accent {
    color: var(--color-accent-light);
}

/* Controls (Mode Switchers) */
.db-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.db-btn {
    background-color: #131318;
    border: 1px solid #22222b;
    color: var(--color-text-muted);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.db-btn:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: #FFF;
}

.db-btn.active {
    background-color: rgba(var(--color-accent-light-rgb), 0.08);
    border-color: var(--color-accent-light);
    color: var(--color-accent-light);
    box-shadow: 0 0 10px rgba(var(--color-accent-light-rgb), 0.1);
}

/* Interactive Map Section in Dashboard */
.db-map-section {
    background-color: #0f0f13;
    border: 1px solid #181822;
    border-radius: 4px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.map-header,
.map-footer {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: 0.65rem;
    color: #4c4c59;
}

.elevation-graph-container {
    position: relative;
    width: 100%;
    height: 70px;
    background-color: #08080a;
    border-radius: 3px;
    overflow: hidden;
}

.elevation-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.graph-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-family: var(--font-display);
    color: var(--color-primary);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* SECTION 2: MACHINE SPECIFICATIONS */
.machine-section {
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

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

.machine-visual {
    background-color: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--border-radius-lg);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.schematic-container {
    position: relative;
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schematic-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(229, 160, 13, 0.2);
    animation: rotateClockwise 25s linear infinite;
}

.schematic-ring.outer-ring {
    width: 90%;
    height: 90%;
}

.schematic-ring.inner-ring {
    width: 60%;
    height: 60%;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.05);
    animation-duration: 15s;
    animation-direction: reverse;
}

.schematic-line-h {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.schematic-line-v {
    position: absolute;
    height: 100%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.schematic-tag {
    position: absolute;
    font-family: var(--font-display);
    font-size: 0.65rem;
    color: var(--color-text-muted);
    background-color: #08080a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
}

.tag-suspension {
    top: 15%;
    left: 5%;
}

.tag-engine {
    bottom: 20%;
    right: 5%;
}

.tag-chassis {
    top: 50%;
    right: 10%;
}

@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.spec-meter-card {
    background-color: var(--color-card);
    border: 1px solid var(--color-card-border);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.spec-meter-card:hover {
    border-color: var(--color-primary-glow);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.5);
}

.spec-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.8rem;
}

.spec-name {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.spec-value {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.meter-bar-container {
    background-color: #1e1e24;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.meter-bar {
    background-color: var(--color-primary);
    height: 100%;
    border-radius: 3px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* SECTION 3: THE ROUTE CARDS */
.route-section {
    padding: 6rem 0;
    background-color: rgba(255, 255, 255, 0.01);
}

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

.route-card {
    background-color: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
}

.card-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(7, 7, 8, 0.2) 0%, rgba(7, 7, 8, 0.9) 100%);
    z-index: 1;
}

.card-coordinate {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    z-index: 2;
    background-color: rgba(7, 7, 8, 0.85);
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-content {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #FFF;
}

.card-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

.card-indicator {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.route-card:hover {
    transform: translateY(-8px);
    border-color: rgba(229, 160, 13, 0.4);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8);
}

.route-card:hover .card-content {
    transform: translateY(0);
}

.route-card:hover .card-desc {
    opacity: 1;
}

/* SECTION 4: RESERVATIONS / FORM */
.reserve-section {
    padding: 8rem 0;
}

.reserve-box {
    background-color: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--border-radius-lg);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.reserve-info {
    padding: 4rem;
    border-right: 1px solid var(--color-card-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reserve-text {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.security-stamp {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.reserve-form-container {
    padding: 4rem;
    background-color: rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.form-input {
    width: 100%;
    background-color: #08080a;
    border: 1px solid #22222b;
    border-radius: var(--border-radius-sm);
    padding: 0.9rem 1.2rem;
    color: #FFF;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(var(--color-primary-rgb), 0.15);
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238E8E93'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.2rem;
}

/* Form Validation & Error styles */
.error-msg {
    font-size: 0.75rem;
    color: #EB5757;
    margin-top: 0.4rem;
    display: none;
}

.form-input.invalid {
    border-color: #EB5757;
    box-shadow: 0 0 10px rgba(235, 87, 87, 0.1);
}

/* CUSTOM TOAST NOTIFICATION SYSTEM */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
    max-width: 380px;
    width: calc(100% - 4rem);
}

.toast {
    background-color: #121216;
    border-left: 4px solid var(--color-primary);
    border-radius: var(--border-radius-sm);
    padding: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    animation: slideIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.toast-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toast-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.toast-close {
    background: none;
    border: none;
    color: #4c4c59;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.toast-close:hover {
    color: #FFF;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

/* FOOTER */
.main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 3rem 0;
    background-color: #040405;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-desc {
    color: #4c4c59;
    font-size: 0.8rem;
}

.footer-desc a {
    color: #4c4c59;
    text-decoration: none;
}

.footer-meta {
    display: flex;
    gap: 2rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: #4c4c59;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {

    .hero-grid,
    .specs-grid,
    .reserve-box {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-intro {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-desc {
        max-width: 600px;
    }

    .route-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .reserve-info {
        border-right: none;
        border-bottom: 1px solid var(--color-card-border);
        padding: 3rem;
    }

    .reserve-form-container {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .route-cards-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* BRAND LOGOS MARQUEE */
.brand-marquee-section {
    padding: 1.5rem 0;
    background-color: #09090b;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
}

.marquee-track {
    width: max-content;
    display: flex;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: marquee-scroll 30s linear infinite;
    padding-right: 4rem;
    /* Match gap for seamless loop */
}

.marquee-content img {
    height: 32px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    filter: grayscale(1) brightness(0.6) contrast(1.2);
    transition: var(--transition-smooth);
}

.marquee-content img:hover {
    filter: grayscale(0) brightness(1) contrast(1);
    transform: scale(1.05);
}

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* SCROLL REVEAL SYSTEM */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

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

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* OFFSET TOAST CONTAINER ABOVE WHATSAPP */
.toast-container {
    bottom: 7rem !important;
}

/* ==========================================================================
   SECTION 4: GOOGLE MAPS & REPUTATION
   ========================================================================== */

.location-section {
    padding: 6rem 0;
    background-color: #070708;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 2;
}

.location-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-info {
    display: flex;
    flex-direction: column;
}

.location-info .section-tag {
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.location-info .section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #FFF;
    letter-spacing: -0.02em;
}

/* Reputation Badge Styles */
.reputation-badge {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background-color: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-left: 3px solid var(--color-accent-light);
    padding: 1.2rem 1.5rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

.reputation-badge:hover {
    border-color: rgba(229, 160, 13, 0.3);
    border-left-color: var(--color-accent-light);
    transform: translateY(-2px);
}

.rating-stars {
    color: var(--color-primary);
    font-size: 2.2rem; /* Larger Stars */
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 0 15px rgba(229, 160, 13, 0.5);
    line-height: 1;
}

.rating-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #FFF;
    line-height: 1.4;
}

.rating-text strong {
    color: var(--color-primary);
    font-weight: 700;
}

.rating-text span {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.location-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-family: var(--font-body);
}

/* Address Box Styles */
.address-box {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 2rem;
}

.address-box strong {
    display: block;
    color: var(--color-accent-light);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.address-box p {
    margin: 0;
    color: #FFF;
    font-size: 1rem;
    font-family: var(--font-body);
}

.address-box .schedule-info {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 0.75rem;
    font-family: var(--font-body);
}

/* Routing buttons spacing & styles */
.route-actions-group {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn-route-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.2rem; /* Larger Padding */
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.95rem; /* Larger Font Size */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-google-map {
    background-color: var(--color-primary);
    color: #000;
    border: 1px solid var(--color-primary);
}

.btn-google-map:hover {
    background-color: transparent;
    color: var(--color-primary);
    box-shadow: 0 0 25px rgba(var(--color-primary-rgb), 0.25);
}

.btn-waze {
    background-color: #131318;
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-waze:hover {
    border-color: #33F0FF;
    background-color: rgba(51, 240, 255, 0.04);
    color: #33F0FF;
    box-shadow: 0 0 25px rgba(51, 240, 255, 0.15);
}

/* Right Column: Map Embed styles */
.location-map {
    width: 100%;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 520px; /* Taller height to balance left column */
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-card-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    transition: var(--transition-smooth);
    background-color: #0b0b0d;
}

.map-wrapper:hover {
    border-color: rgba(229, 160, 13, 0.35);
}

.map-wrapper iframe {
    filter: grayscale(1) invert(0.92) contrast(1.2) opacity(0.75);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.map-wrapper:hover iframe {
    filter: grayscale(0) invert(0) contrast(1) opacity(1);
}

/* Biker Reviews Container */
.biker-reviews-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reviews-section-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 0.5rem;
}

.reviews-section-tag {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    font-weight: 600;
}

.reviews-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-item {
    background-color: var(--color-card);
    border: 1px solid var(--color-card-border);
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    transition: var(--transition-smooth);
}

.review-item:hover {
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.review-user-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--color-primary);
}

.review-user-meta {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.review-user-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFF;
}

.review-user-bike {
    font-size: 0.75rem;
    color: var(--color-primary);
    font-family: var(--font-body);
}

.review-stars-individual {
    color: var(--color-primary);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.review-text-content {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    font-family: var(--font-body);
    font-style: italic;
    margin: 0;
}

/* Rider Amenities Stack */
.rider-amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.amenity-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(229, 160, 13, 0.25);
    transform: translateX(4px);
}

.amenity-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.amenity-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.3;
}

/* Media Query Adaptations for Location Grid */
@media (max-width: 991px) {
    .location-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .location-section {
        padding: 5rem 0;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .location-info .section-title {
        font-size: 2.2rem;
    }
    
    .rider-amenities {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        height: 350px;
    }
    
    .route-actions-group .btn-route-action {
        width: 100%;
    }
}