/* 
   Hotel Touch Up - Hero Slider CSS
   Adds a sliding carousel to the hero section
*/

/* Hero Section Override */
.hero {
    position: relative;
    min-height: 500px; /* Set a minimum height for the hero section */
    background: none !important; /* Override the background from styles.css */
}

/* Hero Slider Container */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px; /* Add rounded corners to the slider container */
}

/* Individual Slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 5rem !important;
    border-radius: 12px; /* Add rounded corners to each slide */
}

/* Active Slide */
.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Slide Background Images */
.slide-1 {
    background: linear-gradient(rgba(30, 77, 140, 0.8), rgba(30, 77, 140, 0.9)), url('../media/hotel-rooms/hotel-room-1.jpg') center/cover no-repeat !important;
}

.slide-2 {
    background: linear-gradient(rgba(30, 77, 140, 0.8), rgba(30, 77, 140, 0.9)), url('../media/hotel-rooms/hotel-room-2.jpg') center/cover no-repeat !important;
}

.slide-3 {
    background: linear-gradient(rgba(30, 77, 140, 0.8), rgba(30, 77, 140, 0.9)), url('../media/hotel-rooms/hotel-room-3.jpg') center/cover no-repeat !important;
}

/* Slide Content */
.slide-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.slide-content h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

 
.slide-content h2 {
    color: var(--white);
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
    padding-bottom: 0;
}


.slide-content h2:after {
    display: none;
}

/* Slide Indicators */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    right: 20px;
    transform: none;
    display: flex;
    z-index: 100;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-indicator.active {
    background-color: var(--white);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
}