* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #fffaf5;
  color: #2b2b2b;
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title span {
  display: inline-block;
  color: #c97a40;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 2.3rem;
  color: #7a3e1d;
}

/* Header */
.header {
  background: #7a3e1d;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.nav-wrapper {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.navbar {
  display: flex;
  gap: 24px;
}

.navbar a {
  color: #ffffff;
  font-weight: 600;
  transition: 0.3s ease;
}

.navbar a:hover {
  color: #f4e1c1;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.9rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url("images/02.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(32, 18, 10, 0.58);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 700px;
  color: #ffffff;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.hero-text h1 {
  font-size: 3.6rem;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-text p {
  font-size: 1.08rem;
  max-width: 620px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  transition: 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #c97a40;
  color: #ffffff;
}

.btn-primary:hover {
  background: #ae6430;
}

.btn-secondary {
  background: #ffffff;
  color: #7a3e1d;
}

.btn-secondary:hover {
  background: #f4e1c1;
}

.btn-danger {
  background: #a94442;
  color: #ffffff;
}

.btn-danger:hover {
  background: #8d3735;
}

.full-width {
  width: 100%;
}

/* About */
.about {
  background: #fff7ef;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-cards {
  display: grid;
  gap: 18px;
}

.info-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.info-card h3 {
  color: #7a3e1d;
  margin-bottom: 10px;
}

/* Menu */
.menu {
  background: #ffffff;
}

.menu-category + .menu-category {
  margin-top: 48px;
}

.category-heading {
  font-size: 1.5rem;
  color: #7a3e1d;
  margin-bottom: 20px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.menu-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.menu-card img {
  height: 230px;
  object-fit: cover;
}

.menu-card-content {
  padding: 20px;
}

.menu-card-content h4 {
  font-size: 1.2rem;
  color: #7a3e1d;
  margin-bottom: 8px;
}

.menu-card-content p {
  color: #555555;
  margin-bottom: 18px;
  min-height: 52px;
}

.menu-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #c97a40;
}

.add-btn {
  background: #25d366;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  transition: 0.3s ease;
  border: none;
  cursor: pointer;
}

.add-btn:hover {
  background: #1fab53;
}

/* Nasi Kukus slider */
.slider-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.menu-slider {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  min-width: 0;
  padding-bottom: 8px;
}

.menu-slider::-webkit-scrollbar {
  display: none;
}

.menu-slider .menu-card {
  min-width: calc((100% - 48px) / 3);
  flex: 0 0 calc((100% - 48px) / 3);
}

.side-arrow {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: #7a3e1d;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition: 0.3s ease;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-arrow:hover {
  background: #f4e1c1;
}

/* Cart */
.cart-section {
  background: #fff7ef;
}

.cart-box {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}

.cart-items,
.cart-summary {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.empty-cart {
  text-align: center;
  color: #777777;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #eeeeee;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item h4 {
  color: #7a3e1d;
  margin-bottom: 6px;
}

.cart-item p {
  color: #666666;
  font-size: 0.95rem;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: #7a3e1d;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}

.qty-value {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
}

.remove-btn {
  background: transparent;
  color: #a94442;
  border: none;
  cursor: pointer;
  font-weight: 700;
  margin-left: 10px;
}

.cart-summary h3 {
  color: #7a3e1d;
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #444444;
}

.total-row {
  font-size: 1.1rem;
  font-weight: 700;
  color: #7a3e1d;
  margin-bottom: 20px;
}

.cart-summary input,
.cart-summary select,
.cart-summary textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #dddddd;
  border-radius: 10px;
  outline: none;
}

.cart-summary textarea {
  min-height: 100px;
  resize: vertical;
}

.contact {
  background: #ffffff;
}

.branch-contact {
  margin-bottom: 50px;
}

.branch-contact:last-child {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}

.contact-card {
  background: #fff7ef;
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card h3 {
  color: #7a3e1d;
  margin-bottom: 10px;
}

.map-box {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Footer */
.footer {
  width: 100%;
  background: #7a3e1d;
  color: #ffffff;
  padding: 24px 20px;
}

.footer-content {
  text-align: center;
}

/* Floating Cart */
.floating-cart {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-cart:hover {
  background: #1fab53;
  transform: translateY(-2px);
}

.cart-icon {
  font-size: 1.1rem;
}

.cart-badge {
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  color: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0 6px;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%) translateY(20px);
  background: #2b2b2b;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 1100;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 2.8rem;
  }

  .about-grid,
  .cart-box {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .menu-slider .menu-card {
    min-width: calc((100% - 24px) / 2);
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 80px;
    right: 5%;
    width: 220px;
    background: #7a3e1d;
    border-radius: 14px;
    padding: 16px;
    display: none;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  }

  .navbar.active {
    display: flex;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .section {
    padding: 75px 0;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-card-content p {
    min-height: auto;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .floating-cart {
    right: 16px;
    bottom: 16px;
    padding: 12px 16px;
  }

  .toast {
    width: calc(100% - 32px);
    text-align: center;
  }

  .slider-row {
    gap: 10px;
  }

  .side-arrow {
    width: 42px;
    height: 42px;
    font-size: 26px;
    flex: 0 0 42px;
  }

  .menu-slider .menu-card {
    min-width: 100%;
    flex: 0 0 100%;
  }
}
