/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  line-height: 1.7;
  background: #f8fafc;
  color: #1f2937;
}

/* GLOBAL */
section {
  padding: 80px 20px;
}

h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* LOGO */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
}

.logo-container img {
  height: 50px;
}

/* MENU */
.navbar ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.navbar ul li a {
  text-decoration: none;
  color: #111827;
  font-size: 17px;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

.navbar ul li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #facc15;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

.navbar ul li a:hover::after {
  width: 100%;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  height: 100vh;
  background: url('../img/hero.jpg') no-repeat center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h2 {
  font-size: 48px;
  font-weight: 600;
}

.hero-content p {
  margin-top: 10px;
  font-size: 16px;
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: #facc15;
  color: #111;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(250,204,21,0.4);
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
}

/* ================= MENU ================= */
.menu {
  text-align: center;
}

.menu h2 {
  margin-bottom: 30px;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* CARD MENU */
.menu-item {
  position: relative;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.menu-item:hover {
  transform: translateY(-8px) scale(1.02);
}

/* OVERLAY */
.menu-item::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
  top: 0;
  left: 0;
}

/* TEXT */
.menu-item h3,
.menu-item p,
.menu-item span {
  position: relative;
  z-index: 1;
}

.menu-item h3 {
  font-size: 18px;
}

.menu-item p {
  font-size: 13px;
  opacity: 0.9;
}

.menu-item span {
  font-size: 18px;
  color: #fde047;
  font-weight: bold;
}

/* BACKGROUND IMAGE */
.dimsum {
  background: url('../img/dimsum.jpg') center/cover;
}

.thai {
  background: url('../img/thai.jpg') center/cover;
}

.coklat {
  background: url('../img/coklat.jpg') center/cover;
}

/* ================= ABOUT ================= */
.about {
  background: #ffffff;
  max-width: 700px;
  margin: auto;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  text-align: center;
}

/* ================= CONTACT ================= */
.contact {
  text-align: center;
}

/* ================= FOOTER ================= */
footer {
  background: #111827;
  color: #9ca3af;
  text-align: center;
  padding: 30px;
  font-size: 14px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .navbar ul {
    position: absolute;
    top: 65px;
    right: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
  }

  .navbar ul.active {
    display: flex;
  }

  .navbar ul li {
    margin: 12px 0;
  }

  .hero-content h2 {
    font-size: 28px;
  }

}