/* Color Palette & Modern Variables - Palet LUMLUM Blue (#2c73aa) */
:root {
    --bg-gradient: linear-gradient(135deg, #f2f7fb 0%, #e0eef7 50%, #b3d4ed 100%);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.7);

    --blue-50: #f2f7fb;
    --blue-100: #e0eef7;
    --blue-300: #8bbce1;
    --blue-400: #5c99cf;
    --blue-500: #2c73aa;
    /* Base Lumlum Blue */
    --blue-600: #235c88;
    --blue-800: #153853;

    --text-main: #0f172a;
    --text-muted: #475569;

    --shadow-sm: 0 4px 15px rgba(44, 115, 170, 0.15);
    --shadow-md: 0 10px 30px rgba(44, 115, 170, 0.2);
    --shadow-hover: 0 20px 40px rgba(44, 115, 170, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Ornamen Background Abstract */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.5;
}

.shape-1 {
    width: 450px;
    height: 450px;
    background: var(--blue-400);
    top: 10%;
    left: -100px;
}

.shape-2 {
    width: 550px;
    height: 550px;
    background: var(--blue-100);
    bottom: -150px;
    right: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--blue-600);
    top: 40%;
    left: 40%;
    opacity: 0.2;
}

.main-wrapper {
    position: relative;
    z-index: 1;
}

/* =========================================
   HEADER BARU: Latar Biru Solid & Font Melengkung
   ========================================= */
.brand-header {
    text-align: center;
    background: var(--blue-500);
    padding: clamp(40px, 6vw, 60px) 20px clamp(60px, 8vw, 90px);
    /* Extra padding bottom untuk overlapping */
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    box-shadow: 0 10px 30px rgba(44, 115, 170, 0.3);
    position: relative;
    z-index: 5;
}

.brand-logo {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 4px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.brand-tagline {
    font-family: 'Fredoka', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* =========================================
   TRUST CARD: Overlapping / Melayang Lebar
   ========================================= */
.dietary-card-wrapper {
    margin-top: -45px;
    /* Menarik card ke atas menabrak header */
    padding: 0 20px;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.dietary-card {
    background: #ffffff;
    border-radius: 50px;
    /* Bentuk kapsul penuh untuk desktop */
    padding: 16px 35px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(44, 115, 170, 0.15);
}

.dietary-main {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--blue-500);
    font-weight: 700;
    font-size: 1.1rem;
    padding-right: 30px;
    border-right: 2px dashed rgba(44, 115, 170, 0.2);
    /* Garis pemisah vertikal di desktop */
}

.dietary-main i {
    font-size: 1.5rem;
}

.dietary-details {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dot-separator {
    color: var(--blue-300);
    font-size: 1.5rem;
    line-height: 0;
}

.dietary-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blue-800);
}

.dietary-item i {
    color: #ef4444;
    font-size: 1.1rem;
}

/* Responsivitas Trust Card saat layar menyempit (Tablet) */
@media (max-width: 900px) {
    .dietary-card {
        flex-direction: column;
        border-radius: 24px;
        padding: 20px;
        gap: 15px;
    }

    .dietary-main {
        padding-right: 0;
        padding-bottom: 15px;
        border-right: none;
        border-bottom: 2px dashed rgba(44, 115, 170, 0.2);
    }
}

/* =========================================
   NAVIGASI FILTER: Sticky Capsule
   ========================================= */
.filter-nav {
    position: sticky;
    top: 25px;
    z-index: 100;
    margin: 35px auto 0;
    /* Tambah margin agar tidak terlalu dekat dengan trust card */
    max-width: fit-content;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    padding: 10px 15px;
    box-shadow: var(--shadow-sm);
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: clamp(0.9rem, 1vw, 1rem);
    font-weight: 600;
    color: var(--blue-800);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn i {
    font-size: 1.25rem;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--blue-600);
}

.filter-btn.active {
    background: var(--blue-500);
    color: white;
    box-shadow: 0 6px 20px rgba(44, 115, 170, 0.4);
}

/* Menu Grid */
.menu-container {
    max-width: 1280px;
    margin: 40px auto 100px;
    padding: 0 clamp(20px, 5vw, 40px);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(280px, 25vw, 350px), 1fr));
    gap: clamp(25px, 3vw, 40px);
}

/* Modern Card Design */
.menu-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.menu-card.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.menu-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 255, 255, 1);
}

.card-image {
    width: 100%;
    height: 220px;
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}

.badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 8px 16px;
    border-radius: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.badge-accent {
    background: rgba(255, 255, 255, 0.9);
    color: var(--blue-600);
}

.badge-blue {
    background: var(--blue-500);
    color: white;
}

.card-body {
    padding: 26px 26px 85px 26px;
    position: relative;
}

.title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 15px;
}

.title-row h3 {
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
}

.price {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    font-weight: 700;
    color: var(--blue-600);
    white-space: nowrap;
    background: var(--blue-50);
    padding: 6px 14px;
    border-radius: 12px;
    border: 1px solid var(--blue-100);
}

.desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    min-height: 45px;
}

/* Add Button */
.btn-add {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: none;
    background: var(--blue-500);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 18px rgba(44, 115, 170, 0.35);
}

.btn-add:hover {
    background: var(--blue-600);
    transform: scale(1.1) rotate(90deg);
    border-radius: 50%;
}

/* FOOTER DESKTOP STYLES */
.desktop-footer {
    margin-top: 50px;
    padding: 60px 20px 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -10px 40px rgba(44, 115, 170, 0.08);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

/* Font Logo Footer Diubah ke Fredoka */
.footer-brand {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--blue-500);
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.6);
}

.footer-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 450px;
    line-height: 1.7;
}

/* Media Sosial */
.social-links {
    display: flex;
    gap: 24px;
    margin: 15px 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--blue-500);
    font-size: 1.6rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--blue-500);
    color: white;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(44, 115, 170, 0.35);
}

.footer-copyright {
    width: 100%;
    max-width: 650px;
    padding-top: 30px;
    margin-top: 15px;
    border-top: 1px solid rgba(44, 115, 170, 0.2);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}