/* ==========================================================================
   RESET & VARIABEL WARNA (TEMA MAKANAN)
   ========================================================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #f4efe9;
    --text-dark: #2c2825;
    --text-gray: #6b635c;
    
    /* Palet Referensi Bento */
    --color-yellow: #f6c453;
    --color-blue: #93cce8;
    --color-orange: #f08a5d;
    --color-green: #2b6152;
    --color-white: #ffffff;

    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.5;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(244, 239, 233, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon { font-size: 1.8rem; }

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
}

.btn-primary {
    background-color: var(--color-green);
    color: var(--color-white);
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

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

/* ==========================================================================
   BENTO GRID LAYOUT
   ========================================================================== */
.greeting-area {
    margin: 40px 0 20px;
}

.greeting-area h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
}

.bento-wrapper {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
    margin-bottom: 40px;
}

/* Base Card Style */
.card {
    border-radius: 30px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.bg-yellow { background-color: var(--color-yellow); }
.bg-blue { background-color: var(--color-blue); }
.bg-orange { background-color: var(--color-orange); }
.bg-white { background-color: var(--color-white); box-shadow: 0 10px 30px rgba(0,0,0,0.03); }

/* Hero Card (Span 8) */
.card-hero {
    grid-column: span 8;
    grid-row: span 2;
    display: flex;
    justify-content: space-between;
}

.hero-text {
    max-width: 50%;
    z-index: 2;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-white);
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
    margin-bottom: 16px;
}

.hero-text p {
    font-size: 1.1rem;
    font-weight: 600;
}

.hero-image {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 120%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(-10px 20px 15px rgba(0,0,0,0.2));
}

.price-badge {
    position: absolute;
    background: var(--color-green);
    color: white;
    font-family: var(--font-heading);
    padding: 15px 20px;
    border-radius: 50%;
    font-size: 1.2rem;
    top: 30%;
    left: 0;
    transform: rotate(-10deg);
}

.rating-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255,255,255,0.4);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
}

/* Chef Card */
.card-chef {
    grid-column: span 4;
    text-align: center;
}

.card-chef h2 { font-family: var(--font-heading); font-size: 2rem; }
.card-chef p { margin-bottom: 15px; }

.chef-content {
    position: relative;
    display: flex;
    justify-content: center;
}

.chef-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
}

.btn-dark {
    position: absolute;
    bottom: -15px;
    background: var(--text-dark);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: var(--font-heading);
    cursor: pointer;
}

/* Promo Card */
.card-promo {
    grid-column: span 4;
    text-align: center;
}

.card-promo h2 { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 10px;}

.promo-img-wrapper {
    position: relative;
    width: 100%;
    height: 150px;
    margin-bottom: 15px;
}

.promo-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.green-badge {
    top: auto; bottom: 10px; left: auto; right: 10px;
    border-radius: 20px; padding: 5px 15px; transform: none; font-size: 1rem;
}

/* List Menu Card */
.card-list {
    grid-column: span 8;
}

.card-list h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.menu-item:last-child { border-bottom: none; }

.menu-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.menu-text h4 { font-size: 1.1rem; }
.menu-text p { font-size: 0.9rem; color: var(--text-gray); }

.menu-action {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-price { font-weight: 700; font-family: var(--font-heading); }

.btn-add {
    background: var(--color-green);
    color: white;
    border: none;
    width: 30px; height: 30px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

#merah {
    color: red;
}

/* Map Section */
.map-section { margin-bottom: 60px; }
.map-card { padding: 40px; text-align: center; }
.map-card h2 { font-family: var(--font-heading); font-size: 2.5rem; }
.map-embed { margin-top: 20px; }

/* Footer */
.footer {
    background-color: var(--color-white);
    padding: 30px 0;
    margin-top: 40px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer h3 { font-family: var(--font-heading); }

/* Responsive */
@media (max-width: 900px) {
    .card-hero { grid-column: span 12; flex-direction: column; text-align: center; padding: 40px 20px; }
    .hero-text { max-width: 100%; margin-bottom: 200px; }
    .hero-image { top: auto; bottom: -50px; left: 50%; transform: translateX(-50%); width: 80%; height: 250px;}
    .card-chef, .card-promo, .card-list { grid-column: span 12; }
    .nav-links { display: none; }
}