/* 
 * Emily Schaumann Piano Studio 
 * Slider Stylesheet
 */

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
    pointer-events: none;
}

.slide-content {
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    color: #ffffff;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.slide-content .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.slide-content .btn:hover {
    background-color: var(--primary-dark);
}

/* Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    z-index: 100; /* Ensure arrows are above other elements */
}

/* Improve mobile navigation arrows */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 18px;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
}
