/* =========================================
   LOCAL FONTS
   ========================================= */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('Assets/Fonts/Inter-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('Assets/Fonts/Inter-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    src: url('Assets/Fonts/Inter-ExtraBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 400;
    src: url('Assets/Fonts/Syne-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 700;
    src: url('Assets/Fonts/Syne-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 800;
    src: url('Assets/Fonts/Syne-ExtraBold.ttf') format('truetype');
}

:root {
    --primary-black: #050505;
    --secondary-black: #111111;
    --accent-orange: #ff5e00;
    --accent-orange-glow: rgba(255, 94, 0, 0.6);
    --text-white: #ffffff;
    --text-gray: #a3a3a3;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-black);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Typography & Utils */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 800;
}

.orange-text {
    color: var(--accent-orange);
    text-shadow: 0 0 15px var(--accent-orange-glow);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    left: auto;
    transform: none;
}

.section {
    padding: 6rem 1rem;
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-orange);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--accent-orange);
    box-shadow: 0 0 20px var(--accent-orange-glow);
    transform: translateY(-2px);
}

/* Nav - Modern Floating Glass */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(5, 5, 5, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    background: rgba(5, 5, 5, 0.9);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo img {
    height: 50px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-orange);
}

.nav-links a:hover {
    color: var(--text-white);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-white);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: url('Assets/DRC/IMG_7700.jpeg') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.3), var(--primary-black));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    position: relative;
    animation: glitch-skew 3s infinite linear alternate-reverse;
}

.hero h1::before,
.hero h1::after {
    content: attr(data-text);
    /* Ensure the HTML has data-text="RACE YOUR DREAMS" ?? No, structure is slightly different */
    /* Adjusting to match structure: h1 is "RACE YOUR <span...>" 
       Actually, the glitch effect usually duplicates text. 
       Let's use a simpler scale/shake animation for the whole h1 to avoid text duplication issues with inner spans. */
    display: none;
}

/* Redefine Glitch Animation to just be a shake/skew */
@keyframes glitch-skew {
    0% {
        transform: skew(0deg);
    }

    10% {
        transform: skew(-2deg);
    }

    20% {
        transform: skew(2deg);
    }

    30% {
        transform: skew(0deg);
    }

    100% {
        transform: skew(0deg);
    }
}

/* Neon flicker for the orange text */
.orange-text {
    color: var(--accent-orange);
    text-shadow: 0 0 10px var(--accent-orange-glow);
    animation: neon-flicker 4s infinite alternate;
}

@keyframes neon-flicker {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        text-shadow: 0 0 15px var(--accent-orange-glow);
        opacity: 1;
    }

    20%,
    24%,
    55% {
        text-shadow: none;
        opacity: 0.8;
    }
}


.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Races */
.races-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 10rem;
    /* Spacing between races and next section */
}

/* Form Success Message Styling */
.form-success {
    display: none;
    text-align: center;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    color: #2ecc71;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.form-success.show {
    display: block;
}

.form-success h4 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: #2ecc71;
    /* Ensure distinct color */
}

.featured-race-container {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.race-card.featured-full {
    border: 1px solid var(--accent-orange);
    background: linear-gradient(145deg, rgba(255, 94, 0, 0.15), rgba(5, 5, 5, 0.8));
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem;
    text-align: left;
}

.race-card.featured-full .race-date {
    margin-bottom: 0;
    margin-right: 2rem;
    border-right: 1px solid rgba(255, 94, 0, 0.3);
    padding-right: 2rem;
}

.race-card.featured-full .race-info {
    flex: 1;
}

/* Response for featured card on mobile */
@media (max-width: 768px) {
    .race-card.featured-full {
        flex-direction: column;
        text-align: center;
    }

    .race-card.featured-full .race-date {
        margin-right: 0;
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 94, 0, 0.3);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
}

.race-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.race-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.race-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-orange);
    opacity: 0;
    transition: opacity 0.3s;
}

.race-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 94, 0, 0.3);
}

.race-card.featured {
    border: 1px solid var(--accent-orange);
    background: linear-gradient(145deg, rgba(255, 94, 0, 0.1), transparent);
}

.race-card.featured::before,
.race-card:hover::before {
    opacity: 1;
}

.race-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.race-date .day {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-white);
}

.race-date .month {
    font-size: 1.5rem;
    color: var(--accent-orange);
    font-weight: 700;
}

.race-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.race-info .location {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: auto;
}

.countdown {
    margin-top: 1rem;
    font-family: monospace;
    color: var(--accent-orange);
    font-size: 1.1rem;
}

/* Team */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-layout .text-content {
    flex: 1;
}

.split-layout .image-content {
    flex: 1;
}

.tilt-card img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 20px 20px 0 rgba(255, 94, 0, 0.1);
    filter: grayscale(80%) contrast(120%);
    transition: filter 0.5s;
}

.tilt-card:hover img {
    filter: grayscale(0%) contrast(110%);
}

.role {
    color: var(--accent-orange);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.text-content p {
    line-height: 1.6;
    color: #ccc;
}

/* Bike */
.bike-section {
    background: var(--secondary-black);
}

.bike-specs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.bike-image {
    position: relative;
    max-width: 800px;
    width: 100%;
}

.bike-image img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.8));
}

.hotspot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-orange);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-orange);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.specs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 800px;
}

.spec-category h4 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.spec-category ul {
    list-style: none;
}

.spec-category li {
    padding: 0.3rem 0;
    color: #ccc;
    font-size: 0.95rem;
}

/* Gallery */
.gallery-grid {
    column-count: 3;
    column-gap: 1rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #000;
    padding: 4rem 1rem;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.social-links {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-btn {
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.social-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.footer-bottom {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: #555;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

/* Designed By – Footer */
.designed-by {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.designed-by:hover {
    opacity: 0.9;
}

.designed-by-text {
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 400;
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 0.5px;
}

.designed-by-logo {
    height: 18px;
    width: auto;
    filter: brightness(0.9);
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-white);
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.08);
}

.contact-form button {
    align-self: flex-start;
    cursor: pointer;
}

.legal-links a {
    color: #555;
    margin: 0 0.5rem;
    text-decoration: none;
}

/* Workshop Section */
.workshop-section {
    background: linear-gradient(180deg, var(--primary-black) 0%, var(--secondary-black) 50%, var(--primary-black) 100%);
}

.workshop-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.workshop-tagline {
    font-size: 1.3rem;
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.workshop-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.service-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    word-wrap: break-word;
    hyphens: auto;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 94, 0, 0.3);
    box-shadow: 0 20px 40px rgba(255, 94, 0, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    line-height: 1.3;
}

.service-card p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Workshop Gallery */
.workshop-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 4rem;
    margin-top: 1rem;
}

.workshop-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.workshop-gallery-item.workshop-gallery-wide {
    grid-column: 1 / -1;
}

.workshop-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(60%) brightness(0.8);
    transition: all 0.5s ease;
    min-height: 200px;
}

.workshop-gallery-item:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.workshop-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.workshop-gallery-item:hover .workshop-gallery-overlay {
    opacity: 1;
}

.workshop-gallery-overlay span {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: var(--accent-orange);
    letter-spacing: 1px;
}

/* Appointment Container */
.appointment-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    background: rgba(255, 94, 0, 0.03);
    border: 1px solid rgba(255, 94, 0, 0.1);
    border-radius: 20px;
    padding: 3rem;
}

.appointment-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.appointment-info>p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.appointment-benefits {
    list-style: none;
    padding: 0;
}

.appointment-benefits li {
    padding: 0.5rem 0;
    color: var(--text-white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.appointment-benefits li::before {
    content: none;
}

/* Appointment Form */
.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.appointment-form .form-group input,
.appointment-form .form-group textarea,
.appointment-form .form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.appointment-form .form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.appointment-form .form-group select option {
    background: var(--secondary-black);
    color: var(--text-white);
}

.appointment-form .form-group input:focus,
.appointment-form .form-group textarea:focus,
.appointment-form .form-group select:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.15);
}

.appointment-form .form-group input::placeholder,
.appointment-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.appointment-form button[type="submit"] {
    align-self: flex-start;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* Form Success State */
.form-success {
    display: none;
    text-align: center;
    padding: 3rem;
    animation: fadeInUp 0.6s ease;
}

.form-success.show {
    display: block;
}

.form-success h4 {
    font-size: 1.8rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.form-success p {
    color: var(--text-gray);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */

/* Universal Overlfow Fix */
html,
body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Tablet & Smaller Laptops (1024px) */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 4rem;
    }

    /* Navbar Tablet Adjustments */
    .navbar {
        width: 95%;
        padding: 1rem;
    }

    /* Grids become 2 columns on tablet instead of 1 or 4 */
    .races-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workshop-services {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        column-count: 3;
    }

    .container {
        padding: 0 1.5rem;
    }
}

/* Mobile (768px) */
@media (max-width: 768px) {

    /* Navbar Mobile Fix (No Gap at Top) */
    .navbar {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        padding: 1rem 1.5rem;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(5, 5, 5, 0.95);
    }

    .section {
        padding: 4rem 1rem;
        overflow: hidden;
    }

    .races-section {
        overflow: visible;
    }

    /* CRITICAL: Prevent ALL horizontal overflow */
    .container {
        max-width: 100%;
        padding: 0 1rem;
        overflow: hidden;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
        left: 0;
        transform: none;
        text-align: center;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 0 0.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .split-layout {
        flex-direction: column-reverse;
        gap: 2.5rem;
    }

    .gallery-grid {
        column-count: 2;
    }

    /* Mobile Nav */
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out;
        z-index: 1000;
        padding-top: 3rem;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        margin: 0;
        font-size: 1.5rem;
    }

    /* Hamburger Animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .menu-toggle span {
        transition: all 0.3s ease;
    }

    /* Races */
    .races-grid,
    .workshop-services,
    .specs-list {
        grid-template-columns: 1fr;
    }

    .races-grid {
        margin-bottom: 2rem;
        gap: 1rem;
        overflow: visible;
    }

    .bike-image {
        max-width: 100%;
    }

    /* ===== WORKSHOP GALLERY MOBILE ===== */
    .workshop-gallery {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .workshop-gallery-item img {
        min-height: 180px;
        filter: grayscale(30%) brightness(0.85);
    }

    .workshop-gallery-overlay {
        opacity: 1;
        padding: 1rem;
    }

    .workshop-gallery-overlay span {
        font-size: 0.9rem;
    }

    /* ===== WORKSHOP / APPOINTMENT FORM ===== */
    .workshop-tagline {
        font-size: 1rem;
        padding: 0 0.5rem;
        line-height: 1.6;
    }

    .appointment-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .appointment-info h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .appointment-info>p {
        text-align: center;
        font-size: 0.95rem;
    }

    .appointment-benefits {
        padding: 0;
    }

    .appointment-benefits li {
        font-size: 0.9rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .appointment-form {
        width: 100%;
        max-width: 100%;
    }

    .appointment-form .form-group {
        width: 100%;
    }

    .appointment-form .form-group input,
    .appointment-form .form-group textarea,
    .appointment-form .form-group select {
        font-size: 16px;
        padding: 0.9rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .appointment-form button[type="submit"] {
        width: 100%;
        text-align: center;
        align-self: center;
    }

    .service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 0;
        width: 100%;
        box-sizing: border-box;
    }

    /* ===== FOOTER / CONTACT SECTION ===== */
    footer {
        padding: 3rem 1rem;
    }

    .footer-content h2 {
        font-size: 1.8rem;
    }

    .contact-form {
        max-width: 100%;
        padding: 0;
        width: 100%;
    }

    .contact-form .form-group input,
    .contact-form .form-group textarea {
        font-size: 16px;
        padding: 0.9rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-form button {
        width: 100%;
        text-align: center;
        align-self: center;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 0.8rem;
        justify-content: center;
    }

    .social-btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        flex: 0 1 auto;
    }

    .footer-bottom {
        margin-top: 2rem;
    }

    /* Featured Race Mobile */
    .featured-race-container {
        margin-bottom: 1rem;
        width: 100%;
    }

    .race-card.featured-full {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .race-card.featured-full .race-date {
        margin-right: 0;
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 94, 0, 0.3);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        width: 100%;
    }

    /* Form success message */
    .form-success {
        padding: 1.5rem 1rem;
    }

    .form-success h4 {
        font-size: 1.3rem;
    }

    /* Bike section */
    .spec-category h4 {
        font-size: 0.95rem;
    }

    .spec-category li {
        font-size: 0.85rem;
    }

    /* Team section */
    .text-content p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
        text-align: justify;
        hyphens: auto;
    }

    .role {
        text-align: left;
    }

    .tilt-card img {
        box-shadow: 10px 10px 0 rgba(255, 94, 0, 0.1);
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
    .section {
        padding: 3rem 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
        padding: 0 0.25rem;
    }

    .hero h1 {
        font-size: 1.6rem;
        padding: 0 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    .gallery-grid {
        column-count: 1;
    }

    .appointment-container {
        padding: 1rem;
        gap: 1rem;
        border-radius: 8px;
    }

    .appointment-info h3 {
        font-size: 1.3rem;
    }

    .footer-content h2 {
        font-size: 1.5rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
    }

    .race-date .day {
        font-size: 2.5rem;
    }

    .race-card {
        padding: 1.5rem;
    }

    .race-info h3 {
        font-size: 1.2rem;
    }
}

/* =========================================
   LANGUAGE SWITCHER (FLOATING)
   ========================================= */
.lang-float-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    font-family: var(--font-heading);
}

.lang-toggle {
    width: 50px;
    height: 50px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.lang-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.lang-toggle:hover,
.lang-toggle.active {
    background: rgba(255, 126, 0, 0.1);
    border-color: var(--accent-orange);
    box-shadow: 0 0 20px rgba(255, 126, 0, 0.4);
    transform: translateY(-3px) scale(1.05);
    color: var(--accent-orange);
}

.lang-dropdown {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 140px;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom left;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    padding-left: 1.2rem;
}

.lang-option.active {
    background: rgba(255, 126, 0, 0.15);
    color: var(--accent-orange);
    font-weight: 700;
}

/* Pulse animation for the button */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 126, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 126, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 126, 0, 0);
    }
}

.lang-toggle:hover {
    animation: pulse-glow 2s infinite;
}

@media (max-width: 768px) {
    .lang-float-container {
        bottom: 20px;
        left: 20px;
    }
}