/* =============================================
   Site stylesheet — component classes layered on
   top of Tailwind's utilities (loaded via CDN in
   templates/header.php). Colors here are duplicated
   from the Tailwind theme config in header.php since
   this file can't read PHP/site_settings — if you
   change theme_primary_color/theme_accent_color in
   Site Settings, update the hex values below to match.
   ============================================= */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", sans-serif;
  background: #ffffff;
}

h1,
h2,
h3,
.font-serif {
  font-family: "Playfair Display", Georgia, serif;
}

/* ---- Section heading underline ---- */
.section-heading {
  position: relative;
  display: inline-block;
}
.section-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #c9a84c;
  margin: 10px auto 0;
}

/* ---- Gold divider line ---- */
.gold-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a84c, transparent);
  margin: 0 auto;
}

/* ---- Hero overlay ---- */
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(26, 46, 39, 0.82) 0%,
    rgba(26, 46, 39, 0.4) 100%
  );
}

/* ---- Service card hover ---- */
.service-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(44, 74, 62, 0.12);
}

/* ---- Testimonial quote mark ---- */
.testimonial-card {
  position: relative;
}
.testimonial-card::before {
  content: "\201C";
  font-family: "Playfair Display", serif;
  font-size: 5rem;
  color: #c9a84c;
  opacity: 0.25;
  position: absolute;
  top: -10px;
  left: 16px;
  line-height: 1;
  pointer-events: none;
}

/* ---- Buttons ---- */
.btn-primary {
  background: #c9a84c;
  color: #1a2e27;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  display: inline-block;
  transition:
    background 0.2s,
    transform 0.2s;
  text-decoration: none;
}
.btn-primary:hover {
  background: #e2c97a;
  transform: translateY(-2px);
}

.btn-forest {
  background: #2c4a3e;
  color: #fff;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  display: inline-block;
  transition:
    background 0.2s,
    transform 0.2s;
  text-decoration: none;
}
.btn-forest:hover {
  background: #3d6355;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid #c9a84c;
  color: #c9a84c;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  display: inline-block;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-outline:hover {
  background: #c9a84c;
  color: #1a2e27;
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  display: inline-block;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-outline-white:hover {
  background: #fff;
  color: #2c4a3e;
  transform: translateY(-2px);
}

/* ---- Page hero banner ---- */
.page-hero {
  background: linear-gradient(135deg, #1a2e27 0%, #2c4a3e 100%);
  padding: 4rem 1rem;
  text-align: center;
}

/* ---- Form inputs ---- */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #d1c4b0;
  border-radius: 6px;
  background: #fff;
  font-family: "Lato", sans-serif;
  color: #374151;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-input:focus {
  border-color: #2c4a3e;
  box-shadow: 0 0 0 3px rgba(44, 74, 62, 0.12);
}

/* ---- Fade in animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}
.fade-in-delay-1 {
  animation: fadeInUp 0.6s ease 0.15s both;
}
.fade-in-delay-2 {
  animation: fadeInUp 0.6s ease 0.3s both;
}
.fade-in-delay-3 {
  animation: fadeInUp 0.6s ease 0.45s both;
}

/* ---- Pricing badge ---- */
.pricing-card-featured {
  border: 2px solid #c9a84c;
  position: relative;
}
.pricing-badge {
  background: #c9a84c;
  color: #1a2e27;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 12px;
  border-radius: 20px;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion-item {
  border-bottom: 1px solid #e5ddd0;
}
.accordion-item:last-child {
  border-bottom: none;
}

.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0.15rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Lato", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2c4a3e;
  line-height: 1.4;
  transition: color 0.25s ease;
}

.accordion-btn:hover {
  color: #c9a84c;
}

.accordion-btn:focus-visible {
  outline: 2px solid #c9a84c;
  outline-offset: 3px;
  border-radius: 4px;
}

.accordion-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border: 1.5px solid #c9a84c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a84c;
  background: transparent;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.accordion-btn[aria-expanded="true"] {
  color: #c9a84c;
}

.accordion-btn[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
  background: #c9a84c;
  border-color: #c9a84c;
  color: #fff;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body p {
  margin: 0;
  padding: 0 0.15rem 1.35rem;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   MODAL
   ============================================================ */
#booking-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#booking-modal.active {
  pointer-events: all;
  opacity: 1;
}
#booking-modal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 46, 39, 0.65);
  backdrop-filter: blur(3px);
}
#booking-modal .modal-box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}
#booking-modal.active .modal-box {
  transform: scale(1) translateY(0);
}
.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.2s;
}
.modal-close-btn:hover {
  color: #2c4a3e;
}

/* ---- checkmark animation ---- */
@keyframes checkDraw {
  from {
    stroke-dashoffset: 60;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.check-circle {
  animation: fadeInUp 0.4s ease both;
}
.check-path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: checkDraw 0.5s ease 0.3s forwards;
}

/* ---- Section divider wave ---- */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
