:root {
    --primary: #064E3B; 
    --gold: #D4AF37;
    --white: #FFFFFF;
    --text-dark: #1E293B;
}

@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');

/* RESET & BASE */
* {
    box-sizing: border-box;
}
html, body {
    width: 100%;
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #222;
    line-height: 1.6;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background: #fdfdfd;
}
img {
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
}

.text-center {
    text-align: center;
}

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

/* NAVBAR */
/* --- UPDATE NAVBAR --- */
.navbar {
    position: fixed; /* Membuat navbar mengikuti scroll */
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: transparent; /* Transparan saat di paling atas */
    transition: all 0.4s ease-in-out; /* Efek transisi halus */
}

/* Class ini akan aktif otomatis lewat JavaScript saat di-scroll */
.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;
}
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }
}

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

/* Warna teks awal (Putih) */
.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;
}

/* Warna teks saat di-scroll (Gelap seperti Hari Raya) */
.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

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

/* Warna icon pencarian/menu saat di-scroll */
.navbar.scrolled .nav-icon svg {
    stroke: var(--primary);
}
/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://restoranmarhabayogyakarta.wordpress.com/wp-content/uploads/2026/02/background-1.jpg?w=1024') center/cover no-repeat;
 min-height: 100svh;
    height: auto;
    padding: 120px 20px 80px;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(3rem, 12vw, 7.5rem);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 50px;
    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: 4px;
    font-size: 0.85rem;
    gap: 20px;
    font-weight: 600;
}

.arrow {
    background: white;
    color: #000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: 0.4s;
}

.btn-book:hover .arrow {
    transform: translateX(10px) rotate(-45deg);
    background: #B42128;
    color: white;
}

.hero-bottom-info {
    position: absolute;
    bottom: 50px;
    left: 50px;
    text-align: left;
    border-left: 1px solid rgba(255,255,255,0.4);
    padding-left: 20px;
}
.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);
    }

}
.info-item p { margin: 0; font-size: 0.7rem; text-transform: uppercase; opacity: 0.8; }

/* ABOUT SECTION STYLES */
.about {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text {
    flex: 0 0 55%;
}
@media (max-width: 768px) {
    .about {
        grid-template-columns: 1fr;
    }
}
.about-image {
    flex: 0 0 45%;
}
.about-image img { width: 100%; border-radius: 10px; }

.subtitle {
    color: #B42128;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.about-title {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 25px;
    color: #111;
}

.about-story p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.value-number {
    font-family: 'Bodoni Moda', serif;
    color: #B42128;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1;
}

.value-content strong {
    display: block;
    font-size: 1rem;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.value-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* --- PROMO RAMADHAN SECTION --- */
.promo-ramadhan {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                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;
    margin: 60px 0;
}
@media (max-width: 768px) {
    .promo-ramadhan {
        background-attachment: scroll;
    }
}
.subtitle-light {
    color: #fff;
    opacity: 0.8;
    letter-spacing: 5px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    display: block;
}

.promo-title {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 400;
}

.promo-description {
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.promo-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.btn-promo {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.4s;
}

.btn-promo:hover {
    background: white;
    color: #000;
}

/* --- MENU SECTION --- */
.menu-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 200px;
}

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

.menu-image { flex: 0 0 55%; }
.menu-card  { flex: 0 0 45%; }
.menu-image img {
    width: 100%;
    display: block;
    border: 12px solid #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.menu-card {
    flex: 0 0 45%;
    background: #fff;
    padding: 60px 50px;
    z-index: 2;
    margin-left: -10%;
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    border: 1px solid #f0f0f0;
}

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

.menu-card h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 32px;
    margin-bottom: 5px;
    color: #111;
}

.divider { color: #ccc; margin-bottom: 25px; letter-spacing: 3px; }

.price {
    font-size: 24px;
    font-weight: bold;
    color: #B42128;
    margin-bottom: 20px;
}

.menu-card p { color: #555; font-size: 15px; line-height: 1.8; }

.more-link {
    display: inline-block;
    margin-top: 20px;
    color: #B42128;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* BONUS & FOOTER */
.bonus { background: #B42128; color: white; text-align: center; }

.footer { background: #0a0a0a; color: white; padding: 100px 0; }
.cta-buttons { margin-top: 40px; display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.cta-buttons a { background: #B42128; color: white; padding: 14px 28px; text-decoration: none; border-radius: 4px; font-size: 0.9rem; }
.small { margin-top: 50px; font-size: 13px; opacity: 0.5; letter-spacing: 1px; }

/* RESPONSIVE */
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .menu-image { flex: 0 0 70%; }
    .menu-card { flex: 0 0 55%; padding: 40px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-bottom-info { display: none; }
    .menu-item, .menu-item.reverse { flex-direction: column; margin-bottom: 120px; }
    .menu-image, .menu-card { flex: 0 0 100%; width: 100%; }
    .menu-card { margin: -60px auto 0 auto !important; width: 92%; padding: 40px 30px; }
    .promo-ramadhan { padding: 80px 0; }
}

/* 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;
}