/* Dark theme overrides */
body {
    background-color: #000 !important;
    color: #e0e0e0;
}

.hero-section {
    height: 100vh;
    background: url('../assets/images/p_race_cars.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.65);
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}
.hero-short {
    height: 400px;
}

.logo-container {
    position: relative;
}

.logo-background {
    background-color: #fff;
    border-radius: 0.5rem;
}
.hero-logo img {
    max-height: 90px;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
@media (min-width: 992px) {
    .hero-logo img {
        max-height: 250px;
    }
}
.carousel-wrapper {
    width: 100vw;
    overflow-x: hidden;
}
.carousel img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .carousel img {
        height: 60vh;
    }
}
.caption-bg {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 0.5rem;
    color: #fff !important;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}
.frosted-glass {
    background-color: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 12px;
    position: relative;
    opacity: 0.75;
}

.mouse-icon-wrapper {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.2s infinite ease-in-out;
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, 10px);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 0);
    }
}