/* =========================================
   STYLE UNTUK RM PBB - MODERN & RAPI
   ========================================= */

/* 1. Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #800c0c; /* Merah Marun Gelap */
    color: #ffffff;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 2. Background Logo Overlay (Efek Transparan di Belakang) */
.bg-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background-image: url('logo.png'); /* Pastikan file logo ada di folder yang sama */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05;
    z-index: -1;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* 3. Header & Logo Utama */
.header {
    text-align: center;
    padding: 40px 0;
}

.logo-wrapper img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 204, 0, 0.6));
    margin-bottom: 20px;
}

.neon-gold {
    color: #ffcc00;
    font-size: 3.5rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px #ffcc00, 0 0 20px #ff6600;
    letter-spacing: 3px;
    font-weight: 900;
}

.tagline {
    color: #ff4d4d;
    font-style: italic;
    font-size: 1.2rem;
    margin-top: 5px;
}

/* 4. Section Styling */
.section {
    margin-bottom: 50px;
}

.section-title {
    color: #ffcc00;
    font-size: 1.8rem;
    border-left: 5px solid #ffcc00;
    padding-left: 15px;
    margin-bottom: 25px;
    display: block;
}

/* 5. Galeri Suasana (Ukuran Gambar Seragam) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    aspect-ratio: 16 / 9; /* Semua foto suasana akan berukuran sama (lebar) */
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 204, 0, 0.2);
    background: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Memotong gambar agar pas tanpa gepeng */
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* 6. Daftar Menu (Ukuran Gambar Seragam) */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.menu-card {
    background: rgba(255, 255, 255, 0.05); /* Efek Glassmorphism */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 204, 0, 0.2);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffcc00;
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.1);
}

.menu-img-wrapper {
    width: 120px; /* Ukuran kotak foto makanan */
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

.menu-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Menjamin gambar makanan rapi & kotak sempurna */
}

.menu-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.menu-desc h3 {
    color: #ffcc00;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.menu-desc p {
    font-size: 0.85rem;
    color: #cccccc;
    line-height: 1.3;
}

.price {
    font-weight: bold;
    color: #ffcc00;
    font-size: 1.3rem;
    white-space: nowrap;
    text-shadow: 0 0 5px rgba(255, 204, 0, 0.3);
}

/* 7. Lokasi & Map */
.location-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-box iframe {
    width: 100%;
    height: 300px;
    border: none;
    filter: grayscale(0.2) contrast(1.1);
}

.location-details {
    padding: 25px;
}

.location-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-details strong {
    color: #ffcc00;
}

.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
    padding: 14px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s ease;
}

.btn-wa:hover {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    transform: scale(1.05);
}

/* 8. Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 9. Responsif (Mobile) */
@media (max-width: 600px) {
    .neon-gold {
        font-size: 2.5rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-card {
        flex-direction: column; /* Gambar di atas, teks di bawah */
    }

    .menu-img-wrapper {
        width: 100%;
        height: 200px; /* Gambar makanan lebih besar di HP agar menggoda */
    }

    .menu-details {
        width: 100%;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .price {
        align-self: flex-end;
        margin-top: 10px;
    }
}