/* --- CSS Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Anek Bangla", sans-serif;
}

/* --- Slider Container --- */
.slider-container {
    position: relative;
    width: 100%;
    /* Desktop Height */
    height: 375px;
    overflow: hidden;
    background-color: #f0f2f5;
}

/* --- Slides (Fade Effect) --- */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;

    /* Positioning for the button overlay */
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Image Handling using <img> (inside <picture>) */
.slide picture,
.slide img {
    position: absolute;
    /* Ensures button overlays correctly */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image covers the area */
    z-index: 0;
    /* Keeps images behind the button */
}

/* --- Order Button Styling --- */
.order-button {
    padding: 12px 30px;
    margin-bottom: 50px;
    /* Position above the bottom edge */
    background-color: #111827;
    /* background-color: #ea6627; */
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 4px;
    z-index: 5;
    /* Ensures button is on top of the image */
    transition: background-color 0.3s;
    cursor: pointer;
    text-align: center;
}

.order-button:hover {
    background-color: #312e4b;
}

/* --- Navigation Dots (Desktop Only) --- */
.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #8c8c8c;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #111827;
    width: 30px;
    border-radius: 10px;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
    .slider-container {
        /* Mobile Height */
        height: 160px;
        width: 95%;
        margin: 10px auto;
        border-radius: 10px;
    }

    /* Hide Dots on Mobile */
    .dots-container {
        display: none;
    }

    /* Adjust button position for smaller height */
    .order-button {
        margin-bottom: 20px;
        padding: 8px 15px;
        font-size: 12px;
        font-weight: 300 !important;
    }
}