/* Variabel Warna Utama (terinspirasi dari brand Geprek Bensu) */
:root {
    --primary-color: #d9232d; /* Merah Khas Bensu */
    --secondary-color: #ffc107; /* Kuning untuk Aksen */
    --dark-color: #222222;    /* Hitam/Gelap untuk Teks & Latar */
    --light-color: #f8f9fa;   /* Putih Gading untuk Latar */
    --white-color: #ffffff;
}

/* Reset & Pengaturan Dasar Body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--dark-color);
}

/* --- STRUKTUR UTAMA --- */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-weight: 600;
}

/* --- HEADER & MENU NAVIGASI --- */
.main-header {
    background-color: var(--white-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* --- STYLE BARU UNTUK LOGO GAMBAR + TEKS --- */
.main-nav .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem; /* Ukuran font di-adjust */
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav .logo img {
    height: 40px; /* Atur tinggi gambar logo */
    margin-right: 10px; /* Jarak antara gambar dan teks */
    transform: scale(1.7);
    margin-right: 15px;
}

.main-nav .logo-text span {
    color: var(--secondary-color);
}
/* --- AKHIR STYLE BARU LOGO --- */

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav ul li a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--white-color);
    background-color: var(--primary-color);
}

/* --- BANNER SECTION --- */
.banner-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/img/banner.jpg') no-repeat center center/cover;
    height: 50vh;
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
}

.banner-section h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.banner-section p {
    font-size: 1.2rem;
    font-weight: 400;
}

/* --- PAGE LINKS SECTION --- */
.page-links-section {
    padding: 4rem 2rem;
    background-color: var(--light-color);
}

.page-links-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.link-cards-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.link-card {
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 300px;
    text-align: center;
    padding: 2rem;
    text-decoration: none;
    color: var(--dark-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.link-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.link-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* --- STYLE BARU: KEUNGGULAN KAMI SECTION --- */
.keunggulan-section {
    padding: 4rem 2rem;
    background-color: var(--white-color);
}

.keunggulan-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.features-container {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    text-align: center;
    max-width: 280px;
}

.feature-item .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}
/* --- AKHIR STYLE BARU KEUNGGULAN --- */


/* --- STYLE BARU: ULASAN PELANGGAN SECTION --- */
.testimoni-section {
    padding: 4rem 2rem;
    background-color: var(--light-color);
}

.testimoni-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.testimonials-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.testimonial-card {
    background-color: var(--white-color);
    border-left: 5px solid var(--primary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    max-width: 450px;
}

.testimonial-card blockquote {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.testimonial-card cite {
    font-weight: 600;
    font-style: normal;
    color: var(--dark-color);
}
/* --- AKHIR STYLE BARU ULASAN --- */


/* --- TENTANG KAMI SECTION --- */
.about-section {
    padding: 4rem 2rem;
    background-color: var(--white-color);
}

.about-section .container {
    max-width: 800px;
    text-align: center;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* --- FOOTER SECTION --- */
.main-footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem 0;
}

/* ========================================= */
/* === STYLE TAMBAHAN UNTUK HALAMAN MENU  === */
/* ========================================= */

.menu-hero-section {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 70px; /* Space untuk fixed header */
}

.menu-hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.menu-content-section {
    padding: 4rem 2rem;
}

.menu-filters {
    text-align: center;
    margin-bottom: 3rem;
}

.filter-btn {
    background: var(--white-color);
    color: var(--dark-color);
    border: 2px solid #ddd;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-card {
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-card .card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.menu-card p {
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.menu-card .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .main-nav {
        height: auto;
        padding: 15px 0;
    }

    .main-nav .logo {
        /* Logo akan berada di tengah pada layar kecil */
        width: 100%;
        justify-content: center;
        margin-bottom: 15px;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .main-nav ul li {
        margin: 5px 0;
    }

    .banner-section {
        margin-top: 155px; /* Sesuaikan dengan tinggi nav baru */
        height: 40vh;
    }

    .banner-section h1 {
        font-size: 2rem;
    }

    .banner-section p {
        font-size: 1rem;
    }

    .link-cards-container {
        flex-direction: column;
        align-items: center;
    }

    .features-container, .testimonials-container {
        flex-direction: column;
        align-items: center;
    }
}

/* --- HERO SECTION HALAMAN PROMO --- */
.promo-hero-section {
    background-color: var(--primary-color);
    background-image: linear-gradient(45deg, var(--primary-color) 0%, #a71b23 100%);
    color: var(--white-color);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 70px; /* Space untuk fixed header */
}

.promo-hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* --- KONTEN UTAMA PROMO --- */
.promo-content-section {
    padding: 4rem 2rem;
}

.promo-card {
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    position: relative; /* Penting untuk badge */
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.promo-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.promo-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.promo-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.promo-card p {
    color: #555;
    margin-bottom: 1rem;
    flex-grow: 1; /* Mendorong tombol ke bawah */
}

.promo-terms {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 1rem;
}

/* Tombol Aksi yang menonjol */
.cta-btn {
    display: block;
    width: 100%;
    background-color: #007BFF; /* Biru cerah yang kontras */
    color: var(--white-color);
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto; /* Mendorong tombol ke paling bawah */
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #0056b3; /* Warna biru lebih gelap saat hover */
}

/* --- STYLE UNTUK PROMO UTAMA (HERO PROMO) --- */
.hero-promo {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.hero-promo img {
    width: 50%;
    height: 100%;
}

.hero-promo .card-body {
    width: 50%;
}

.hero-promo h3 {
    font-size: 2rem;
}

/* Badge spesial untuk promo */
.promo-badge {
    position: absolute;
    top: 20px;
    left: -45px;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 8px 50px;
    font-weight: 700;
    font-size: 1rem;
    transform: rotate(-45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- GRID UNTUK PROMO LAINNYA --- */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.promo-grid .promo-card {
    display: flex;
    flex-direction: column;
}

.promo-grid .promo-card img {
    height: 200px;
}

/* --- RESPONSIF --- */
@media (max-width: 768px) {
    .promo-hero-section h1 {
        font-size: 2rem;
    }

    .hero-promo, .promo-grid .promo-card {
        flex-direction: column;
    }

    .hero-promo img, .hero-promo .card-body {
        width: 100%;
    }
}

/* --- HERO SECTION HALAMAN KONTAK --- */
.contact-hero-section {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 70px; /* Space untuk fixed header */
}

.contact-hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* --- KONTEN UTAMA KONTAK --- */
.contact-main-section {
    padding: 4rem 2rem;
    background-color: var(--light-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Kolom info lebih kecil dari kolom form */
    gap: 3rem;
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.contact-info h2, .contact-form h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info .subtitle {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.info-item .icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.opening-hours {
    list-style: none;
    padding: 0;
}

.opening-hours li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #eee;
}

.opening-hours li span {
    font-weight: 600;
}

/* --- FORMULIR KONTAK --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.cta-btn {
    display: inline-block;
    width: 100%;
    background-color: #007BFF; /* Biru cerah yang kontras */
    color: var(--white-color);
    text-align: center;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #0056b3; /* Warna biru lebih gelap saat hover */
}

/* --- SEKSI PETA --- */
.map-section {
    padding: 0 0 4rem 0;
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.map-container iframe {
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}


/* --- RESPONSIF --- */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr; /* Stack kolom di layar tablet dan mobile */
    }
}

@media (max-width: 768px) {
    .contact-hero-section h1 {
        font-size: 2rem;
    }
}