.catalog-page {
  background-image: url(assets/catalog-bg.png);
  background-repeat: no-repeat;
  background-size:cover;
  background-position: center;
  padding-top: 100px;
  padding-bottom: 60px;
  color: white;
  font-family: 'Inter', sans-serif;
}

.catalog-intro {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInDown 0.8s ease;
}

.catalog-intro h2 {
  font-size: 36px;
  font-weight: 700;
}

.catalog-intro p {
  font-size: 16px;
  font-weight: 300;
  color: #eee;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  animation: fadeInUp 1s ease;
}

.catalog-card {
  background-color: #3e2b05;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalog-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 14px rgba(0,0,0,0.5);
}


.catalog-title {
  padding: 12px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  background-color: #d6670c;
  color: white;
}

/* Modal carousel */
.modal img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.modal-carousel {
  display: flex;
  overflow-x: auto;
  gap: 10px;
}

.modal-carousel img {
  flex-shrink: 0;
  width: 100%;
  border-radius: 8px;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 600px) {
  .catalog-title {
    font-size: 16px;
  }
  .catalog-intro h2 {
    font-size: 28px;
  }
}
.catalog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* new modif */
.social-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.social-button i {
  font-size: 18px;
}

.social-button.whatsapp {
  background-color: #25d366;
}

.social-button.whatsapp:hover {
  background-color: #1ebc57;
}

.social-button.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-button.instagram:hover {
  opacity: 0.9;
}
.catalog-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.7s ease forwards;
}

.catalog-card:nth-child(2) { animation-delay: 0.1s; }
.catalog-card:nth-child(3) { animation-delay: 0.2s; }

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  margin-right: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
}

.social-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0.9;
}

.modal-content {
  animation: popUpModal 0.4s ease;
}

@keyframes popUpModal {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* Modal Styling */
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  animation: popFade 0.4s ease-out;
  position: relative;
  max-width: 800px;
  margin: 50px auto;
  font-family: 'Inter', sans-serif;
}

/* Modal Animasi */
@keyframes popFade {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Tombol Close */
.modal-content .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease;
}
.modal-content .close:hover {
  color: #d6670c;
}

/* Judul Modal */
#modalTitle {
  font-size: 26px;
  font-weight: 700;
  color: #2a4c09;
  margin-bottom: 10px;
  text-align: center;
}

/* Deskripsi dan kontak */
#modalDescription,
#modalContact {
  font-size: 16px;
  color: #444;
  margin-bottom: 10px;
  text-align: center;
}

/* Tombol Sosial Media */
#modalSocialLinks {
  text-align: center;
  margin-top: 20px;
}
#modalSocialLinks a {
  display: inline-block;
  margin: 5px 10px;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
}
#modalSocialLinks a:hover {
  transform: scale(1.05);
}

#modalSocialLinks a.wa {
  background-color: #25d366;
}
#modalSocialLinks a.ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.catalog-page {
  background-color: #f9f7f1;
  padding: 80px 0;
  color: #333;
  animation: fadeIn 1s ease;
}

.catalog-intro {
  background-color: #3e2b05;
  text-align: center;
  margin-bottom: 50px;
}

.catalog-intro h2 {
  color: white;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.catalog-intro p {
  font-size: 18px;
  color: white;
  max-width: 700px;
  margin: auto;
  line-height: 1.8;
}

.catalog-line-deco {
  width: 80px;
  height: 4px;
  background-color: #d6670c;
  margin: 20px auto 0;
  border-radius: 2px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  justify-items: center;
}

.catalog-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 280px;
  text-align: center;
  position: relative;
}

.catalog-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.catalog-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #eee;
}

.catalog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.catalog-card:hover img {
  transform: scale(1.08);
}

.catalog-title {
  font-size: 18px;
  font-weight: 600;
  padding: 15px;
  background-color: #3e2b05;
  color: white;
}

/* Animasi Scroll */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up {
  transform: translateY(40px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@media screen and (max-width: 768px) {
  .catalog-intro h2 {
    font-size: 28px;
  }

  .catalog-intro p {
    font-size: 16px;
    padding: 0 15px;
  }

  .catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    padding: 0 10px;
  }

  .catalog-card {
    max-width: 100%;
    border-radius: 10px;
  }

  .catalog-image-wrapper {
    height: 160px;
  }

  .catalog-card img {
    border-radius: 0;
  }

  .catalog-title {
    font-size: 16px;
    padding: 12px;
  }

  .animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
  }

  .animate.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
.carousel-indicators {
  text-align: center;
  margin-top: 10px;
}

.carousel-dot {
  display: inline-block;
  height: 10px;
  width: 10px;
  background-color: #bbb;
  border-radius: 50%;
  margin: 0 5px;
  transition: background-color 0.4s;
  cursor: pointer;
}

.carousel-indicators {
  text-align: center;
  margin-top: 12px;
}

.carousel-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #bbb;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-dot.active {
  background-color: #d6670c;
}
.modal.fade-out {
  animation: fadeOut 0.3s ease forwards;
}
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
.carousel-item img {
  object-fit: contain !important;
  max-height: 500px;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  background-color: #f8f8f8;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #d6670c; /* oranye branding */
  border-radius: 50%;
  padding: 20px;
  background-size: 50% 50%;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: -30px;
}