/* Slider Component */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slider .material-icons-rounded {
    font-size: 24px;
    position: absolute;
    left: 0;
}
.slider .material-icons-rounded {
    font-size: 24px;
    position: absolute;
    left: 0;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: white;
}

.slide-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.slide-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slider-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background-color: white;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 10;
}

.slider-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-indicator.active {
    background-color: white;
    transform: scale(1.3);
}

/* Responsive Slider */
@media (max-width: 768px) {
    .slide-title {
        font-size: 1.2rem;
    }
    
    .slide-description {
        font-size: 0.8rem;
    }
    
    .slider-controls {
        bottom: 0.5rem;
        right: 0.5rem;
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
    }
}

/* Auto-height Slider */
.slider-container.auto-height {
    height: auto;
}

.slider-container.auto-height .slide img {
    height: auto;
    max-height: 500px;
    object-fit: cover;
}