body {
  font-family: "poppins", sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 16px;
  background: #fff;
  min-height: 2000px;
}

:root {
  --creamy: #fff5eb;
  --coffee: #6f4e37;
  --latte: #c4a484;
  --espresso: #3e2723;
  --foam: #f8f4e9;
  --accent: #d4a76a;
  --ivory: #fffff0;
  --mahogany: #4e3524;
  --gilded-gold: #d4b483;
  --velvet-red: #7b1113;
  --parchment: #f5eedc;
  --shadow-deep: 0 15px 35px rgba(0, 0, 0, 0.2);
}

p {
  font-family: "montserrat";
  font-weight: 500;
}

h3 {
  font-family: "prata";
}

html {
  scroll-behavior: smooth;
}

* {
  padding: 0;
  margin: 0;
  list-style: none;
  box-sizing: border-box;
  text-decoration: none;
}

:root {
  --border-color: #fff5;
  --w-image: 500px;
  --calculate: calc(3 / 2);
}

header {
  display: grid;
  grid-template-columns: 80px 1fr calc(var(--w-image) * var(--calculate));
  grid-template-rows: 90px;
  position: relative;
  z-index: 10;
  /* border-bottom: 1px solid #000; */
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

header .logo img {
  width: 65%;
  padding-bottom: 0px;
}

header .logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

header nav a {
  font-weight: 400;
  color: #000000;
}

header .main-nav a:hover {
  color: #fbf3e5;
}

header .main-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid #000000;
  transform: scaleX(0);
  transition: 0.2s linear;
}

header .main-nav a:hover::after {
  transform: scaleX(0.5);
}
.navbar-extra a {
  color: #fff;
  margin: 0 0 1rem;
}

.navbar-extra a:hover {
  color: var(--primary);
}

#hamburger-menu {
  display: none;
}

header .main-nav {
  height: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
}

/* Coffee home */

/* Coffee Home Section */
.coffee-home {
  width: 100%;
  background-color: var(--foam);
  color: var(--espresso);
  overflow-x: hidden;
  min-height: 100vh;
  display: none;
  padding: 20px;
  position: relative;
  overflow: hidden;
  /* display: flex; */
  flex-direction: column;
}

/* Hero Content */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
}

.hero-tag {
  background-color: var(--accent);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(212, 167, 106, 0.3);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--espresso);
}

.hero-title span {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-title span::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(212, 167, 106, 0.3);
  z-index: -1;
}

.hero-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--coffee);
  opacity: 0.9;
  max-width: 500px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary a {
  color: rgb(255, 237, 209);
}

.btn-primary {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 167, 106, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 167, 106, 0.5);
}

.btn-secondary {
  background-color: transparent;
  color: var(--espresso);
  border: 2px solid var(--latte);
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: rgba(196, 164, 132, 0.1);
  border-color: var(--accent);
}

/* Coffee Visual */
.coffee-visual {
  position: relative;
  height: 300px;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-coffee {
  width: 220px;
  height: 220px;
  background-color: var(--espresso);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(62, 39, 35, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.main-coffee::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(
    circle,
    rgba(248, 244, 233, 0.8) 0%,
    rgba(248, 244, 233, 0) 70%
  );
  border-radius: 50%;
}

.coffee-image {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 50%;
  filter: brightness(0.9) contrast(1.1);
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background-color: var(--foam);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.element-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.element-2 {
  width: 50px;
  height: 50px;
  bottom: 15%;
  right: 15%;
  animation: float 8s ease-in-out infinite reverse;
}

.element-3 {
  width: 30px;
  height: 30px;
  top: 60%;
  left: 5%;
  animation: float 5s ease-in-out infinite 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Stats Bar */
.stats-bar {
  display: flex;
  justify-content: space-around;
  padding: 20px 0;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 15px;
  border-top: 1px solid rgba(111, 78, 55, 0.1);
  border-bottom: 1px solid rgba(111, 78, 55, 0.1);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--coffee);
  opacity: 0.8;
}

/* Utama */
.utama {
  margin-top: -90px;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.utama .list .items .image img,
.utama .list .items .image figcaption {
  will-change: transform;
}

.utama .list {
  height: 100%;
  position: relative;
}
.utama .list::before {
  position: absolute;
  width: var(--w-image);
  height: 100%;
  content: "";
  /* background-color: #b689bb; */
  top: 0;
  left: calc(100% - calc(var(--w-image) * var(--calculate)));
  border-right: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
  z-index: 10;
  pointer-events: none;
}

.utama .list::after {
  position: absolute;
  top: 50px;
  left: 50px;
  content: "";
  width: 400px;
  background-color: #c37f36;
  height: 300px;
  z-index: 10;
  pointer-events: none;
  border-radius: 20px 50px 110px 230px;
  filter: blur(150px);
  opacity: 6;
}

.utama .list .items {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.utama .list .items .image {
  width: var(--w-image);
  height: 100%;
  position: absolute;
  top: 0;
  left: calc(100% - calc(var(--w-image) * var(--calculate)));
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  font-weight: 500;
}
.utama .list .items .image img {
  width: 58%;
  margin-bottom: 3px;
  filter: drop-shadow(0 100px 50px #f5c045);
}

.utama .list .items .image figcaption {
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: 1.4em;
  text-align: center;
  margin-bottom: 5px;
  width: 60%;
  /* z-index: 1; */
}

.utama .list .items .main-content {
  display: grid;
  height: 100%;
  grid-template-columns: calc(100% - calc(var(--w-image) * var(--calculate)));
}

.utama .list .items .main-content .content {
  padding: 150px 20px 20px 80px;
}

.utama .list .items .main-content .content h2 {
  font-family: "Times New Roman", Times, serif;
  font-size: 4.5em;
  line-height: 1;
}

.utama .list .items .main-content .content .prices {
  font-family: "Times New Roman", Times, serif;
  font-size: 2.5em;
  margin: 20px 0;
}

/* .utama .list .items .main-content .content .buy-now { 
  background-color: #e9cfab;
  color: #ae803b;
  padding: 10px 30px;
  font-size: large;
  font-weight: 500;
  font-family: sans-serif;
}*/

.arrow {
  position: absolute;
  bottom: 20px;
  width: calc(100% - calc(var(--w-image) * var(--calculate)));
  display: grid;
  grid-template-columns: repeat(2, 50px);
  grid-template-rows: 50px;
  justify-content: end;
  gap: 10px;
}

.arrow button {
  background-color: transparent;
  border: 1px solid #ae803b;
  color: #000000;
  font-family: monospace;
  font-size: large;
  line-height: 0;
  font-weight: bold;
  box-shadow: 0px 10px 40px #5555;
  cursor: pointer;
  transition: 0.6s;
}

.arrow button:hover {
  background-color: rgb(138, 125, 64);
}

.utama .list .items {
  display: none;
}

.utama .list .items.active,
.utama .list .items.others_1,
.utama .list .items.others_2 {
  display: block;
}
.utama .list .items.active {
  z-index: 2;
}

.utama .list .items.others_1,
.utama .list .items.others_2 {
  pointer-events: none;
}

.utama .list .items.active .main-content {
  animation: showContent 1s ease-in-out 1 forwards;
}

@keyframes showContent {
  from {
    clip-path: circle(0% at 50% 70%);
  }
  to {
    clip-path: circle(100% at 50% 70%);
  }
}

.next .items.others_1 {
  z-index: 1;
}

.next .items .image img,
.next .items .image figcaption {
  animation: effectNext 0.5s ease-in-out 1 forwards;
}

@keyframes effectNext {
  from {
    transform: translateX(calc(var(--transform-from)));
  }
  to {
    transform: translateX(calc(var(--transform-from) - var(--w-image)));
  }
}

.next .items.active .image {
  --transform-from: var(--w-image);
}
.next .items.others_1 .image {
  z-index: 3;
  --transform-from: 0px;
  overflow: hidden;
}
.next .items.others_2 .image {
  z-index: 3;
  --transform-from: calc(var(--w-image) * 2);
}

.arrow {
  z-index: 10;
}

/* Prev */

.prev .list .items .image img,
.prev .list .items .image figcaption {
  animation: effectPrev 0.5s ease-in-out 1 forwards;
}

@keyframes effectPrev {
  from {
    transform: translateX(calc(var(--transform-from)));
  }
  to {
    transform: translateX(calc(var(--transform-from) + var(--w-image)));
  }
}

.prev .list .items.active .image {
  overflow: hidden;
  --transform-from: calc(var(--w-image) * - 1);
}

.prev .list .items.others_1 .image {
  z-index: 3;
  --transform-from: 0px;
}

.prev .list .items.others_2 .image {
  z-index: 3;
  --transform-from: var(--w-image);
}

.prev .list .items.others_2 .main-content {
  opacity: 0;
}

/* Tittle WC */

.name {
  padding: 3rem;
  text-align: center;
  color: #7f6538;
  min-height: 20vh;
  font-size: 2rem;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  animation: SlideAnim 0.5s;
  background-color: var(--creamy);
  font-family: "playwrite dk loopet";
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  line-height: 1.2;
}

.nama {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}
.nama.visible {
  opacity: 1;
  transform: translateY(0);
}

.line {
  width: 50px;
  height: 2px;
  background: #c2923e;
}
.name::after {
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(1, 1, 3, 1) 8%,
    rgba(255, 255, 255, 0) 50%
  );
}

.name span {
  background: linear-gradient(90deg, #f39c12, #2b2a29, #f39c12);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradientText 3s infinite linear;
}

@keyframes gradientText {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 200%;
  }
}

/* Product */

.products-section {
  padding: 100px 0;
  background-color: #ffeac6;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background-color: #fbf3e5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth zoom */
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.1);
}

.quick-view-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .quick-view-overlay {
  opacity: 1;
}

.quick-view-btn {
  background-color: #bfb695;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translateY(0);
}

.quick-view-btn i {
  margin-right: 8px;
}

.product-info {
  padding: 20px;
  text-align: center;
}

.product-name {
  font-size: 1.5em;
  margin-bottom: 8px;
  color: #ae803b;
}

.product-category {
  font-size: 0.9em;
  color: #2b2a29;
  margin-bottom: 10px;
}

.product-price {
  font-size: 1.3em;
  font-weight: 700;
  color: #2b2a29;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background-color: #c49766;
  padding: 60px 20px 30px;
  color: #eae2c6;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}
.medsos {
  margin-bottom: 15px;
  font-weight: 200;
}

.medsos p {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}

.icon-social {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: 0.3s;
}

.socials a {
  margin-right: 1rem;
}

.icon-social:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

footer .socials {
  padding: 1rem 0;
  text-align: center;
  margin-right: 15px;
  font-family: "prata";
}

footer .socials a {
  color: #000000;
  margin: 1rem;
}

footer .socials a:hover,
footer .links a:hover {
  color: #debb7f;
}

footer .links {
  margin-bottom: 1.7rem;
  text-align: center;
}

footer .links a {
  color: var(--creamy);
  padding: 0.7rem 1rem;
}

footer .credit {
  font-size: 0.8rem;
  text-align: center;
  border-top: 2px solid #fff;
  padding-top: 20px;
  margin-top: 40px;
}

footer .credit a {
  color: #010101;
  font-weight: 700;
}

.footer-logo h2 span {
  color: #634b22;
}

/* Modal Box */

/* Modal Styling (Product Detail) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.3s ease-out;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  animation: slideInModal 0.4s ease-out;
}

.close-button {
  color: var(--color-dark-text);
  font-size: 2.5em;
  font-weight: bold;
  position: absolute;
  top: 15px;
  right: 25px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
  color: var(--color-accent-orange);
}

.modal-body {
  display: flex;
  flex-wrap: wrap; /* Untuk responsif */
  gap: 30px;
}

.modal-image-container {
  flex: 1; /* Ambil ruang sebanyak mungkin */
  min-width: 300px; /* Lebar minimum sebelum wrap */
  max-height: 400px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-details {
  flex: 1.5; /* Ambil lebih banyak ruang untuk teks */
  min-width: 300px;
}

.modal-details h3 {
  font-size: 2.2em;
  color: var(--color-primary-brown);
  margin-bottom: 10px;
}

.modal-details .product-price {
  font-size: 1.6em;
  margin-bottom: 20px;
}

.modal-details p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--color-light-text);
  margin-bottom: 20px;
}

.product-features {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #534d43;
}

.product-features a {
  margin-bottom: 8px;
  font-size: 200;
  font-family: "prata";
  font-weight: 200;
}

.add-to-cart-btn-modal a {
  font-size: 200;
  font-family: "montserrat";
  font-weight: 500;
}

.add-to-cart-btn-modal {
  width: 100%; /* Penuh lebar di modal */
  margin-top: 20px;
}

.add-to-cart-btn-modal {
  background-color: #eec37a;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.add-to-cart-btn-modal:hover {
  background-color: #ffe4a9; /* Darker green */
  transform: translateY(-2px);
}
/* Modal Animations */
@keyframes fadeInModal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInModal {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Media Queries */

@media screen and (max-width: 982px) {
  :root {
    --w-image: 400px;
    --calculate: 1;
  }

  header {
    display: none;
  }

  .utama {
    display: none;
  }

  .coffee-home {
    display: flex;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 kolom untuk tablet/desktop */
  }
  .utama .list .items .main-content .content h2 {
    font-size: 3em;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --w-image: 400px;
    --calculate: 1;
  }
  header {
    grid-template-columns: 1fr auto; /* logo + hamburger */
    grid-template-rows: auto;
  }

  .navbar-extra #hamburger-menu svg {
    width: 32px; /* default biasanya 24px */
    height: 32px;
    stroke-width: 2.5; /* buat garisnya lebih tebal */
  }
  header .logo {
    justify-content: flex-start;
    padding-left: 1.5rem;
  }

  header .logo img {
    width: 11%; /* atau coba 60% kalau terlalu kecil */
    max-width: 120px;
    height: auto;
  }
  header .main-nav {
    position: absolute;
    top: 70%;
    left: -100%;
    width: 50%;
    background-color: #bfb695;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2rem;
    height: 80vh;
    transition: 0.3s;
    gap: 1.5rem;
  }

  header .main-nav.active {
    left: 0;
  }

  #hamburger-menu {
    display: block;
    cursor: pointer;
    z-index: 999;
    padding: 0.5rem;
    margin-right: 1rem;
  }

  .navbar-extra a {
    margin: 0;
    color: #000;
  }

  /* Sembunyikan padding right nav biar ga ngedorong konten */
  header .main-nav {
    padding-right: 0;
  }

  body {
    overflow-x: hidden;
  }

  .coffee-home {
    flex-direction: row;
    align-items: center;
    padding: 40px;
  }

  .hero-content {
    flex: 1;
    padding-right: 40px;
  }

  .coffee-visual {
    flex: 1;
    height: auto;
    margin-top: 0;
  }

  .main-coffee {
    width: 300px;
    height: 300px;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .utama {
    flex-direction: column;
    width: 100%;
    max-width: 100vh;
    max-width: 100vw;
    overflow: hidden;
  }

  .utama .list {
    flex: 0 0 100%;
    display: flex;
    width: 100%;
    overflow: hidden;
  }

  .utama .list .items {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .utama .list .items .image {
    width: 100%;
    max-width: 300px;
  }

  .utama .list .items .image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 100%;
    display: block;
  }

  .utama .list .items .image figcaption {
    font-size: 1rem;
    padding-top: 0.5rem;
    color: antiquewhite;
  }

  .utama .list .items .main-content .content {
    display: none;
  }

  .arrow {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
  }

  .arrow button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
  .products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
  }

  .product-card {
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  }

  .modal-container {
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 5% auto;
    padding: 1rem;
    border-radius: 1rem; /* biar lonjong */
  }

  .modal-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .modal-content img {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 1rem;
    object-fit: contain;
  }

  .menu-content {
    padding: 0 1rem;
  }

  .menu-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .menu-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .menu-content a {
    color: #3b82f6;
    text-decoration: underline;
    font-weight: 500;
  }

  .modal-container .close-icon {
    font-size: 1.5rem;
    top: 1rem;
    right: 1rem;
  }

  .product-grid {
    grid-template-columns: 1fr; /* 2 kolom untuk tablet/desktop */
  }
}

@media (max-width: 450px) {
  html {
    font-size: 55%;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .products {
    grid-template-columns: 1fr; /* jadi 1 kolom di hp sangat kecil */
  }
  .hero-content h1 {
    font-size: 2.2em;
  }
  .hero-content p {
    font-size: 0.9em;
  }
  .btn {
    padding: 10px 20px;
    font-size: 0.85em;
  }
  .product-name {
    font-size: 1.3em;
  }
  .product-price {
    font-size: 1.1em;
  }
  .modal-content {
    padding: 20px;
  }
  .modal-details h3 {
    font-size: 1.8em;
  }
  .modal-details .product-price {
    font-size: 1.3em;
  }
}
