:root {
    --red: #E6002B;
    --blue: #2563EB;
    --black: #111111;
    --white: #FAFAFA;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--white);
    color: var(--black);
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -ms-overflow-style: none;
    overscroll-behavior: none;
}
::-webkit-scrollbar {
    display: none;
}
html {
    scrollbar-width: none;
}

.font-heading {
    font-family: 'Darker Grotesque', sans-serif;
    line-height: 0.9;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* --- UTILITIES --- */
.panel {
    position: relative;
    background: transparent;
    will-change: transform;
    width: 100vw;
    flex-shrink: 0;
}

.parallax-wrapper {
    overflow: hidden;
    position: relative;
}

.parallax-img {
    will-change: transform;
    scale: 1.1;
}

/* Zoom slightly to allow movement */

/* Driver Cutout */
.driver-cutout {
    filter: drop-shadow(0px 20px 30px rgba(0, 0, 0, 0.15));
    transition: transform 1s ease;
    will-change: transform;
}

.driver-cutout:hover {
    transform: scale(1.03) translateY(-10px);
}

/* Loader */
.loader-overlay {
    position: fixed;
    inset: 0;
    background: #FAFAFA;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-text {
    color: var(--black);
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 10vw;
    font-weight: 900;
}

.image-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Text Scramble Effect Class */
.scramble-text {
    display: inline-block;
    cursor: default;
}

/* Canvas for Particles */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.hover-trigger:hover {
    opacity: 0.8;
}

/* Scroll Up Button */
#scroll-up-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: black;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 100;
    border: 1px solid rgba(255,255,255,0.1);
}

#scroll-up-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#main-nav {
    transition: transform 0.3s ease, opacity 0.35s ease;
}
.hidden-nav {
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s ease-in-out;
}
#content {
    position: relative;
    z-index: 10;
}
#fixed-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.fixed-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 0.3s ease-in-out;
}
.fixed-bg-img.active {
    opacity: 1;
}

#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 50;
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
#lightbox.open {
    display: flex;
    opacity: 1;
}
#lightboxImg {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
#closeLightbox,#prevBtn,#nextBtn {
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    user-select: none;
}
#closeLightbox {
    position: absolute;
    top: 1rem;
    right: 1rem;
}
#prevBtn {
    position: absolute;
    left: 1rem;
}
#nextBtn {
    position: absolute;
    right: 1rem;
}
