:root {
  --gold: #c8973a;
  --gold-light: #e8b84b;
  --cream: #fdf6e3;
  --dark: #1a1209;
  --green: #22a45d;
  --navy: #1e2d4a;
}

body {
  font-family: "Nunito", sans-serif;
  background: var(--cream);
  color: #333;
}
h1,
h2,
h3,
.display {
  font-family: "Playfair Display", serif;
}

/* NAVBAR */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(26, 18, 9, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 151, 58, 0.3);
}

/* HERO */
.hero {
  min-height: 70vh;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.3) 60%,
      rgba(0, 0, 0, 0.6) 100%
    ),
    url("./assets/header.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--gold-light);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.01em;
}

/* GOLD DIVIDER */
.gold-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* WARNING SECTION */
.warning-section {
  background: linear-gradient(120deg, #fffde7 0%, #fff8e1 60%, #fdf3cc 100%);
  border-left: 6px solid var(--gold);
}

/* SERVICE CARDS */
.service-card {
  border-radius: 20px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 2px solid rgba(200, 151, 58, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

/* Background image layer */
.service-card .card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition:
    transform 0.5s ease,
    filter 0.35s ease;
  filter: brightness(0.45) saturate(0.8);
  z-index: 0;
}
.service-card:hover .card-bg {
  transform: scale(1.08);
  filter: brightness(0.3) saturate(0.6);
}

/* Gold shimmer top border on hover */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--gold),
    var(--gold-light),
    var(--gold)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}
.service-card:hover::before {
  transform: scaleX(1);
}

/* Bottom gradient fade for readability */
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75%;
  background: linear-gradient(
    to top,
    rgba(10, 6, 0, 0.92) 0%,
    rgba(10, 6, 0, 0.5) 60%,
    transparent 100%
  );
  z-index: 1;
  transition: height 0.35s ease;
}
.service-card:hover::after {
  height: 100%;
}

/* Content on top of overlay */
.service-card .card-content {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  text-align: center;
  transform: translateY(0);
  transition: transform 0.35s ease;
}
.service-card:hover .card-content {
  transform: translateY(-6px);
}

.service-card:hover {
  box-shadow: 0 24px 60px rgba(200, 151, 58, 0.3);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(200, 151, 58, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

/* WA BUTTON */
.wa-btn {
  background: #25d366;
  color: white;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.wa-btn:hover {
  background: #128c4a;
  transform: scale(1.04);
}

/* TENTANG KAMI */
.about-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0f1a2e 100%);
  color: white;
}
.about-section h2 {
  color: var(--gold-light);
}
.about-section p {
  color: #c8d5e8;
}

/* FOOTER */
footer {
  background: #12100a;
  border-top: 3px solid var(--gold);
}
footer a {
  color: var(--gold-light);
  transition: color 0.2s;
}
footer a:hover {
  color: #fff;
}

/* STICKY CTA */
.sticky-cta {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  background: #25d366;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  animation: pulse-green 2s infinite;
  cursor: pointer;
  text-decoration: none;
  font-family: "Nunito", sans-serif;
  font-size: 0.9rem;
}
@keyframes pulse-green {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 36px rgba(37, 211, 102, 0.7);
  }
}

/* NAV LINKS */
.nav-link {
  color: #d4b87a;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.nav-link:hover {
  color: #fff;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #1a1209;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  display: block;
  height: 3px;
  width: 60%;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 8px;
}

/* FADE IN */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* SLIDER */
.img-slider {
  overflow: hidden;
  border-radius: 16px;
}
.img-slider img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
}
