/* Slider Wrapper */
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 60vh;  /* Default height for large screens */
    overflow: hidden;  /* Hide overflow */
    margin-bottom: 27px;
}

/* All slides */
.slider-wrapper .slider-container {
    display: flex;
    transition: transform 1s ease-in-out;  /* Smooth transition between slides */
    width: 100%;
    height: 100%;
}

/* Individual slider sections */
.slider-wrapper .slider-section {
    flex: 0 0 100%;  /* Each slide takes up 100% of the container width */
    height: 100%;
    position: relative;
}

/* Image background styling */
.slider-wrapper .slider-content {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 15px;
}

/* Content overlay (text block) */
.slider-wrapper .content-overlay {
    position: absolute;
    top: 50%;
    left: 28%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.73);  /* Semi-transparent background */
    padding: 20px;
    width: 80%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    min-height: 230px;
}

.slider-wrapper .content-overlay h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.slider-wrapper .content-overlay p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Button styling */
.slider-wrapper .book-now-button {
    background-color: #2C3E50 !important;
    color: #fff;
    padding: 12.5px 31px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    font-size: 18px;
    width: 160px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease-in-out;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500 !important;
    font-style: normal;
}

.slider-wrapper .book-now-button:hover {
    background-color: #FF80AB;
}

/* Navigation Buttons (Prev/Next) */
.slider-wrapper .slider-controls {
    position: absolute;
    top: 89%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    padding: 0 5%;  /* Adjust padding for buttons */
}

.slider-wrapper .prev-btn, .slider-wrapper .next-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    border-radius: 50%;  /* Circular buttons */
    transition: background-color 0.3s ease-in-out;
}

.slider-wrapper .prev-btn:hover,.slider-wrapper .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);  /* Darker on hover */
}

/* Disabled state for buttons */
.slider-wrapper button[disabled] {
    background-color: rgba(0, 0, 0, 0.2);
    cursor: not-allowed;  /* Disabled buttons should not be clickable */
}

/* Dots for navigation below the slider */
.slider-wrapper .slider-dots {
    position: absolute;
    bottom: 34px;  /* Positioning dots at the bottom of the slider */
    left: 96%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;  /* Space between the dots */
}

.slider-wrapper .slider-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;  /* Circular dots */
    background-color: rgba(255, 255, 255, 0.5);  /* Default inactive dot color */
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-wrapper .slider-dots .active {
    background-color: white;  /* Active dot is white */
}

/* Responsive Design for smaller screens (Mobile and Tablets) */
@media screen and (max-width: 1024px) {
    /* Adjust the height of the slider on medium screens */
    .slider-wrapper {
        height: 50vh;  /* Adjust height for tablet-sized screens */
    }

    .slider-wrapper .slider-content {
        background-size: cover;
        background-position: center;
    }

    .slider-wrapper .content-overlay {
        top: 60%;
        width: 90%;  /* Adjust content overlay width for tablet-sized screens */
        left: 35%;
    }

    .slider-wrapper .content-overlay h2 {
        font-size: 28px;  /* Smaller title size for smaller screens */
    }

    .slider-wrapper .content-overlay p {
        font-size: 16px;  /* Smaller paragraph font size */
    }

    .slider-wrapper  .book-now-button {
        font-size: 14px;  /* Slightly smaller button text */
        width: 150px;
    }

    /* Adjust navigation buttons size and position */
    .slider-wrapper .prev-btn,.slider-wrapper .next-btn {
        padding: 12px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .slider-wrapper .slider-dots span {
        width: 10px;
        height: 10px;  /* Adjust dot size for medium screens */
    }
}

@media screen and (max-width: 768px) {
    .slider-wrapper .content-overlay {
        top: 60%;
        width: 90%;
        left: 47%;
    }

    .slider-wrapper .slider-dots {
        bottom: 23px;
        left: 94%;
    }
}
/* Responsive Design for smaller screens (Mobile Phones) */
@media screen and (max-width: 600px) {
    .slider-wrapper .slider-wrapper {
        height: 33vh;  /* Adjust height for mobile devices */
    }
    .slider-wrapper .slider-content {
        background-size: cover;
        background-position: center;
    }

    .slider-wrapper  .content-overlay {
        top: 50%;
        width: 90%;  /* Adjust content overlay width for smaller screens */
    }

    .slider-wrapper .content-overlay h2 {
        font-size: 24px;  /* Smaller title size for small screens */
    }

    .slider-wrapper  .content-overlay p {
        font-size: 14px;  /* Smaller paragraph font size */
    }

    .slider-wrapper .book-now-button {
        font-size: 14px;  /* Smaller button text */
        width: 138px;
    }

    .slider-wrapper  .prev-btn, .next-btn {
        padding: 10px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slider-wrapper .slider-dots span {
        width: 8px;
        height: 8px;  /* Adjust dot size for mobile screens */
    }
}