/**
 * Custom Slider CSS
 */

 .custom-slider-container {
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.gardeningo-slider-container .splide__slide img {
    vertical-align: bottom;
    height: 450px !important;
    object-fit: cover !important;
    width: 100% !important;
}

/* Slide styling */
.splide__slide {
    overflow: hidden;
    position: relative;
}

/* Background image container */
.slide-background {
    width: 100%;
    height:700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Overlay with gradient */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 99%);
    background-repeat: repeat-x;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: flex-end;
}

/* Container for the 1200px wide content */
.slide-content-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 50px;
}

/* Text content container */
.slide-text-content {
    position: relative;
    color: #ffffff;
    width: 525px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.slide-text-content h2 {
    font-size: 50px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    font-family: "source-sans-pro", Sans-serif;
    line-height: 52px;
}

/* Button styling */
.slide-button {
    display: flex;
    align-items: center;
    padding: 7px 15px;
    background-color: #F24822;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    gap:15px;
    font-family: "source-sans-pro", Sans-serif;
}

.slide-button:hover {
    background-color: #FF5252;
    color: #ffffff;
}

a.slide-button svg {
    width: 22px;
    height: auto;
    fill: white;
}

/* Splide pagination styling */
.splide__pagination {
    bottom: 20px;
}

.splide__pagination__page {
    background: rgba(255, 255, 255, 0.5);
    width: 12px;
    height: 12px;
    margin: 0 6px;
}

.splide__pagination__page.is-active {
    background: #ffffff;
    transform: scale(1.2);
}

/* Arrows styling */
.splide__arrow {
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
}

.splide__arrow:hover {
    background: rgba(255, 255, 255, 1);
}



@media (max-width: 767px) {
    .slide-background {
        height: 550px;
    }
    
    .slide-text-content h2 {
        font-size: 24px;
        margin-bottom: 10px;
        line-height: 31px;
    }
    
    .slide-content-container {
        padding: 0 15px 30px;
    }

    .slide-text-content {
        width: 100%;
        padding-bottom: 25px;
        text-align: center;
        align-items: center;
    }
}