/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: #2D3748;
    background-color: #F7FAFC;
}

body {
    background-color: #F7FAFC;
    line-height: 1.6;
}

em {
    font-style: italic;
    color: #319795;
    /* Warna hijau segar khas Es Teh Hijau */
}

/* ==========================================================================
   2. NAVIGATION (NAVBAR)
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    background: #1A202C;
    /* Warna gelap agar logo putih transparan terlihat kontras */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 50px;
    /* Ukuran tinggi logo agar proporsional di navbar */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #E2E8F0;
    /* Teks menu berwarna terang */
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #319795;
    /* Berubah hijau saat disorot */
}

.btn-nav {
    background: #319795;
    color: #FFFFFF !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.btn-nav:hover {
    background: #287E7C;
}

/* ==========================================================================
   3. BUTTONS (TOMBOL)
   ========================================================================== */
.btn-primary,
.btn-secondary,
.btn-whatsapp {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
    background: #319795;
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #287E7C;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #E2E8F0;
    color: #4A5568;
    margin-left: 10px;
}

.btn-secondary:hover {
    background: #CBD5E0;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: #FFFFFF;
    text-align: center;
    width: 100%;
    margin-top: 15px;
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
}

/* Mengganti gaya placeholder lama menjadi gaya gambar responsif */
.banner-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    object-fit: cover;
    display: block;
}


/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.tagline {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #718096;
    display: block;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1A202C;
}

.hero p {
    font-size: 1.15rem;
    color: #4A5568;
    margin-bottom: 30px;
    line-height: 1.6;
}

.placeholder-img {
    background: #E2E8F0;
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-weight: 600;
    border: 2px dashed #CBD5E0;
}

/* ==========================================================================
   5. TEXT TICKER ROW (Teks Berjalan Statis)
   ========================================================================== */
.ticker-wrap {
    background: #319795;
    color: #FFFFFF;
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 1px;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ==========================================================================
   6. MENU SECTION
   ========================================================================== */
.menu-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-number {
    font-size: 0.8rem;
    font-weight: 700;
    color: #A0AEC0;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin: 10px 0 15px;
    color: #1A202C;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.menu-card {
    background: #FFFFFF;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid #E2E8F0;
}

.card-img-holder {
    background: #EDF2F7;
    height: 250px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #4A5568;
    border: 1px dashed #CBD5E0;
}

.card-img-holder.highlight {
    background: #E6FFFA;
    color: #234E52;
    border: 1px dashed #319795;
}

.menu-card h3 {
    margin-bottom: 10px;
    color: #1A202C;
}

.menu-card p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
}

/*
new
*/
/* Kontainer gambar disesuaikan agar fleksibel mengikuti tinggi asli gambar */
.card-img-container {
    width: 100%;
    height: auto; /* Mengubah tinggi dari 250px menjadi auto agar tidak terpotong */
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    background: #EDF2F7;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mengatur gambar agar menyesuaikan lebar kartu tanpa merusak proporsi tinggi asli */
.menu-img {
    width: 100%;
    height: auto; /* Memastikan seluruh tinggi gambar tampil utuh dari atas ke bawah */
    object-fit: contain; /* Menjaga seluruh elemen visual tetap berada di dalam area */
    display: block;
    transition: transform 0.3s ease;
}

/* Efek interaksi saat kartu menu disorot */
.menu-card:hover .menu-img {
    transform: scale(1.03);
}



/* ==========================================================================
   7. CREAMY BANNER
   ========================================================================== */
.creamy-banner {
    background: #FFFAF0;
    /* Warna dasar lembut creamy */
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    align-items: center;
    margin-top: 40px;
    border: 1px solid #FEEBC8;
}

.creamy-text {
    padding: 60px;
}

.creamy-text h3 {
    font-size: 2rem;
    margin: 10px 0 20px;
    color: #1A202C;
}

.creamy-text p {
    margin-bottom: 30px;
    color: #4A5568;
}

/* ==========================================================================
   8. ORDER ONLINE & APPS BADGE
   ========================================================================== */
.order-online {
    text-align: center;
    background: #EDF2F7;
    padding: 60px 20px;
}

.order-online h3 {
    letter-spacing: 2px;
    font-size: 1rem;
    color: #4A5568;
    margin-bottom: 15px;
}

.apps-badge {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.badge {
    background: #FFFFFF;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    color: #2D3748;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
}

/* Menghilangkan dekorasi bawaan link dan membuat badge GoFood, ShopeeFood, GrabFood bisa di-klik dengan rapi */
.badge-link {
    background: #FFFFFF;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    color: #2D3748;
    text-decoration: none; /* Menghapus garis bawah */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
    transition: all 0.2s ease;
    display: inline-block;
}

.badge-link:hover {
    background: #319795; /* Berubah menjadi hijau khas teh saat disentuh mouse */
    color: #FFFFFF;
    transform: translateY(-2px);
}


/* ==========================================================================
   9. ABOUT SECTION & ACTION BOX
   ========================================================================== */
.about-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1A202C;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4A5568;
}

.action-box {
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.action-box h3 {
    font-size: 1.5rem;
    margin: 10px 0 15px;
    color: #1A202C;
}

/* ==========================================================================
   10. MAPS SECTION (LOKASI)
   ========================================================================== */
.maps-section {
    background: #E6FFFA;
    padding: 80px 20px;
    text-align: center;
}

.maps-content {
    max-width: 600px;
    margin: 0 auto;
}

.maps-content h2 {
    font-size: 2.2rem;
    margin: 10px 0 20px;
    color: #1A202C;
}

.maps-content p {
    margin-bottom: 30px;
    color: #234E52;
}

/* ==========================================================================
   11. FAQ SECTION
   ========================================================================== */
.faq-section {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 20px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1A202C;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E2E8F0;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #2D3748;
}

.faq-item p {
    color: #718096;
    line-height: 1.6;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.footer {
    background: #1A202C;
    color: #A0AEC0;
    padding: 40px 20px;
    border-top: 1px solid #2D3748;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand strong {
    color: #FFFFFF;
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.back-to-top {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.back-to-top:hover {
    color: #319795;
}

/* Gaya tampilan untuk teks copyright di footer */
.copyright {
    font-size: 0.8rem;
    color: #718096; /* Warna abu-abu halus agar terlihat profesional */
    margin-top: 10px;
    letter-spacing: 0.5px;
}


/* ==========================================================================
   13. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .creamy-banner {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Menyembunyikan menu link desktop pada tampilan mobile demi kesederhanaan landing page */
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .creamy-text {
        padding: 30px;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}