/* =========================================
   Energetic Theme Variables & Resets
   ========================================= */
:root {
    /* Colors - High Energy Dark Theme */
    --bg-dark: #0a0a0a;
    --bg-light-dark: #141414;
    --neon-orange: #FF3C00;
    --neon-orange-glow: rgba(255, 60, 0, 0.5);
    --text-white: #ffffff;
    --text-gray: #aaaaaa;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Oswald', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   Typography & Utilities
   ========================================= */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1.1;
}

.text-neon {
    color: var(--neon-orange);
    text-shadow: 0 0 10px var(--neon-orange-glow);
}

.center {
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 1px;
}

.image-placeholder {
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-family: var(--font-heading);
    font-weight: 700;
    border: 1px dashed #444;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: skewX(-10deg);
}

.btn-neon {
    background-color: var(--neon-orange);
    color: var(--bg-dark);
    box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.1);
}

.btn-neon:hover {
    background-color: #fff;
    color: var(--neon-orange);
    box-shadow: 0 0 20px var(--neon-orange-glow);
}

.btn-outline-neon {
    background-color: transparent;
    border: 2px solid var(--neon-orange);
    color: var(--neon-orange);
}

.btn-outline-neon:hover {
    background-color: var(--neon-orange);
    color: var(--bg-dark);
}

.btn-white {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-white:hover {
    background-color: #fff;
    color: var(--bg-dark);
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 60, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
    font-style: italic;
    letter-spacing: -1px;
}

.logo span {
    color: var(--neon-orange);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--neon-orange);
    transition: width 0.3s ease;
}

.nav-toggle,
.nav-toggle-label {
    display: none;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--neon-orange);
}

/* =========================================
   1. Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow: hidden;
}

/* Adds a dynamic diagonal slash effect to the background */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 60, 0, 0.03) 10px,
            rgba(255, 60, 0, 0.03) 20px);
    z-index: 1;
}

.hero-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-image-left {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-image-left img {
    width: 120%;
    max-width: none;
    height: auto;
    filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.6));
    transform: translateX(-5%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-left: auto;
    text-align: right;
}

.glitch-text {
    font-size: 5.5rem;
    font-style: italic;
    line-height: 0.9;
    margin-bottom: 30px;
    text-shadow: 4px 4px 0 rgba(255, 255, 255, 0.05);
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--text-gray);
    margin-bottom: 50px;
    max-width: 600px;
    letter-spacing: 1px;
    margin-left: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.diagonal-line {
    position: absolute;
    right: -30%;
    top: -50%;
    width: 80%;
    height: 200%;
    background-color: var(--neon-orange);
    transform: rotate(25deg);
    z-index: 0;
    opacity: 0.1;
}

/* =========================================
   2. About Section
   ========================================= */
.about {
    padding: 120px 0;
    background-color: var(--bg-light-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 20px;
}

.accent-bar {
    width: 80px;
    height: 6px;
    background-color: var(--neon-orange);
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.stat h3 {
    font-size: 3rem;
    color: var(--neon-orange);
    margin-bottom: 5px;
}

.stat h3 span {
    font-size: 1.5rem;
    color: var(--text-white);
}

.stat span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    height: 600px;
    transform: skewX(-5deg);
    position: relative;
    z-index: 2;
    border: 2px solid #333;
    overflow: hidden;
}

.about-img span {
    width: 100%;
    height: 100%;
    display: block;
    transform: skewX(5deg) scale(0.95);
}

.about-img img {
    width: 100%;
    height: 100%;
    /* display: block; */
    /* object-fit: contain; */
    object-position: center;
}

.decor-square {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--neon-orange);
    transform: skewX(-5deg);
    z-index: 1;

}

/* =========================================
   3. Gallery Section
   ========================================= */
.gallery {
    padding: 120px 0;
}

.gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-orange) var(--bg-light-dark);
}

.gallery-grid::-webkit-scrollbar {
    height: 6px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: var(--neon-orange);
    border-radius: 3px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: var(--bg-light-dark);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    flex: 0 0 85%;
    height: 290px;
    scroll-snap-align: center;
    cursor: pointer;


}

@media (min-width: 768px) {
    .gallery-item {
        flex: 0 0 45%;
        height: 400px;
    }
}

.gallery-item.large {
    /* Removed grid-span properties as they aren't used in flex sliders */
}

.gallery-item .image-placeholder {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    transition: transform 0.5s ease;
}

.gallery-item .image-placeholder span {
    width: 100%;
    height: 100%;
    display: block;
}

.gallery-item .image-placeholder img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    transform: scale(1.35);
}

.gallery-item:hover .image-placeholder {
    transform: scale(1.05);
    border-color: var(--neon-orange);
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 40px; */
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox-frame {
    width: min(48vw, 980px);
    height: min(66vh, 600px);
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 10px; */
    background: #fff;
    border: 2px solid var(--neon-orange);
    transform: scale(0.92);
    transition: transform 0.25s ease;
}

.gallery-lightbox.active .gallery-lightbox-frame {
    transform: scale(1);
}

.gallery-lightbox-frame img {
    width: 80%;
    height: 100%;
    display: block;
    object-fit: contain;
    transform: scale(1.22);
}

.gallery-lightbox-close {
    position: fixed;
    top: 26px;
    right: 34px;
    width: 48px;
    height: 48px;
    border: 2px solid var(--neon-orange);
    background: #111;
    color: var(--text-white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.gallery-lightbox-close:hover {
    background: var(--neon-orange);
    color: #111;
}

body.lightbox-open {
    overflow: hidden;
}

/* =========================================
   4. Cycle with Parts (Hotspots)
   ========================================= */
.parts-section {
    padding: 120px 0;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
    border-top: 1px solid #333;
}

.bike-anatomy-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.bike-image-placeholder {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background-color: transparent;
    border: none;
    position: relative;
}

/* Hotspots */
.hotspot {
    position: absolute;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.hotspot-dot {
    width: 20px;
    height: 20px;
    background-color: var(--neon-orange);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 0 rgba(255, 60, 0, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 60, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 60, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 60, 0, 0);
    }
}

.hotspot-card {
    position: absolute;
    top: -20px;
    width: 250px;
    background-color: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--neon-orange);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.hotspot-card.left {
    right: 40px;
}

.hotspot-card.right {
    left: 40px;
}

.hotspot:hover .hotspot-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hotspot-card h4 {
    font-size: 1.2rem;
    color: var(--neon-orange);
    margin-bottom: 10px;
}

.hotspot-card p {
    font-size: 0.9rem;
    color: var(--text-white);
    font-family: var(--font-body);
}

/* =========================================
   5. Contact Section
   ========================================= */
.contact {
    padding: 120px 0;
    background-color: var(--bg-dark);
}

.contact .section-header h2 {
    font-size: 2.5rem;
    font-weight: 500;
}


.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-orange);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    padding: 15px 30px;
}

.form-status {
    min-height: 20px;
    margin: 0;
    text-align: center;
    font-size: 0.95rem;
}

/* =========================================
   6. Footer Section
   ========================================= */
.footer {
    background-color: #050505;
    border-top: 3px solid var(--neon-orange);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-gray);
    margin-top: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--neon-orange);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    transform: skewX(-10deg);
}

.social-icon:hover {
    background-color: var(--neon-orange);
    color: var(--bg-dark);
}

.newsletter-box {
    display: flex;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.newsletter-box input {
    background: #fff;
    border: none;
    color: #fff;
    flex: 1;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.newsletter-box button {
    background: transparent;
    border: none;
    color: var(--neon-orange);
    font-size: 1.5rem;
    cursor: pointer;
}

.footer-bottom {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-layout {
        flex-direction: column;
        gap: 30px;
    }

    .hero-image-left img {
        width: 100%;
        transform: none;
    }

    .hero-content {
        text-align: center;
        margin-left: 0;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .glitch-text {
        font-size: 2.2rem;
    }

    .nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 10px;
        position: relative;
        z-index: 100;
        margin-left: auto;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--neon-orange);
        height: 3px;
        width: 30px;
        position: relative;
        transition: 0.3s;
        border-radius: 2px;
    }

    .nav-toggle-label span::before {
        content: '';
        top: -10px;
        position: absolute;
        left: 0;
    }

    .nav-toggle-label span::after {
        content: '';
        top: 10px;
        position: absolute;
        left: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-dark);
        border-left: 1px solid #333;
        padding-top: 100px;
        transition: right 0.3s ease;
        z-index: 90;
        align-items: flex-start;
        padding-left: 40px;
        gap: 40px;
    }

    .nav-toggle:checked~.nav-links {
        right: 0;
    }

    .nav-toggle:checked~.nav-toggle-label span {
        background: transparent;
    }

    .nav-toggle:checked~.nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle:checked~.nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
        width: 100%;
    }

    .header-contact-btn {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .about-text h2 {
        font-size: 2.8rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .stat h3 {
        font-size: 2.2rem;
    }

    .stats-row {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }

    .about-img {
        height: 350px;
    }

    .gallery-lightbox {
        padding: 18px;
    }

    .gallery-lightbox-frame {
        width: 92vw;
        height: 58vh;
        padding: 8px;
    }

    .gallery-lightbox-frame img {
        transform: scale(1.12);
    }

    .gallery-lightbox-close {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
        font-size: 1.7rem;
    }

    .decor-square {
        right: -10px;
        top: -10px;
        border-width: 3px;
    }

    /* Hotspot mobile fixes */
    .hotspot-card {
        width: 150px;
        padding: 10px;
    }

    .hotspot-card h4 {
        font-size: 0.9rem;
    }

    .hotspot-card p {
        font-size: 0.75rem;
    }
}
