/* CSS Reset & Variables */
:root {
    --primary: #B42128; /* Hijau Emerald */
    --gold: #D4AF37;
    --white: #FFFFFF;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
}

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;1,6..96,700&family=Montserrat:wght@300;400;600&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}
html, body {
    width: 100%;
    overflow-x: hidden;
}
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
}
.menu-toggle {
    display: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}
@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        display: none;
        padding: 20px 0;
    }

    .nav-links a {
        color: #111;
        padding: 15px 20px;
        display: block;
    }

    .nav-links.active {
        display: flex;
    }
}
@media (max-width: 768px) {
    .navbar {
        background: var(--primary);
    }
}
@media (max-width: 768px) {

    .menu-toggle {
        color: var(--primary); /* atau #111 */
    }

    .nav-icon svg {
        stroke: var(--primary);
    }

}
.navbar.scrolled .menu-toggle {
    color: var(--primary);
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}
.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 100px;
    font-family: 'Bodoni Moda', serif;
}
.text-center {
    text-align: center;
}

/* NAVBAR (Sama dengan Index) */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: transparent;
    transition: all 0.4s ease-in-out;
}

.navbar.scrolled {
    background-color: var(--white);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo img {
    height: 45px;
    width: auto;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--gold) !important;
}

.navbar.scrolled .nav-icon svg {
    stroke: var(--primary);
}

/* HERO SECTION (Gaya Index) */
.hero {
   background: url('images/hariraya/banner.jpeg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
/* Overlay merah */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #b4212870; /* merah maroon elegan */
    z-index: 1;
}

/* Pastikan teks di atas overlay */
.hero > * {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.btn-book {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 600;
    gap: 15px;
    font-size: 0.9rem;
}

.arrow {
    background: var(--white);
    color: #000;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.4s;
}

.btn-book:hover .arrow {
    transform: translateX(10px) rotate(-45deg);
    background: var(--gold);
    color: white;
}
/* --- TIPS SEHAT STYLING --- */
.tips-section {
    background-color: #fdfdfd; /* Background sangat terang */
    position: relative;
}

.tips-main-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.tips-intro {
    max-width: 600px;
    margin: 0 auto 60px;
    color: var(--text-light);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tip-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #eee;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 4px solid transparent; /* Garis aksen saat hover */
}

.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-top-color: var(--gold);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: #fdf6e3; /* Kuning emas sangat muda */
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.tip-content h4 {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.tip-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .tips-main-title { font-size: 2.2rem; }
    .tips-grid { grid-template-columns: 1fr; }
}

/* PROMO RAMADHAN SECTION */
.promo-ramadhan {
    background: linear-gradient(rgba(6, 78, 59, 0.85), rgba(6, 78, 59, 0.85)), 
                url('https://restoranmarhabayogyakarta.wordpress.com/wp-content/uploads/2026/02/background-1.jpg?w=1024') center/cover no-repeat fixed;
    padding: 120px 0;
    color: white;
}

.subtitle-light {
    letter-spacing: 5px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    display: block;
    color: var(--gold);
}

.promo-title {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 30px;
}

.btn-promo {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: 0.4s;
}

.btn-promo:hover {
    background: var(--white);
    color: var(--primary);
}
/* --- ABOUT MODERN STYLING --- */
.about-modern {
    overflow: hidden;
    padding: 120px 0;
    background: #fff;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image-side {
    flex: 1;
    position: relative;
    padding-left: 20px;
}

.image-border-gold {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    top: 30px;
    left: -20px;
    z-index: 1;
}

.main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    display: block;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.15);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 25px;
    z-index: 3;
    text-align: center;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.2);
}

.experience-badge .number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
}

.about-text-side { flex: 1.2; }

.subtitle-gold {
    color: var(--gold);
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 15px;
}

.about-title-large {
    font-family: 'Bodoni Moda', serif;
    font-size: 3rem;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 30px;
}

.about-title-large span {
    font-style: italic;
    color: var(--text-dark);
    font-weight: 400;
}

.about-description p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
}

.quote {
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    font-size: 1.3rem !important;
    border-left: 4px solid var(--gold);
    padding-left: 20px;
    color: var(--primary) !important;
}

.values-flex {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.value-card {
    flex: 1;
    padding: 20px;
    background: #f9f9f9;
    border-bottom: 4px solid transparent;
    transition: 0.3s;
}

.value-card:hover {
    background: #fff;
    border-bottom-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.v-num {
    display: block;
    color: var(--gold);
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.value-card h5 {
    color: var(--primary);
    margin: 0;
    font-size: 1rem;
}

/* --- PROMO MODERN (GLASSMORPHISM) --- */

.promo-modern {
    background: url('https://restoranmarhabayogyakarta.wordpress.com/wp-content/uploads/2026/02/background-1.jpg?w=1024') center/cover no-repeat fixed;
    padding: 150px 0;
     overflow: hidden;
}

.promo-bg-overlay {
    background: rgba(78, 6, 10, 0.7);
    padding: 100px 0;
}

.promo-content-card {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.subtitle-white {
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.promo-title-bold {
    font-family: 'Bodoni Moda', serif;
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.btn-gold-filled {
    display: inline-block;
    background: var(--gold);
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.4s;
    border: 2px solid var(--gold);
}

.btn-gold-filled:hover {
    background: transparent;
    color: var(--gold);
}

/* Responsive */
@media (max-width: 992px) {
    .about-wrapper { flex-direction: column; }
    .image-border-gold { display: none; }
    .experience-badge { right: 0; bottom: 0; }
    .about-title-large { font-size: 2.2rem; }
    .promo-title-bold { font-size: 2.5rem; }
}
/* MENU SECTION (Gaya Overlapping Index) */
.bg-light { background-color: var(--bg-light); }

.menu-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 120px;
}

.menu-item.reverse { flex-direction: row-reverse; }

.menu-image { flex: 0 0 60%; }
.menu-image img {
    width: 100%;
    border: 10px solid #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.menu-card {
    flex: 0 0 45%;
    background: #fff;
    padding: 50px;
    z-index: 2;
    margin-left: -10%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.menu-item.reverse .menu-card { margin-left: 0; margin-right: -10%; }

.menu-card h2 {
    font-family: 'Bodoni Moda', serif;
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 10px;
}

.divider { color: #ddd; margin-bottom: 20px; letter-spacing: 3px; }

/* BONUS & FOOTER */
.bonus { background: var(--primary); color: white; text-align: center; }
.footer { background: #0a0a0a; color: white; padding: 80px 0; }

.cta-buttons { display: flex; gap: 15px; justify-content: center; margin-top: 30px; }
.cta-buttons a { 
    border: 1px solid rgba(255,255,255,0.3); 
    color: white; 
    padding: 12px 25px; 
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}
.cta-buttons a:hover { background: var(--gold); border-color: var(--gold); }

@media (max-width: 768px) {
    .menu-item, .menu-item.reverse { flex-direction: column; }
    .menu-card { margin: -50px auto 0 !important; width: 90%; padding: 30px; }
    .nav-links { display: none; }
}
/* ================================= */
/* REAL MOBILE FIX – HARD OVERRIDE   */
/* ================================= */

@media (max-width: 768px) {

    /* HERO FIX */
    .hero {
        height: auto;
        min-height: 100svh; /* lebih stabil dari 100vh */
        padding: 120px 20px 80px;
        position: relative;
    }
.hero {
    position: relative;
}
    /* FIX PARALLAX GLITCH */
    .promo-ramadhan,
    .promo-modern {
        background-attachment: scroll;
    }

    /* NAVBAR SPACING */
    .navbar {
        padding: 15px 0;
    }

    .nav-container {
        padding: 0 20px;
    }

    /* ABOUT SECTION */
    .about-modern {
        padding: 80px 0;
    }

    .about-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .main-img {
        height: 280px;
    }

    .experience-badge {
        bottom: 10px;
        right: 10px;
        padding: 15px;
    }

    /* VALUES STACK */
    .values-flex {
        flex-direction: column;
    }

    .value-card {
        width: 100%;
    }

    /* MENU FIX (INI YANG PENTING) */
    .menu-item,
    .menu-item.reverse {
        flex-direction: column;
        margin-bottom: 80px;
    }

    .menu-image {
        flex: 1 1 100%;
    }

    .menu-card {
        flex: unset;
        width: 92%;
        margin: -40px auto 0 !important;
        padding: 25px;
    }

    /* TYPO SCALE */
    .about-title-large {
        font-size: 2rem;
    }

    .promo-title-bold {
        font-size: 2rem;
    }

    .menu-card h2 {
        font-size: 1.5rem;
    }

    .price {
        font-size: 1.2rem;
    }

    /* CTA STACK */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons a {
        width: 85%;
        text-align: center;
    }

    /* SECTION SPACING */
    .section {
        padding: 60px 0;
    }
}


/* EXTRA SMALL PHONE */
@media (max-width: 480px) {

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .tips-main-title {
        font-size: 1.8rem;
    }

    .promo-title {
        font-size: 1.8rem;
    }

    .promo-title-bold {
        font-size: 1.7rem;
    }

    .menu-card {
        width: 95%;
        padding: 20px;
    }
}
/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 180px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-radius: 6px;
  overflow: hidden;
  top: 100%;
  left: 0;
  z-index: 999;
}

.dropdown-content a {
  display: block;
  padding: 12px 16px;
  color: #222;
  text-decoration: none;
  font-size: 14px;
}

.dropdown-content a:hover {
  background-color: #f5f5f5;
}

/* Show on hover (desktop) */
.dropdown:hover .dropdown-content {
  display: block;
}