/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #ffffff;
}

body {
  background: #fff8f0;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
}

/* Navbar */
header {
  background: #f5b97a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
}

header .logo h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin: 0;
}

/* Logo wrapper */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Gambar logo */
.logo img {
  height: 55px;
  width: auto;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.15);
}

nav a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.1s ease;
}

nav a:hover {
  color: #d35400; /* oren manis */
  transform: scale(1.1);
}

/* Hero Section */
.header {
  position: relative;
  background: url('images/web_banner.png') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background-position: center 60%;
}

/* Header title */
.header h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

/* Tagline (just example) */
.header p {
  font-family: 'Dancing Script', sans-serif;
  font-size: 1.5rem;
}

.header::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
}

.header-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.header-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.header-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Button See Our Menu */
.header-content .btn {
  background: #e55039;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: inline-block;
}

.header-content .btn:hover {
  background: #d84315;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

/* Products */
.products .grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.products h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #d35400;
  font-family: 'Playfair Display', serif;
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.products .card {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 0.3rem 0.6rem rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 18rem;
}

.products .card img {
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.products .card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 0.6rem 1.2rem rgba(0,0,0,0.2);
}

.products .card h3,
.products .card p {
  position: static;
  opacity: 1;
  color: #333;
  text-shadow: none;
  transform: none;
  margin-top: 0.5rem;
}

.grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  width: 200px;
}

.card img {
  width: 100%;
  border-radius: 10px;
}

/* Testimonials */
.testimonial-card::before {
  content: "❝";
  font-size: 2rem;
  color: #f5b97a;
  display: block;
  margin-bottom: 10px;
}

.testimonial-card .stars {
  color: #f5b97a;
  margin-top: 10px;
}

.testimonials {
  padding: 60px 20px;
  background: #fff8f0;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #d35400;
  font-family: 'Playfair Display', serif;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-style: italic;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.testimonial-card h4 {
  margin-top: 15px;
  font-weight: bold;
  color: #444;
}

/* About */
.about {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px;
  text-align: center;
}

.about h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #d35400;
  font-family: 'Playfair Display', serif;
}

.about p {
  margin-bottom: 30px;
  line-height: 1.6;
}

.about img {
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about img:hover {
  transform: scale(1.05);
  /* box-shadow: 0 6px 16px rgba(0,0,0,0.15); */
}

/* Why Choose Us */

.why-choose-us {
  text-align: center;
  padding: 60px 20px;
}

.why-choose-us h2{
  font-size: 2rem;
  color: #d35400;
  margin-bottom: 30px;
}

.why-choose-us h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

.why-choose-us p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.choose-item {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.choose-item:hover {
  transform: translateY(-5px);
}

/* FAQ */
.faq {
  background: #fff7f0;
  padding: 60px 20px;
  text-align: center;
}

.faq h2 {
  font-size: 2rem;
  color: #d35400;
  margin-bottom: 30px;
}

.faq-item {
  max-width: 700px;
  margin: 20px auto;
  text-align: left;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
}

.faq-item h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

/* Contact Section */
.contact {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
}

.contact h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #444;
}

.contact p {
  margin-bottom: 20px;
  color: #555;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.contact input,
.contact textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

.contact textarea {
  resize: vertical;
  min-height: 120px;
}

.contact .btn {
  background: #e55039;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact .btn:hover {
  background: #d84315;
}

.contact .info {
  margin-top: 20px;
  text-align: left;
  background: #fff8f0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.contact .info p {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
}

/* Menu Page */
.menu .fade-in{
  padding: 60px 20px;
  text-align: center;
}

.menu .fade-in h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #333;
}

.menu p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
}

.menu h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: #f57c00;
  border-bottom: 2px solid #f5b97a;
  display: inline-block;
  padding-bottom: 5px;
}

.menu .grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.menu .card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.menu .card h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #333;
}

.menu .card p {
  font-size: 1rem;
  font-weight: bold;
  color: #f5b97a;
}

.menu .card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Footer */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: auto;
}

footer .footer-links {
  margin-top: 10px;
}

footer .footer-links a {
  color: #f5b97a;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease;
}

footer .footer-links a:hover {
  color: #fff;
}

/* Animations */
.fade-in, .slide-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in {
  transform: translateX(-50px);
}

.fade-in.show, .slide-in.show {
  opacity: 1;
  transform: translate(0,0);
}

/* About + FAQ side by side */
.about-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Reset & General styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #fff8f0;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

/* Navbar */
header {
  background: #f5b97a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
}

header .logo h2 {
  font-size: 1.3rem;
  color: #222;
}

/* Menu Section */
.menu {
  padding: 60px 20px;
  text-align: center;
}

.menu h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.menu p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
}

/* Filter Buttons */
.menu-filters {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.menu-filters button {
  background: #f5b97a;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.menu-filters button.active,
.menu-filters button:hover {
  background: #f57c00;
  color: white;
  transform: scale(1.05);
}

/* Products Grid */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background: #fff;
  width: 220px;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card a{
  text-decoration: none;

}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 5px;
}

.card p {
  font-weight: bold;
  color: #f5b97a;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .grid {
    flex-direction: column;
    align-items: center;
  }

  .menu-filters {
    gap: 10px;
  }
}

/* Responsive: stack bawah kalau phone */
@media (max-width: 768px) {
  .about-faq {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 480px) {
  .grid {
    flex-direction: column;
    align-items: center;
  }

  nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header h1 {
    font-size: 28px;
  }
}
/* Product Detail */
.product-detail {
  max-width: 1000px;
  margin: 50px auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 0 20px;
}

.product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.product-img {
  max-width: 400px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.product-info {
  max-width: 500px;
}

.product-info h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #333;
}

.product-info .price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f5b97a;
  margin-bottom: 15px;
}

.product-info .desc {
  margin-bottom: 20px;
  line-height: 1.5;
  color: #555;
}

.product-info .stock {
  margin-bottom: 15px;
  font-weight: bold;
}

.sold-out {
  color: #999;
  font-weight: bold;
}

.product-info input[type="number"] {
  width: 80px;
  padding: 8px;
  margin-right: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.product-info .btn {
  background: #e55039;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-info .btn:hover {
  background: #d84315;
  transform: scale(1.05);
}

.sold-out-btn {
  background: #ccc;
  cursor: not-allowed;
}

.cart-container {
  width: 100%;
  max-width: 800px; /* ikut lebar kotak putih */
  margin: 0 auto;
  padding: 20px;
  overflow-x: auto;
}

.cart-container table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* biar column auto adjust */
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.cart-container th,
.cart-container td {
  text-align: center;
  padding: 12px 8px;
  word-wrap: break-word;
  font-size: 1rem;
  vertical-align: middle;
}

.cart-container th {
  background-color: #e8a25a;
  color: #fff;
  font-weight: 600;
}

.cart-container td {
  border-bottom: 1px solid #eee;
}

/* Button remove stay dalam table */
.cart-container .btn-remove {
  background-color: #e75d46;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
  display: inline-block; /* penting: stay dalam cell */
  width: 100%;
  max-width: 100px;
}

.cart-container .btn-remove:hover {
  background-color: #d44d38;
}

/* Responsive tweak */
@media (max-width: 768px) {
  .cart-container {
    padding: 10px;
  }

  .cart-container th,
  .cart-container td {
    font-size: 0.9rem;
    padding: 8px 6px;
  }

  .cart-container .btn-remove {
    font-size: 0.8rem;
    padding: 6px 10px;
    width: 100%;
    max-width: none;
  }
}

.btn {
  background: #e55039;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #d84315;
  transform: scale(1.05);
}

.sold-out {
  color: #999;
  font-weight: bold;
}

.sold-out-btn {
  background: #ccc;
 
}

nav a.cart-btn {
  background: #e55039;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

nav a.cart-btn:hover {
  background: #d84315;
  transform: scale(1.05);
}

/* Greyed out image */
.sold-out-img {
  filter: grayscale(100%) brightness(70%);
  opacity: 0.8;
}

/* Label "Sold Out" */
.img-wrapper {
  position: relative;
  display: inline-block;
}

.sold-out-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 14px;
}

/* Checkout Page */
.checkout {
  max-width: 800px;
  margin: 50px auto;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.checkout h1 {
  font-size: 2.2rem;
  color: #d35400;
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
  text-align: center;
}

.checkout h2, .checkout h3 {
  font-size: 1.3rem;
  margin: 20px 0 10px;
  color: #333;
}

.checkout input,
.checkout textarea,
.checkout select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}

.checkout textarea {
  min-height: 100px;
  resize: vertical;
}

.checkout ul {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  text-align: left;
}

.checkout ul li {
  background: #fff8f0;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  display: flex;
  justify-content: space-between;
}

.checkout p strong {
  font-size: 1.2rem;
  color: #d35400;
}

.checkout .btn {
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
  background: #e55039;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkout .btn:hover {
  background: #d84315;
  transform: scale(1.05);
}

/* Checkout Form Styling */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  align-items: center;
}

form h2, form h3 {
  margin-bottom: 5px;
  font-size: 1.3rem;
  color: #333;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: #d84315; /* ikut color theme */
}

form textarea {
  resize: vertical;
  min-height: 100px;
}

form ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

form ul li {
  background: #f9f9f9;
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

form p strong {
  font-size: 1.1rem;
  color: #444;
}

form .btn {
  background: #e55039;
  color: #fff;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

form .btn:hover {
  background: #d84315;
}

/* Order Confirmation */
.order-confirmation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;  /* horizontal center */
  text-align: center;   /* text in the middle */
  min-height: 80vh;     /* bagi section tu tinggi cukup untuk center */
  padding: 20px;
}

.order-confirmation h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #d35400;
}

.order-confirmation p {
  font-size: 1rem;
  margin: 8px 0;
  color: #444;
}

.order-confirmation h3 {
  margin: 20px 0 10px;
  font-size: 1.3rem;
  color: #333;
}

.order-confirmation ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.order-confirmation ul li {
  background: #f9f9f9;
  margin: 6px 0;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #555;
}

.order-confirmation .btn {
  background: #e55039;
  color: #fff;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.order-confirmation .btn:hover {
  background: #d84315;
}

Make footer stick to bottom
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* ambil ruang kosong, tolak footer ke bawah */
}