﻿/* ===== HERO IMAGE SLIDER ===== */

.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

/* slider container */
.image-slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* moving track */
.image-slider-track {
    display: flex;
    width: max-content;
    height: 100%;
    animation: scrollLeft 40s linear infinite;
    animation-delay: 2s; /* START AFTER 2 SECONDS */
}

    /* images */
    .image-slider-track img {
        height: 100%;
        width: auto;
        object-fit: cover;
    }

/* animation */
@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* hero text */
.hero-content {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    color: white;
}

    .hero-content span {
        color: #ffc107;
    }

.hero-btn {
    background: #ffc107;
    border-radius: 30px;
    padding: 12px 35px;
    font-weight: 600;
}
