﻿/* HERO SECTION FULLSCREEN */
.hero-scroll-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh; /* full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #000; /* fallback bg */
}

/* scrolling container */
.scrolling-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.scrolling-track {
    display: flex;
    width: calc(200%); /* double width for loop */
    height: 100%;
    animation: scrollTrack 50s linear infinite;
}

.scroll-item {
    min-width: 20%;
    height: 100vh;
    position: relative;
}

    .scroll-item img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* fills screen */
        filter: brightness(0.7); /* dark overlay for text visibility */
        transition: transform 0.8s ease;
    }

    /* zoom on hover */
    .scroll-item:hover img {
        transform: scale(1.05);
    }

/* infinite scroll effect */
@keyframes scrollTrack {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* HERO TEXT */
.hero-heading {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
    animation: fadeUp 1.5s ease;
    max-width: 90%;
}

    .hero-heading h1 {
        font-size: 3.5rem;
        font-weight: 800;
        margin-bottom: 20px;
        text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
    }

    .hero-heading p {
        font-size: 1.5rem;
        margin-bottom: 30px;
        font-weight: 400;
        text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
    }

.hero-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #27ae60;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 35px;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

    .hero-btn:hover {
        background: #145a32;
        transform: translateY(-5px);
    }

/* fade & slide animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
