/* Reset dan base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Roboto', sans-serif;
    background: #fff; /* Putih bersih */
    color: #222; /* teks gelap */
    line-height: 1.6;
    padding: 20px 0;
}

/* Container */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
header {
    background: #d62420; /* merah McD */
    color: #ffd300; /* kuning keemasan */
    padding: 30px 0;
    text-align: center;
    font-family: 'Playfair Display', serif;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    margin-bottom: 40px;
}
.restaurant-name {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px #800000;
}
.tagline {
    font-size: 1.2rem;
    font-style: italic;
    color: #fff176; /* kuning muda */
}

/* Filter Section */
.filter-section {
    margin-bottom: 50px;
}
.filter-form {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    background: #fff3cd; /* kuning lembut */
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(214, 36, 32, 0.3);
}
.form-group {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: #d62420; /* merah utama */
    min-width: auto;
}
.form-group label {
    margin-right: 8px;
    margin-bottom: 0;
    font-size: 1rem;
}
.form-group select {
    padding: 6px 10px;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid #d62420;
    background-color: #fff;
    transition: border-color 0.3s ease;
    cursor: pointer;
}
.form-group select:hover,
.form-group select:focus {
    border-color: #b71c1a;
    outline: none;
}
.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #d62420;
}
.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #d62420;
}
.buttons {
    display: flex;
    gap: 12px;
    margin: 0;
}
.buttons button,
.buttons a {
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 12px rgba(214,36,32,0.4);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary {
    background-color: #d62420; /* merah McD */
    color: #ffd300; /* kuning */
}
.btn-primary:hover {
    background-color: #b71c1a;
    box-shadow: 0 6px 18px rgba(183,28,26,0.8);
}
.btn-secondary {
    background-color: transparent;
    color: #d62420;
    border: 2px solid #d62420;
}
.btn-secondary:hover {
    background-color: #d62420;
    color: #ffd300;
    box-shadow: 0 6px 18px rgba(214,36,32,0.8);
}

/* Menu Container */
.menu-container {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 30px;
}

/* Menu Item */
.menu-item {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 15px rgba(214,36,32,0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(214,36,32,0.3);
}
.menu-image-link img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-bottom: 4px solid #d62420;
    transition: transform 0.4s ease;
}
.menu-item:hover .menu-image-link img {
    transform: scale(1.05);
}
.menu-details {
    padding: 20px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.menu-details h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #d62420;
    font-size: 1.6rem;
    margin-bottom: 8px;
}
.menu-jenis {
    font-size: 1rem;
    font-style: italic;
    color: #ffd300;
    margin-bottom: 10px;
    text-transform: capitalize;
}
.menu-harga {
    font-size: 1.2rem;
    font-weight: 700;
    color: #b71c1a;
    margin-bottom: 15px;
}
.menu-deskripsi {
    font-size: 0.95rem;
    color: #4a342e;
    margin-bottom: auto;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    display: box; /* untuk antisipasi standard */
    -webkit-line-clamp: 4;
    line-clamp: 4; /* versi standar */
    -webkit-box-orient: vertical;
    box-orient: vertical; /* antisipasi standar (meskipun tidak wajib) */
    line-height: 1.4;
}


.promo-tag {
    display: inline-block;
    background-color: #ffd300;
    color: #d62420;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-top: 15px;
    align-self: flex-start;
    box-shadow: 0 3px 8px rgba(255, 211, 0, 0.6);
}

/* Add to cart button */
.btn-add-cart {
    margin-top: 20px;
    align-self: flex-start;
    background-color: #d62420;
    color: #ffd300;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(214,36,32,0.7);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.btn-add-cart:hover {
    background-color: #b71c1a;
    box-shadow: 0 6px 18px rgba(183,28,26,0.9);
}

/* No menu */
.no-menu {
    grid-column: 1 / -1;
    font-size: 1.3rem;
    color: #b71c1a;
    text-align: center;
    margin-top: 60px;
}

/* Footer */
footer {
    margin-top: 60px;
    padding: 30px 0;
    background: #d62420;
    color: #ffd300;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 -4px 8px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .filter-form {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 15px 20px;
    }
    .buttons {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .menu-details h2 {
        font-size: 1.4rem;
    }
    .menu-harga {
        font-size: 1.1rem;
    }
}


