* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #ff00cc, #b366ff, #00ccff);
  background-attachment: fixed;
  background-size: cover;
  color: white;
  overflow-x: hidden;
}

/* FONT STYLE */
h1, h2 {
  font-family: 'Pacifico', cursive;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}
p {
  font-family: 'Cal Sans', sans-serif;
}

/* HEADER */
.hero-header {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
}

.logo-3d {
  width: 100%;
  max-width: 800px;
  height: 700px;
  margin-top: -80px;       /* Tambahan baru */
  margin-bottom: 50px;    /* Geser lebih tinggi */
  transform: translateY(-20px);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.brand-title {
  font-size: 7rem;
  height: 160px
}

.hero-content {
  margin-top: -90px; /* naikkan sesuai kebutuhan */
  transition: margin 0.3s ease;
}

.subtagline {
  font-size: 2.2rem;
  
}

.scroll-button {
  padding: 12px 24px;
  background: white;
  color: #ff00cc;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s ease;
}
.scroll-button:hover {
  background: #ffe6f2;
}

.card-content h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

/* PARALLAX SECTION */
.parallax-menu {
  background-image: url('Gambar/bg-makanan.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 20px;
  text-align: center;
  color: white;
}

.parallax-menu::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}
.parallax-menu > * {
  position: relative;
  z-index: 2;
}

.parallax-menu h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: white;
}

.scroll-down-icon {
  display: inline-block;
  margin-top: 20px;
  animation: scroll-bounce 2s infinite;
  transition: transform 0.3s ease;
}

.scroll-down-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
  opacity: 0.8;
}

.scroll-down-icon:hover {
  transform: translateY(4px);
  opacity: 1;
}

@keyframes scroll-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}


.masonry-menu {
  column-count: 4;
  column-gap: 10px;
  padding: 60px 30px;
}

.card {
  break-inside: avoid;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.card:hover img {
  transform: scale(1.04);
}

.card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-content h3, .card-content p {
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.card-content {
  padding: 16px 12px 20px;
  background: #fff;
  border-top: 1px solid #eee;
}

.card-content h3 {
  font-family: 'Quicksand', sans-serif;
  font-size: 2rem;
  text-align: center;
  font-weight: 700;
  color: #222;
}

.card-content p {
  margin: 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
  .masonry-menu {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .brand-title {
    font-size: 3.5rem;
    height: auto;
  }
  .subtagline {
    font-size: 1.4rem;
  }
}

  .card-content {
    padding: 16px;
  }

  .card-content h3 {
    font-size: 1.1rem;
  }

  .card-content p {
    font-size: 0.95rem;
  }

/* Untuk gambar menu */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  display: block;
  max-width: 90%;
  max-height: 90%;
  margin: 5% auto;
  border-radius: 10px;
  box-shadow: 0 0 20px #fff;
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px; /* dari kiri ke kanan */
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: white;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  font-family: 'Poppins', sans-serif;
}

.badge-halal {
  background-color: #28a745;
}
.badge-hot {
  background-color: #dc3545;
}
.badge-recommended {
  background-color: #ffc107;
  color: #222;
}

.card {
  position: relative;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up, .reveal-left, .reveal-right, .reveal-zoom {
  opacity: 0;
  transition: all 0.8s ease;
  will-change: transform, opacity;
}

.reveal-up {
  transform: translateY(60px);
}
.reveal-left {
  transform: translateX(-60px);
}
.reveal-right {
  transform: translateX(60px);
}
.reveal-zoom {
  transform: scale(0.8);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active,
.reveal-zoom.active {
  opacity: 1;
  transform: none;
}


.contact-section {
  background-color: rgba(255, 255, 255, 0.05);
  text-align: center;
  padding: 60px 20px;
  color: white;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
}

.contact-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 20px;
}

.contact-icons img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.3));
}

.contact-icons img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.group-link a {
  color: #00ffcc;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
}

.group-link a:hover {
  text-decoration: underline;
}

.contact-icons img{
  width: 120px;
  height: 120px;
}

.group-link img {
  width: 120px;
  height: 120px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.3));

}

.group-link img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.toggle-cart-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ff00cc;
  color: white;
  border: none;
  font-size: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  cursor: pointer;
}

/* Panel Keranjang (Awalnya Disembunyikan) */
.cart {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: white;
  border-radius: 14px;
  padding: 20px;
  max-width: 280px;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  color: #222;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Sembunyikan Awal */
.hidden {
  display: none;
}

/* Konten Keranjang */
.cart h3 {
  margin-bottom: 10px;
}

.cart ul {
  max-height: 150px;
  overflow-y: auto;
  margin-bottom: 12px;
  padding-left: 20px;
  font-size: 0.9rem;
}

.cart button,
.cart .contact-link {
  display: block;
  margin-top: 8px;
  width: 100%;
  padding: 10px;
  background: #ff00cc;
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.cart .contact-link:hover,
.cart button:hover {
  background: #cc0099;
}

#telegramBtn {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Tooltip bawaan (tersembunyi dulu) */
#telegramBtn .tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  border-radius: 6px;
  position: absolute;
  left: -180%;  /* Tampilkan di kanan tombol */
  top: 140%;
  transform: translateY(-50%);
  white-space: nowrap;
  z-index: 10;
  font-size: 0.85rem;
  transition: opacity 0.3s ease;
}

/* Saat hover tombol, tampilkan tooltip */
#telegramBtn:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.btn-tambah {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(45deg, #ff00cc, #3333ff);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-tambah:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  background: linear-gradient(45deg, #ff3399, #3366ff);
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: linear-gradient(45deg, #00ccff, #ff00cc);
  color: white;
  font-size: 2rem;
  padding: 10px 15px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.scroll-to-top:hover {
  transform: scale(1.1);
}

/* Saat tombol aktif (muncul) */
.scroll-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

footer {

  text-align: center;

}