/* ======================================================
   ROOT
====================================================== */

:root {
  --primary: #ecc49c;
  --bg: #fab347;
  --accent: #f37d0f;
  --accent-2: #e47f2d;
  --card: #f89442;
  --text: #ffffff;
}

/* ======================================================
   RESET
====================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

/* ======================================================
   CONTAINER
====================================================== */

.container {
  width: min(1100px, 92%);
  margin: auto;
}

/* ======================================================
   BUTTON
====================================================== */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
}

.btn-primary {
  background: #25d366;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ======================================================
   SECTION
====================================================== */

section {
  scroll-margin-top: 90px;
}

.section-title {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 3rem;
}

/* ======================================================
   NAVBAR
====================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 1rem 7%;

  background: var(--accent);

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);

  z-index: 9999;
}

.navbar-logo {
  color: white;
  font-size: 1.8rem;
  font-weight: 800;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.navbar-nav a {
  color: white;
  font-weight: 600;
  position: relative;
}

.navbar-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -5px;

  width: 0;
  height: 2px;

  background: white;

  transition: 0.3s;
}

.navbar-nav a:hover::after {
  width: 100%;
}

.navbar-nav a:hover {
  color: var(--primary);
}

/* ======================================================
   HERO
====================================================== */

.hero {
  min-height: 100vh;

  display: flex;
  align-items: center;

  background: url("../img/risol.png");

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  position: relative;
}

.hero::before {
  content: "";

  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.35);
}

.hero-inner {
  position: relative;

  z-index: 2;

  padding-top: 6rem;

  padding-bottom: 4rem;
}

.hero-copy {
  max-width: 700px;
}

.hero h1 {
  font-size: 3rem;

  line-height: 1.2;

  font-weight: 800;

  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.1rem;

  margin-bottom: 2rem;

  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  display: flex;

  gap: 1rem;

  margin-bottom: 2rem;

  flex-wrap: wrap;
}

.hero-highlights {
  list-style: none;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 1rem;
}

.hero-highlights li {
  background: rgba(255, 255, 255, 0.15);

  backdrop-filter: blur(5px);

  border: 1px solid rgba(255, 255, 255, 0.2);

  border-radius: 15px;

  padding: 0.8rem;

  text-align: center;

  font-weight: 600;
}

/* ======================================================
   RESPONSIVE HERO
====================================================== */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .navbar {
    padding: 1rem 5%;
  }

  .navbar-logo {
    font-size: 1.5rem;
  }

  .navbar-nav {
    gap: 1rem;
  }

  .navbar-nav a {
    font-size: 0.9rem;
  }
}

/* ======================================================
   ABOUT
====================================================== */

.about {
  padding: 8rem 0 4rem;
  background: var(--accent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.about-img {
  display: flex;
  justify-content: center;
}

.about-img img {
  width: 320px;
  max-width: 100%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-content p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

/* ======================================================
   MENU
====================================================== */

.menu {
  padding: 8rem 0 4rem;
  background: var(--accent);
}

.menu-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.menu-card {
  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.18);

  border-radius: 22px;

  padding: 1.5rem;

  text-align: center;

  display: flex;

  flex-direction: column;

  transition: 0.3s;

  backdrop-filter: blur(5px);
}

.menu-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.18);
}

.menu-card-img {
  width: 180px;

  height: 180px;

  margin: auto;

  border-radius: 50%;

  object-fit: cover;

  border: 5px solid rgba(255, 255, 255, 0.2);
}

.menu-card-title {
  margin-top: 1.2rem;

  font-size: 1.4rem;

  font-weight: 700;
}

.menu-card-price {
  margin-top: 0.5rem;

  margin-bottom: 1rem;

  font-size: 1rem;

  font-weight: 600;
}

/* ======================================================
   VARIANT
====================================================== */

.variant-controls {
  display: flex;

  justify-content: center;

  gap: 1rem;

  margin-bottom: 1.2rem;

  flex-wrap: wrap;
}

.variant-option {
  display: flex;

  align-items: center;

  gap: 0.4rem;

  font-weight: 600;

  cursor: pointer;
}

.variant-option input {
  accent-color: white;
}

/* ======================================================
   QTY BUTTON
====================================================== */

.qty-controls {
  margin-top: auto;

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 0.6rem;

  flex-wrap: wrap;
}

.qty-controls button {
  width: 42px;

  height: 40px;

  border-radius: 10px;

  background: rgba(255, 255, 255, 0.18);

  color: white;

  border: 1px solid rgba(255, 255, 255, 0.25);

  cursor: pointer;

  font-size: 1.2rem;

  font-weight: 700;

  transition: 0.25s;
}

.qty-controls button:hover {
  background: white;

  color: var(--accent);
}

.qty-value {
  width: 35px;

  text-align: center;

  font-size: 1.2rem;

  font-weight: 700;
}

.btn-clear {
  width: auto !important;

  padding: 0 1rem;

  font-size: 0.9rem !important;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .about-content {
    text-align: left;
  }

  .menu-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-row {
    grid-template-columns: 1fr;
  }

  .about-img img {
    width: 260px;
  }

  .about-content h3 {
    font-size: 1.5rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .menu-card {
    padding: 1.2rem;
  }

  .menu-card-img {
    width: 150px;

    height: 150px;
  }
}

/* ======================================================
   ABOUT
====================================================== */

.about {
  padding: 8rem 0 4rem;
  background: var(--accent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.about-img {
  display: flex;
  justify-content: center;
}

.about-img img {
  width: 320px;
  max-width: 100%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-content p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

/* ======================================================
   MENU
====================================================== */

.menu {
  padding: 8rem 0 4rem;
  background: var(--accent);
}

.menu-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.menu-card {
  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.18);

  border-radius: 22px;

  padding: 1.5rem;

  text-align: center;

  display: flex;

  flex-direction: column;

  transition: 0.3s;

  backdrop-filter: blur(5px);
}

.menu-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.18);
}

.menu-card-img {
  width: 180px;

  height: 180px;

  margin: auto;

  border-radius: 50%;

  object-fit: cover;

  border: 5px solid rgba(255, 255, 255, 0.2);
}

.menu-card-title {
  margin-top: 1.2rem;

  font-size: 1.4rem;

  font-weight: 700;
}

.menu-card-price {
  margin-top: 0.5rem;

  margin-bottom: 1rem;

  font-size: 1rem;

  font-weight: 600;
}

/* ======================================================
   VARIANT
====================================================== */

.variant-controls {
  display: flex;

  justify-content: center;

  gap: 1rem;

  margin-bottom: 1.2rem;

  flex-wrap: wrap;
}

.variant-option {
  display: flex;

  align-items: center;

  gap: 0.4rem;

  font-weight: 600;

  cursor: pointer;
}

.variant-option input {
  accent-color: white;
}

/* ======================================================
   QTY BUTTON
====================================================== */

.qty-controls {
  margin-top: auto;

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 0.6rem;

  flex-wrap: wrap;
}

.qty-controls button {
  width: 42px;

  height: 40px;

  border-radius: 10px;

  background: rgba(255, 255, 255, 0.18);

  color: white;

  border: 1px solid rgba(255, 255, 255, 0.25);

  cursor: pointer;

  font-size: 1.2rem;

  font-weight: 700;

  transition: 0.25s;
}

.qty-controls button:hover {
  background: white;

  color: var(--accent);
}

.qty-value {
  width: 35px;

  text-align: center;

  font-size: 1.2rem;

  font-weight: 700;
}

.btn-clear {
  width: auto !important;

  padding: 0 1rem;

  font-size: 0.9rem !important;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .about-content {
    text-align: left;
  }

  .menu-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-row {
    grid-template-columns: 1fr;
  }

  .about-img img {
    width: 260px;
  }

  .about-content h3 {
    font-size: 1.5rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .menu-card {
    padding: 1.2rem;
  }

  .menu-card-img {
    width: 150px;

    height: 150px;
  }
}

/* ================= CONTACT ================= */

.contact {
  background-color: #ff7a00; /* samakan orange */
  padding: 60px 20px;
  color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

/* MAP */
.map-wrap {
  width: 100%;
}

.map {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 12px;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

/* INPUT GROUP */
.input-group {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 8px;
  padding: 10px 12px;
  gap: 10px;
}

.input-group i {
  color: #ff7a00;
  min-width: 20px;
}

.input-group input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
}

/* BUTTON */
.btn-submit {
  background: white;
  color: #ff7a00;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}

.btn-submit:hover {
  background: #ffe5d1;
}

/* NOTE */
.contact-note {
  font-size: 12px;
  opacity: 0.9;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= PURCHASE ================= */

.purchase {
  background-color: #ff7a00; /* samakan dengan theme kamu */
  padding: 60px 20px;
  color: white;
}

.purchase .section-title {
  text-align: center;
  margin-bottom: 40px;
}

/* GRID */
.purchase-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

/* CARD KIRI (RINCIAN PESANAN) */
.purchase-info {
  background: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

/* CARD KANAN (AKSI) */
.cart-actions-right {
  background: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

/* LIST ITEM */
.cart-lines {
  list-style: none;
  padding: 0;
}

/* TOTAL BOX */
.cart-total {
  margin-top: 15px;
  padding: 10px;
  background: white;
  color: #ff7a00;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}

/* BUTTON */
.btn {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
}

.btn-primary {
  background: white;
  color: #ff7a00;
  font-weight: bold;
}

.btn-ghost {
  background: transparent;
  border: 1px solid white;
  color: white;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .purchase-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= FOOTER ================= */

.footer {
  background-color: #111;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

/* container */
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* SOCIAL ICONS */
.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.socials a {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #ff7a00;
  color: white;
  transition: 0.3s;
}

.socials a:hover {
  transform: translateY(-3px);
  background: #ff9a33;
}

/* LINKS */
.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.links a:hover {
  color: #ff7a00;
}

/* CREDIT */
.credit {
  font-size: 13px;
  color: #aaa;
}

.credit a {
  color: #ff7a00;
  text-decoration: none;
}

#info {
  padding: 60px 20px;
  background: #fab347; /* bisa samakan dengan tema kamu */
}

#info .container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

#info .card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 22px;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

#info .card:hover {
  transform: translateY(-6px);
}

#info .card h2 {
  margin-bottom: 12px;
}

#info .card p,
#info .card li {
  font-size: 14px;
  line-height: 1.6;
}

/* ================= INFO SECTION ================= */

#info {
  padding: 60px 20px;
  background: var(--accent); /* sama dengan tema utama (orange) */
}

/* CONTAINER */
#info .container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* CARD */
#info .card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;

  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);

  border-radius: 16px;
  padding: 22px;

  backdrop-filter: blur(6px);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);

  transition: 0.3s ease;

  color: white;
}

/* HOVER EFFECT */
#info .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

/* JUDUL */
#info .card h2 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
}

/* TEXT */
#info .card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.95);
}

/* LIST (cara pemesanan) */
#info .card ul {
  padding-left: 18px;
  margin-top: 10px;
}

#info .card ul li {
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
}

/* RESPONSIVE HP */
@media (max-width: 768px) {
  #info .container {
    flex-direction: column;
    align-items: center;
  }

  #info .card {
    width: 100%;
    max-width: 500px;
  }
}

#review {
  padding: 60px 20px;
  background: var(--accent);
}

/* GRID 2 KOLOM */
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* KOLOM LIST REVIEW */
.review-list h3,
.review-form-box h3 {
  margin-bottom: 15px;
  color: white;
}

/* CARD REVIEW */
.review-card {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);

  padding: 15px;
  border-radius: 12px;

  margin-bottom: 15px;

  color: white;
  backdrop-filter: blur(6px);
}

.review-card span {
  display: block;
  text-align: right;
  font-size: 13px;
  margin-top: 8px;
  font-weight: bold;
}

/* FORM BOX */
.review-form-box {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);

  padding: 20px;
  border-radius: 15px;

  backdrop-filter: blur(6px);
}

/* FORM */
.review-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-form input,
.review-form textarea {
  padding: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
}

.review-form textarea {
  min-height: 100px;
  resize: none;
}

.review-form button {
  padding: 10px;
  background: white;
  color: var(--accent);
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= VIDEO PROMO ================= */

.promo-video {
  padding: 6rem 0;
  background: var(--accent); /* orange sama seperti section lain */
}

.video-box {
  display: flex;
  justify-content: center;
}

.video-box video {
  width: 320px; /* bentuk HP / vertikal */
  max-width: 100%;
  border-radius: 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

/* MOBILE NAVBAR */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navbar-nav {
    position: absolute;
    top: 70px;
    right: 20px;

    flex-direction: column;
    background: var(--accent);
    padding: 15px;
    border-radius: 12px;

    width: 200px;

    display: none; /* penting: disembunyikan */
  }

  .navbar-nav.active {
    display: flex;
  }
}
