/* Applying the Bebas Neue font and hiding scrollbars */
body {
    font-family: 'Bebas Neue', sans-serif;
    /* This ensures the image covers the full screen and stays centered. */
    /* Replace the URL below with your own: url("img/bg.png") */
    background-image: url("img/bgMOTTO.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden; /* Prevent vertical scroll on the body */
}

/* Custom scrollbar hiding */
.scroll-container::-webkit-scrollbar {
    display: none;
}
.scroll-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* The main container for horizontal scrolling */
.scroll-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* Enforces snapping */
    scroll-behavior: smooth;
}

/* Each player's fullscreen section */
.player-slide {
    flex: 0 0 100vw; /* Each slide takes full viewport width and doesn't shrink */
    width: 100vw;
    height: 100vh;
    position: relative;
    scroll-snap-align: start; /* Snap to the start of the element */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Add a subtle overlay to help text readability over the background */
    background-color: rgba(15, 23, 42, 0.3);
}

/* Player background image */
.player-bg {
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Start image further down and more zoomed in */
    transform: scale(1.25) translateY(20%);
    filter: brightness(0.7);
    /* Faster animation duration */
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* The slide becomes active when it's in view */
.player-slide.is-active .player-bg {
    /* Final position remains the same */
    transform: scale(1.1) translateY(0);
}

/* Content animation: fade and slide up */
.player-content {
    opacity: 0;
    transform: translateY(30px); /* Content also starts a bit lower */
    /* Faster delay to match background animation */
    transition: opacity 0.6s 0.3s ease, transform 0.6s 0.3s ease;
}

.player-slide.is-active .player-content {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation dots styling */
.nav-dots {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.nav-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.nav-dot.active {
    background-color: #ff4655;
    transform: scale(1.25);
}
