.hero-slider {
    position: relative;
    overflow: hidden;
    color: white;
}

.slider-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    animation: slideBackground 20s infinite;
    filter: brightness(0.5);
    z-index: -1;
    /* behind content */
}

/* Define multiple backgrounds with steps */
/* @keyframes slideBackground {
    0% {
        background-image: url('https://images.pexels.com/photos/1640777/pexels-photo-1640777.jpeg?auto=compress&cs=tinysrgb&w=1200');
    }

    33% {
        background-image: url('https://images.pexels.com/photos/1267320/pexels-photo-1267320.jpeg?auto=compress&cs=tinysrgb&w=800');
    }

    66% {
        background-image: url('https://images.pexels.com/photos/1640774/pexels-photo-1640774.jpeg?auto=compress&cs=tinysrgb&w=800');
    }

    100% {
        background-image: url('https://images.pexels.com/photos/1640777/pexels-photo-1640777.jpeg?auto=compress&cs=tinysrgb&w=1200');
    }
} */
@keyframes slideBackground {
    0% {
        background-image: url('assets/img/all.png');
    }

    33% {
        background-image: url('assets/img/meal.png');
    }

    66% {
        background-image: url('assets/img/meal2.png');
    }

    100% {
        background-image: url('assets/img/meal3.png');
    }
}

/* Style hero content to be centered */
.hero-content {
    position: relative;
    padding: 100px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Buttons styling as you have or adjust */
.hero-buttons .btn {
    margin: 0 10px;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
}

/* Optional: hero-image styling, maybe hide or position differently */
.hero-image {
    display: none;
    /* or position absolutely if you want */
}