/* Base Styles */
.slider-container {
    background-color: #C5EADA;
    border-radius: 1.25rem;
    padding: 3vw 4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    height: 600px; /* Fixed height */
    position: relative;
    overflow: hidden;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.slider-text {
    flex: 1;
    text-align: left;
}

.slider-text h2 {
    font-weight: bold;
    color: #222;
    font-size: clamp(1.5rem, 5vw, 3rem);
    line-height: 1.2;
    letter-spacing: 0.05em;
    margin: 0 0 1rem 0;
}

.slider-text p {
    color: #555;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    margin: 0 0 1.5rem 0;
}

.btn-shop {
    border: 1px solid #333;
    padding: 0.5rem 1.25rem;
    border-radius: 0.3rem;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
    display: inline-block;
    background-color: transparent;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

/* Image */
.slider-image {
    position: relative;
    bottom: -1vw;
    right: 5vw;
    max-width: 100%;
    height: auto;
    border-radius: 0.625rem;
    flex: 1 1 45%;
}

/* Indicators */
.custom-indicators {
    display: flex;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    justify-content: center; /* Center the indicators */
    margin-top: 1rem; /* Space between the "Shop Now" button and the indicators */
}

.custom-indicators li {
    width: 1.25rem;
    height: 0.5rem;
    transform: skewX(-20deg);
    background-color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-indicators .active {
    width: 2rem;
    background-color: #0f1e16;
}

/* Hide carousel arrows */
.carousel-control-prev,
.carousel-control-next {
    display: none;
}

/* Image Container */
.image-container {
    position: relative;
    max-width: 100%;
    padding-left: 2vw;
}

.Vector-image {
    max-width: 100%;
    width: 100%;
}

/* Responsive (width-only) */
@media (max-width: 1024px) {
    .slider-container {
        flex-direction: row; /* Keep flex direction row on mobile */
        align-items: center;
        text-align: center;
        height: 600px; /* Keep fixed height */
    }

    .slider-text,
    .slider-image {
        flex: 1 1 100%;
    }

    .slider-image {
        position: static;
        max-width: 80%;
    }

    .custom-indicators {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .slider-container {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center horizontally */
        justify-content: center; /* Center vertically */
        padding: 8vw 4vw 4vw; /* Adjust padding for mobile */
        text-align: center; /* Center text */
        height: auto; /* Allow flexible height */
    }
    
    .category-title {
        font-size: 2rem;
    }

    .btn-show-all {
        font-size: 0.875rem;
        padding: 0.4rem 0.75rem;
    }

    .category-item img {
        width: 3rem;
        height: 3rem;
    }

    .category-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .btn-shop {
        width: 100%;
        text-align: center;
    }

    .slider-text h2 {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }

    .category-item {
        max-width: 100%;
    }

    .category-image img {
        max-width: 100%;
    }
}

@media (max-width: 425px) {
    .btn-show-all {
        width: 100%;
        padding: 0.5rem;
        font-size: 0.875rem;
    }

    .custom-indicators {
        margin-top: 1rem;
    }
}
