body, html {
    margin: 0;
    padding: 0;
     font-family: 'Poppins', sans-serif;
}

.hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: #0F182C;
    text-shadow: 2px 2px 4px #000;
    text-align: center;
}

.marquee {
    background: #FF7622;
    color: #F0F0F0;
    padding: 10px 0;
    font-weight: bold;
}

/* batas */

.menu-landing {
    padding: 40px 20px;
    text-align: center;
    background-color: #0F182C;
    color: #F0F0F0;
}

.menu-grid-landing {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap; /* agar tetap responsif di layar kecil */
}

.menu-item-landing {
    width: 200px; /* Ukuran seragam */
    text-align: center;
}

.menu-item-landing img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.menu-item-landing p {
    margin-top: 10px;
    font-weight: bold;
    color: #fff;
}

.btn-menu-landing {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    background: #FF7622;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 15px;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-menu-landing:hover {
    background: #e65c00;
}


/* batas */

.promo-app {
    background: #ffffff;
    color: rgb(32, 32, 32);
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; /* agar responsif di layar kecil */
}

.promo-app img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.promo-text {
    max-width: 500px;
    text-align: left;
}

.promo-text h1 {
    font-size: 2.2rem;
    margin-bottom: 5px; /* ganti dari -30px */
    font-weight: 700;
}

.promo-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #FF7622;
    font-weight: 700;
}

.promo-text p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.btn-download {
    display: inline-block;
    padding: 10px 20px;
    background: #FF7622;
    color: #ffffff;
    text-decoration: none; /* hilangkan garis bawah */
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-download:hover {
    background: #e65c00;
}



/*  slider  */
.carousel {
    position: relative;
    width: 80%;
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: center;
  
}

.carousel-track-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.carousel-slide {
    list-style: none;
    flex: 0 0 33%; /* 3 slide kelihatan */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    padding: 0 10px;
}

.carousel-slide img {
    width: 90%;
    border-radius: 10px;
    transform: scale(0.8);
    opacity: 0.5;
    transition: transform 0.5s ease, opacity 0.5s ease;
}


.current-slide img {
    transform: scale(1);
    opacity: 1;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff;
    border: 2px solid #ffffff;
    color: #020202;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover effect */
.carousel-btn:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-50%) scale(1.1);
}

/* Posisi tombol prev di kiri */
.carousel-btn.prev {
    left: -60px; /* agak ke luar sedikit dari carousel */
}

/* Posisi tombol next di kanan */
.carousel-btn.next {
    right: -60px; /* agak ke luar sedikit dari carousel */
}


.floating-order-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.floating-order-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.floating-order-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 40px 20px;
        font-size: 1.2rem;
        flex-direction: column;
        text-align: center;
    }

    .menu-grid-landing {
        flex-direction: column;
        align-items: center;
    }

    .promo-app {
        flex-direction: column;
        text-align: center;
    }

    .promo-text {
        text-align: center;
    }

    .carousel-slide {
        flex: 0 0 95%; /* hanya 1 slide di layar kecil */
    }

    .carousel-btn.prev,
    .carousel-btn.next {
        display: none; /* sembunyikan tombol panah */
    }

    .floating-order-btn {
        width: 70px;
        height: 70px;
        bottom: 15px;
        right: 15px;
    }

    .btn-download,
    .btn-menu-landing {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }
}

