/* Custom CSS */
body {
  font-family: "Poppins", sans-serif;
}

.card-hover:hover {
  border: 1px solid rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-card {
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Hamburger Menu */
.hamburger {
  cursor: pointer;
  width: 24px;
  height: 24px;
  transition: all 0.25s;
  position: relative;
}

.hamburger-top,
.hamburger-middle,
.hamburger-bottom {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: #000;
  transform: rotate(0);
  transition: all 0.5s;
}

.hamburger-middle {
  transform: translateY(7px);
}

.hamburger-bottom {
  transform: translateY(14px);
}

.open {
  transform: rotate(90deg);
  transform: translateY(0px);
}

.open .hamburger-top {
  transform: rotate(45deg) translateY(6px) translate(6px);
}

.open .hamburger-middle {
  display: none;
}

.open .hamburger-bottom {
  transform: rotate(-45deg) translateY(6px) translate(-6px);
}

/* Service Card Styles */
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.service-card-splash {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(168, 103, 81, 0.1);
  filter: blur(40px);
  z-index: 1;
  animation: cardSplash 4s ease infinite;
}

.service-card-splash-1 {
  top: -50px;
  right: -50px;
}

.service-card-splash-2 {
  bottom: -30px;
  left: -30px;
  animation-delay: 1s;
}

.service-image-container {
  height: 100%;
  overflow: hidden;
  border-radius: 0.5rem 0.5rem 0 0;
  position: relative;
  z-index: 2;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.service-button-container {
  margin-top: auto;
  padding-top: 1rem;
}

/* Professional Enhancements */
.header-shadow {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.gradient-text {
  background: linear-gradient(45deg, #a86751, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hover-underline {
  position: relative;
}

.hover-underline::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #a86751;
  transition: width 0.3s ease;
}

.hover-underline:hover::after {
  width: 100%;
}

.price-tag {
  position: relative;
  padding: 0.5rem 1rem;
  background: #a86751;
  color: white;
  border-radius: 0.5rem;
  font-weight: 500;
}

.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #a86751, #000000);
  border-radius: 3px;
}

.section-spacing {
  padding: 5rem 0;
}

.border-light {
  border-color: rgba(0, 0, 0, 0.05);
}

/* Hero Section with Splash Effect */
.hero-splash {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
}

.splash-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(168, 103, 81, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: 1;
}

.splash-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(168, 103, 81, 0.1);
  filter: blur(60px);
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

.splash-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.splash-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -100px;
  animation-delay: 1s;
}

.splash-3 {
  width: 250px;
  height: 250px;
  top: 30%;
  right: 20%;
  animation-delay: 2s;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-image {
  position: relative;
  z-index: 2;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border-radius: 1rem;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
  border: 10px solid white;
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.hero-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

.shine-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shine 3s infinite;
  z-index: 1;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Responsive adjustment */
@media (min-width: 768px) {
  .max-w-lg {
    max-width: 32rem; /* Atur ukuran maksimum gambar di desktop */
  }
}

/* WhatsApp Button Simple Animation */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  animation: none;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.gallery-grid {
  display: flex; /* Flexbox untuk scroll horizontal */
  gap: 16px; /* Jarak antar gambar */
  overflow-x: auto; /* Aktifkan scroll horizontal */
  scroll-snap-type: x mandatory; /* Efek snap saat scroll */
  padding-bottom: 5px; /* Ruang untuk scrollbar */
  -webkit-overflow-scrolling: touch; /* Smooth scroll di iOS */
}

.gallery-img {
  scroll-snap-align: start; /* Snap ke awal gambar */
  min-width: 80%; /* Lebar gambar di mobile (80% layar) */
  height: 280px; /* Tinggi tetap (sesuaikan) */
  border-radius: 8px;
  object-fit: cover;
}

/* Desktop: 3 kolom */
@media (min-width: 768px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible; /* Nonaktifkan scroll di desktop */
  }
  .gallery-img {
    min-width: 100%; /* Reset lebar di desktop */
    height: 350px;
  }
}

.gallery-img:hover {
  transform: scale(1.05);
}

.back-button-prominent {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background-color: #000000;
  /* Warna biru modern */
  color: white !important;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.back-button-prominent:hover {
  background-color: #a86751;
  /* Warna biru lebih gelap saat hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.back-button-prominent:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.back-button-prominent i {
  transition: transform 0.3s ease;
}

.back-button-prominent:hover i {
  transform: translateX(-4px);
}
