﻿

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    color: white;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation: zoomEffect 20s infinite;
}

    .slide.active {
        opacity: 1;
    }

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.slide-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/s1.jpeg');
}

.slide-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/s2.jpeg');
    animation-delay: 5s;
}

.slide-3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/s3.jpeg');
    animation-delay: 10s;
}

.slide-4 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/s4.jpeg');
    animation-delay: 15s;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    border-radius: 10px;
    background-color: rgb(211 227 253 / 16%);
    backdrop-filter: blur(5px);
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: auto;
        padding: 80px 0;
    }

    .hero-content {
        margin: 20px;
    }

    .search-form {
        padding: 1.5rem;
    }
}
