/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow: hidden;
}

/* Moving background wrapper */
.moving-bg-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #1D1D1D;
}

/* Background container that holds all images */
.bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 600%;
    height: 100%;
    animation: moveRightToLeft 90s linear infinite;
}

/* Background image containers */
.bg-image {
    position: absolute;
    top: 0;
    width: 16.666%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Individual background images - replace with your actual image paths */
.bg-image-1 {
    background-image: url('/bgs/a-1.jpg');
    left: 0%;
}

.bg-image-2 {
    background-image: url('/bgs/a-2.jpg');
    left: 16.666%;
}

.bg-image-3 {
    background-image: url('/bgs/a-3.jpg');
    left: 33.333%;
}

/* Duplicated images for seamless loop */
.bg-image-1:nth-of-type(4) {
    left: 50%;
}

.bg-image-2:nth-of-type(5) {
    left: 66.666%;
}

.bg-image-3:nth-of-type(6) {
    left: 83.333%;
}

/* Keyframe animation for smooth right-to-left movement */
@keyframes moveRightToLeft {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Content overlay */
.content-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.content-overlay h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.content-overlay p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, #1D1D1DCC 35%, #1D1D1D00 75%);
    z-index: 5;
}
/* Responsive design */
@media (max-width: 768px) {
    .content-overlay {
        padding: 20px;
        margin: 20px;
    }
    
    .content-overlay h1 {
        font-size: 2rem;
    }
    
    .content-overlay p {
        font-size: 1rem;
    }
}
