:root {
    --primary: #F7B500; 
    --primary-dark: #D49A00;
    --dark: #1A1A1A;
    --light: #FFFFFF;
    --bg-light: #F9FAFB;
    --gray: #6B7280;
    --shadow: 0 10px 40px rgba(0,0,0,0.06);
    --border-radius: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Poppins', sans-serif; 
    color: var(--dark); 
    background: var(--light); 
    line-height: 1.7; 
    overflow-x: hidden; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* --- NAVIGATION --- */
nav { 
    position: fixed; 
    width: 100%; 
    z-index: 1000; 
    padding: 25px 0; 
    transition: 0.4s; 
}
nav.scrolled { 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px);
    padding: 15px 0; 
    box-shadow: var(--shadow); 
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px; 
    margin: 0 auto;
}
.logo { font-weight: 800; font-size: 1.5rem; letter-spacing: -1px; }
.logo span { color: var(--primary); }

.desktop-menu { display: flex; list-style: none; gap: 30px; align-items: center; }
.desktop-menu a { text-decoration: none; color: var(--dark); font-weight: 600; font-size: 0.95rem; transition: 0.3s; }
.desktop-menu a:hover { color: var(--primary); }
.btn-wa { background: var(--primary); color: white !important; padding: 10px 25px; border-radius: 50px; }
.btn-wa:hover { background: var(--primary-dark); transform: scale(1.05); }

.mobile-menu-icon { display: none; cursor: pointer; }

/* --- HERO SECTION --- */
.hero { 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    background: radial-gradient(circle at top right, #fffdf5, #ffffff); 
    padding-top: 100px; 
}
.hero-flex { display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1.2; }
.hero-content h1 { font-size: 4rem; line-height: 1.1; font-weight: 800; margin-bottom: 25px; }
.hero-content p { font-size: 1.1rem; color: var(--gray); margin-bottom: 35px; max-width: 500px; }
.text-primary { color: var(--primary); }
.badge { background: #FEF3C7; color: #92400E; padding: 8px 20px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; margin-bottom: 20px; display: inline-block; }

/* --- ANIMASI LOGO MELAYANG --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); } /* Logo naik 20px */
    100% { transform: translateY(0px); }
}

.logo-circle-frame {
    width: 420px; height: 420px; border-radius: 50%; overflow: hidden;
    background: white; box-shadow: 0 40px 80px rgba(0,0,0,0.1); border: 12px solid white;
    display: flex; align-items: center; justify-content: center;
    /* Tambahkan baris di bawah ini */
    animation: float 4s ease-in-out infinite; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efek transisi lebih kenyal */
}

/* Tambahan: Efek saat kursor menyentuh logo */
/* Efek Hover dengan Kuning Lebih Tajam */
.logo-circle-frame:hover {
    transform: scale(1.08) translateY(-10px); /* Membesar dan sedikit naik */
    border-color: #FFD700; /* Warna emas/kuning tajam pada border */
    /* Bayangan kuning menyala (Glow Effect) */
    box-shadow: 0 0 50px rgba(247, 181, 0, 0.6), 
                0 0 100px rgba(247, 181, 0, 0.3);
    filter: brightness(1.1); /* Menaikkan kecerahan gambar logo di dalamnya */
}

/* Penyesuaian untuk tampilan HP agar animasi tidak terlalu besar */
@media (max-width: 992px) {
    .logo-circle-frame {
        width: 300px;
        height: 300px;
        animation: float 5s ease-in-out infinite; /* Lebih lambat di HP agar nyaman */
    }
}

.logo-circle-frame img { width: 100%; height: 100%; object-fit: cover; }
.btn-main { 
    background: var(--dark); color: white; padding: 18px 40px; 
    border-radius: 50px; text-decoration: none; font-weight: 600; 
    transition: 0.3s; display: inline-block; 
}

/* --- MENU SECTION --- */
.menu-section { padding: 120px 0; background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 60px; }
.sub-title { color: var(--primary); font-weight: 700; letter-spacing: 3px; font-size: 0.8rem; display: block; margin-bottom: 10px; }
.section-header h2 { font-size: 2.8rem; font-weight: 800; }

.search-box { 
    max-width: 450px; margin: 30px auto; background: white; 
    padding: 12px 25px; border-radius: 50px; display: flex; 
    align-items: center; gap: 15px; box-shadow: var(--shadow); 
}
.search-box input { border: none; outline: none; width: 100%; font-family: inherit; font-size: 1rem; }

/* --- MENU SECTION REFINED --- */
.menu-grid { 
    display: grid; 
    /* Menggunakan grid-template-columns yang fixed agar ukuran tetap konsisten */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 30px; 
    /* Memastikan grid tidak membuat kolom baru jika tidak diperlukan */
    justify-content: center; 
}
.menu-card { 
    background: white; 
    border-radius: var(--border-radius); 
    display: flex; 
    flex-direction: column; 
    transition: 0.4s; 
    box-shadow: var(--shadow); 
    border: 1px solid rgba(0,0,0,0.03);
    /* Memastikan kartu memiliki lebar maksimal agar tidak melebar saat sendirian */
    width: 100%;
    max-width: 380px; 
    margin: 0 auto;
}
.card-img { height: 240px; border-radius: 20px 20px 0 0; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 15px; left: 15px; background: var(--primary); color: white; padding: 5px 15px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.card-body { padding: 25px; flex-grow: 1; }
.card-footer { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f3f4f6; border-radius: 0 0 24px 24px; }
.price { font-weight: 800; font-size: 1.2rem; }
/* --- BUTTON ORDER REFINED --- */
.btn-order { 
    background: var(--primary); /* Mengubah hitam ke kuning */
    color: var(--dark); /* Mengubah teks putih ke hitam agar kontrasnya pas */
    padding: 10px 22px; 
    border-radius: 12px; 
    text-decoration: none; 
    display: flex; 
    gap: 8px; 
    align-items: center; 
    font-weight: 700; /* Membuat teks sedikit lebih tebal */
    transition: 0.3s;
}

.btn-order:hover { 
    background: var(--primary-dark); /* Warna kuning yang lebih gelap saat kursor di atasnya */
    transform: translateY(-3px); /* Efek melompat sedikit saat dihover */
    box-shadow: 0 5px 15px rgba(247, 181, 0, 0.3);
}

.btn-order i {
    width: 18px;
    height: 18px;
}

/* --- GALLERY --- */
.gallery-section { padding: 100px 0; }
/* --- GALLERY SLIDER CUSTOM --- */
.gallery-wrapper {
    position: relative;
    width: 100%;
    margin-top: 30px;
}

.gallery-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* Memungkinkan swipe di HP */
    scroll-behavior: smooth;
    scrollbar-width: none; /* Hilangkan scrollbar Firefox */
    padding: 10px 0;
    /* Menambahkan fitur Snap */
    scroll-snap-type: x mandatory; 
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .gallery-item {
        /* Gambar hampir memenuhi layar agar fokus satu per satu */
        flex: 0 0 90%; 
        margin: 0 5%;
        scroll-snap-align: center;
    }
    .gallery-slider {
        gap: 0; /* Gap diatur lewat margin agar snap lebih pas */
    }
}
.gallery-slider::-webkit-scrollbar {
    display: none; /* Hilangkan scrollbar Chrome/Safari */
}

.gallery-item {
    flex: 0 0 calc(33.333% - 14px); /* Tampil 3 gambar di Desktop */
    min-width: 300px;
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    /* Mengunci gambar saat berhenti geser */
    scroll-snap-align: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

/* Tombol Navigasi */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    background-color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    color: var(--dark);
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev { left: -25px; }
.slider-btn.next { right: -25px; }

/* Responsive Slider */
@media (max-width: 992px) {
    .gallery-item {
        flex: 0 0 calc(50% - 10px); /* Tampil 2 gambar di Tablet */
    }
    .slider-btn { display: none; } /* Sembunyikan panah di HP, gunakan swipe */
}

@media (max-width: 576px) {
    .gallery-item {
        flex: 0 0 85%; /* Tampil 1 gambar lebih dikit di HP agar terlihat ada slide selanjutnya */
    }
}
.gallery-item { position: relative; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; color: white; opacity: 0; transition: 0.3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* --- ABOUT --- */
.about-section { padding: 100px 0; background: var(--bg-light); text-align: center; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.value-card { padding: 40px; background: white; border-radius: 24px; box-shadow: var(--shadow); }
.value-card i { color: var(--primary); margin-bottom: 20px; }

/* --- CONTACT (Timbul) --- */
/* --- CONTACT (Timbul) --- */
.contact-section { padding: 100px 0; background: var(--light); }

.contact-card { 
    background: var(--light); padding: 50px; border-radius: var(--border-radius); 
    box-shadow: 0 20px 60px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.02);
}

.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }

/* --- MENGUNCI UKURAN IKON KONTAK (HP & DESKTOP) --- */

.info-item {
    display: flex;
    align-items: flex-start; /* Ikon tetap di atas jika teks alamat panjang */
    gap: 16px;
    margin-bottom: 20px;
}

.info-item i {
    /* KUNCI UTAMA: Mencegah penyusutan di layar kecil */
    flex-shrink: 0 !important; 
    
    /* Ukuran permanen */
    width: 24px !important;
    height: 24px !important;
    
    /* Konsistensi warna da n posisi */
    color: #ef4444; /* Sesuaikan dengan warna tema merah Anda */
    display: inline-block;
}

.info-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4b5563; /* Warna teks abu-abu gelap agar nyaman dibaca */
}

/* Penyesuaian untuk Ikon Sosial Media agar seragam */
.social-links a i {
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
}
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { width: 45px; height: 45px; border-radius: 50%; background: #eee; display: flex; align-items: center; justify-content: center; transition: 0.3s; color: var(--dark); }
.social-links a:hover { background: var(--primary); color: white; }

/* --- SIDEBAR --- */
.mobile-sidebar { position: fixed; top: 0; right: -100%; width: 300px; height: 100%; background: white; z-index: 2000; transition: 0.4s; padding: 40px; }
.mobile-sidebar.active { right: 0; }
.sidebar-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1500; display: none; backdrop-filter: blur(4px); }
.sidebar-overlay.active { display: block; }
.sidebar-links { list-style: none; margin-top: 50px; }
.sidebar-links a { text-decoration: none; color: var(--dark); font-size: 1.1rem; display: flex; align-items: center; gap: 15px; margin-bottom: 30px; font-weight: 600; }

/* --- ANIMATIONS --- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: fadeInUp 1s ease forwards; }
.reveal-delay { opacity: 0; animation: fadeInUp 1s ease 0.3s forwards; }

/* --- FOOTER --- */
footer { padding: 50px 0; background: var(--dark); color: #888; text-align: center; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .desktop-menu { display: none; }
    .mobile-menu-icon { display: block; }
    .hero-flex { flex-direction: column; text-align: center; }
    .hero-visual { order: -1; }
    .logo-circle-frame { width: 300px; height: 300px; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-card { padding: 30px; }
    .nav-content { max-width: 100%; }
}

/* --- MODAL STYLES --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none; /* Sembunyi secara default */
    align-items: center;
    justify-content: center;
    z-index: 3000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.modal-content h2 { margin-bottom: 20px; color: var(--dark); }

.modal-body label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.9rem;
}

.modal-body input[type="text"], .modal-body textarea, .modal-body input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-top: 5px;
    font-family: inherit;
}

.quantity-control { display: flex; gap: 10px; align-items: center; margin-top: 5px; }
.quantity-control button {
    width: 40px; height: 40px; border-radius: 8px; border: 1px solid #ddd;
    background: #f9f9f9; cursor: pointer; font-size: 1.2rem;
}

.modal-footer { display: flex; gap: 15px; margin-top: 30px; }
.btn-cancel { flex: 1; padding: 12px; border-radius: 10px; border: none; background: #eee; cursor: pointer; }
/* --- TOMBOL WHATSAPP PREMIUM --- */
.btn-send-wa { 
    flex: 2; 
    padding: 14px; 
    border-radius: 12px; 
    border: none; 
    /* Menggunakan gradasi khas WhatsApp */
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); 
    color: white; 
    font-weight: 700; 
    font-size: 1rem;
    cursor: pointer;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Efek Kilauan (Glow) saat kursor menyentuh tombol */
.btn-send-wa:hover { 
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    filter: brightness(1.1);
}

/* Efek saat tombol diklik */
.btn-send-wa:active {
    transform: translateY(1px);
}

/* Styling Ikon di dalam tombol */
.btn-send-wa i {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
}

/* Gaya Tombol Batal agar tetap seimbang */
.btn-cancel { 
    flex: 1; 
    padding: 14px; 
    border-radius: 12px; 
    border: 1px solid #e5e7eb; 
    background: #f9fafb; 
    color: #6b7280;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #f3f4f6;
    color: #374151;
}

/* --- HOURS SECTION --- */
.hours-section {
    padding: 60px 0;
    background: var(--bg-light); /* Menyamakan dengan background About */
    text-align: center;
}

.hours-card {
    background: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.02);
}

.hours-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.hours-header i {
    width: 40px;
    height: 40px;
}

.hours-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    border-top: 2px dashed #f3f4f6;
    padding-top: 30px;
}

.day-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.day {
    font-weight: 700;
    color: var(--gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.time {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

.time.highlight {
    color: #ef4444; /* Warna merah lembut untuk penanda khusus hari Jumat */
}

.hours-note {
    margin-top: 30px;
    font-size: 0.85rem;
    /* Ubah dari var(--gray) menjadi kode warna merah */
    color: #ef4444; 
    font-style: italic;
    font-weight: 500; /* Sedikit lebih tebal agar mudah dibaca */
}

/* Penyesuaian Mobile */
@media (max-width: 768px) {
    .hours-card {
        padding: 30px 20px;
    }
    .hours-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}