﻿/* Slider Styles */
.slider-section {
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    position: relative;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 80vh;
    min-height: 500px;
}

.slide {
    min-width: 100%;
    position: relative;
}

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.slide-content {
    position: absolute;
    bottom: 20%;
    left: 10%;
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.slider-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-prev,
.slider-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    color: #1e90ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .slider-prev:hover,
    .slider-next:hover {
        background-color: #1e90ff;
        color: white;
    }

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .slider-dot.active {
        background-color: white;
        transform: scale(1.2);
    }

/* Responsive slider */
@media (max-width: 768px) {
    .slider {
        height: 60vh;
        min-height: 400px;
    }

    .slide-content {
        bottom: 10%;
        left: 5%;
        right: 5%;
        max-width: none;
        padding: 20px;
    }

        .slide-content h2 {
            font-size: 1.8rem;
        }

        .slide-content p {
            font-size: 1rem;
        }

    .slider-nav {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 50vh;
        min-height: 300px;
    }

    .slide-content {
        padding: 15px;
    }

        .slide-content h2 {
            font-size: 1.5rem;
        }
}
