/* =========================================================
   Spa Theme — Custom Styles
   ========================================================= */

:root {
  --cream: #F8F3EA;
  --beige: #E8D8C3;
  --gold: #C5A46D;
  --gold-dark: #a9895a;
  --dark-brown: #3B2F2F;
  --white: #FFFFFF;
  --charcoal: #252525;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Poppins', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background-color: var(--cream);
  font-weight: 300;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-serif {
  font-family: var(--font-serif);
  color: var(--dark-brown);
}

a { text-decoration: none; }

.section-padding { padding: 90px 0; }

@media (max-width: 767.98px) {
  .section-padding { padding: 55px 0; }
}

.bg-cream { background-color: var(--cream); }
.bg-beige { background-color: var(--beige); }
.bg-charcoal { background-color: var(--charcoal); }
.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; }

.section-label {
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-divider {
  width: 70px;
  height: 3px;
  background: var(--gold);
  margin: 18px auto;
  border: none;
  border-radius: 2px;
}
.section-divider.align-start { margin-left: 0; }

.lead-text {
  color: #5c5450;
  font-weight: 300;
  font-size: 1.05rem;
}

/* Buttons */
.btn-gold {
  background-color: var(--gold);
  border: 1px solid var(--gold);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.35s ease;
}
.btn-gold:hover, .btn-gold:focus {
  background-color: var(--dark-brown);
  border-color: var(--dark-brown);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59,47,47,0.25);
}

.btn-outline-gold {
  background-color: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 11px 32px;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.35s ease;
}
.btn-outline-gold:hover {
  background-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light-gold {
  background-color: transparent;
  border: 1.5px solid var(--white);
  color: var(--white);
  padding: 11px 32px;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.35s ease;
}
.btn-outline-light-gold:hover {
  background-color: var(--white);
  color: var(--dark-brown);
}

/* =========================================================
   Header / Navigation
   ========================================================= */
.navbar {
  background-color: rgba(248,243,234,0.97);
  padding: 14px 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}
.navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.navbar-brand {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark-brown) !important;
  letter-spacing: 1px;
}
.navbar-brand span { color: var(--gold); }
.navbar-nav .nav-link {
  color: var(--dark-brown) !important;
  font-weight: 500;
  margin: 0 12px;
  position: relative;
  padding: 8px 0 !important;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 100%; }
.navbar-nav .nav-link:hover { color: var(--gold-dark) !important; }

.btn-call-nav {
  background-color: var(--gold);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-call-nav:hover { background-color: var(--dark-brown); color: var(--white); }

/* Mobile fixed bottom CTA */
.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1040;
  display: none;
  background: var(--dark-brown);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}
.mobile-cta-bar a {
  flex: 1;
  text-align: center;
  padding: 14px 0;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
}
.mobile-cta-bar a:first-child { background: var(--gold); }
.mobile-cta-bar a i { margin-right: 6px; }
@media (max-width: 991.98px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 54px; }
}

/* =========================================================
   Hero Section
   ========================================================= */
.hero-carousel { position: relative; }
.hero-slide {
  height: 100vh;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37,26,20,0.55) 0%, rgba(37,26,20,0.68) 100%);
}
.hero-slide .container { display: flex; justify-content: center; }
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 720px;
  text-align: center;
}
.hero-content .section-label { color: var(--gold); }
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: #f1e9dd;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-content .btn-gold { margin: 0 auto; }
.hero-carousel .carousel-indicators { bottom: 30px; }
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px;
  border-radius: 50%;
  background-color: var(--white);
  opacity: 0.5;
  border: none;
  margin: 0 6px;
}
.hero-carousel .carousel-indicators .active { opacity: 1; background-color: var(--gold); }
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next { width: 6%; }
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  background-color: rgba(255,255,255,0.15);
  border-radius: 50%;
  padding: 22px;
  background-size: 45%;
}

/* =========================================================
   About Section
   ========================================================= */
.about-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(59,47,47,0.18);
}
.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gold);
  color: var(--white);
  padding: 22px 26px;
  border-radius: 14px;
  box-shadow: 0 15px 30px rgba(197,164,109,0.35);
  text-align: center;
}
.about-badge .num {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.about-badge .lbl { font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; }
@media (max-width: 767.98px) {
  .about-badge { right: 10px; bottom: -18px; padding: 14px 16px; }
}

.about-highlights { list-style: none; padding: 0; margin: 24px 0; }
.about-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-weight: 400;
  color: var(--dark-brown);
}
.about-highlights li i {
  color: var(--gold);
  font-size: 1.15rem;
  background: var(--beige);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =========================================================
   Service Cards
   ========================================================= */
.service-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(59,47,47,0.08);
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid rgba(197,164,109,0.12);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(59,47,47,0.16);
}
.service-img {
  overflow: hidden;
  height: 220px;
  position: relative;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img img { transform: scale(1.1); }
.service-body { padding: 24px; }
.service-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.service-body p {
  color: #6b625c;
  font-size: 0.92rem;
  margin-bottom: 18px;
  min-height: 62px;
}
.service-body .btn-outline-gold,
.service-body .btn-gold {
  padding: 8px 14px;
  font-size: 0.85rem;
}
.service-body .btn-row {
  display: flex;
  gap: 10px;
}
.service-body .btn-row .btn { flex: 1; }

/* Ready to Relax band */
.ready-relax {
  background: var(--beige);
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  margin-top: 20px;
}

/* =========================================================
   Why Choose Us
   ========================================================= */
.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  height: 100%;
  box-shadow: 0 6px 20px rgba(59,47,47,0.06);
  transition: all 0.35s ease;
}
.feature-card:hover {
  background: var(--dark-brown);
  transform: translateY(-6px);
}
.feature-card:hover h3,
.feature-card:hover p { color: var(--white); }
.feature-card:hover .feature-icon {
  background: var(--gold);
  color: var(--white);
}
.feature-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  transition: all 0.35s ease;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; transition: color 0.35s ease; }
.feature-card p { color: #6b625c; font-size: 0.92rem; margin-bottom: 0; transition: color 0.35s ease; }

/* =========================================================
   Facilities
   ========================================================= */
.facility-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
}
.facility-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.facility-card:hover img { transform: scale(1.08); }
.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37,26,20,0.05) 30%, rgba(37,26,20,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: var(--white);
}
.facility-overlay i { color: var(--gold); font-size: 1.5rem; margin-bottom: 8px; }
.facility-overlay h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 4px; }
.facility-overlay p { font-size: 0.85rem; margin: 0; opacity: 0.9; }

.facility-chip {
  background: var(--white);
  border-radius: 50px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 18px rgba(59,47,47,0.08);
  font-weight: 500;
  color: var(--dark-brown);
  height: 100%;
}
.facility-chip i { color: var(--gold); font-size: 1.3rem; }

/* =========================================================
   CTA Section
   ========================================================= */
.cta-section {
  position: relative;
  background: url('../images/cta-bg.jpg') center/cover no-repeat fixed;
  padding: 100px 0;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(37,26,20,0.72);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { color: var(--white); }
.cta-section p { color: #f1e9dd; }

/* =========================================================
   Contact
   ========================================================= */
.contact-info-card {
  background: var(--white);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(59,47,47,0.08);
  margin-bottom: 16px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-info-card i {
  width: 46px; height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-info-card h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-card p { margin-bottom: 0; color: #6b625c; font-size: 0.92rem; }

.contact-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(59,47,47,0.1);
}
.form-control, .form-select {
  border: 1px solid #e2d9cc;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
  background-color: var(--cream);
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(197,164,109,0.2);
  background-color: var(--white);
}
.form-label { font-weight: 500; font-size: 0.88rem; color: var(--dark-brown); margin-bottom: 6px; }

.map-embed-wrap {
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  margin-top: 20px;
  box-shadow: 0 8px 25px rgba(59,47,47,0.08);
}
.map-embed-wrap iframe { width: 100%; height: 100%; border: 0; }
.map-embed-wrap-large { height: 100%; min-height: 420px; margin-top: 0; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--charcoal);
  color: #cfc7bd;
  padding: 70px 0 0;
}
.footer h5 {
  color: var(--white);
  font-family: var(--font-serif);
  margin-bottom: 20px;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 700;
}
.footer-brand span { color: var(--gold); }
.footer-tagline { color: var(--gold); letter-spacing: 2px; font-size: 0.82rem; text-transform: uppercase; margin-top: 8px; }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { color: #cfc7bd; transition: color 0.3s ease; }
.footer ul li a:hover { color: var(--gold); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.footer-social a:hover { background: var(--gold); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 50px;
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #9a9088;
}
.footer-simple { padding: 0; }
.footer-simple .footer-bottom { margin-top: 0; border-top: none; padding: 22px 0; }

/* =========================================================
   Modal (Enquiry)
   ========================================================= */
.enquiry-modal .modal-content {
  border-radius: 18px;
  border: none;
  overflow: hidden;
}
.enquiry-modal .modal-header {
  background: var(--dark-brown);
  border: none;
  padding: 22px 28px;
}
.enquiry-modal .modal-title { color: var(--white); font-family: var(--font-serif); }
.enquiry-modal .btn-close { filter: invert(1); }
.enquiry-modal .modal-body { padding: 30px 28px; }

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

/* Prevent Bootstrap's modal scrollbar-compensation padding from
   creating blank space on the right (especially on mobile, where
   there is no real scrollbar to compensate for). */
body.modal-open {
  padding-right: 0 !important;
  overflow-y: hidden;
}
body.modal-open .navbar.fixed-top,
body.modal-open .mobile-cta-bar,
body.modal-open .floating-call,
body.modal-open .floating-enquire,
body.modal-open .back-to-top {
  padding-right: 0 !important;
  margin-right: 0 !important;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 92px;
  right: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1030;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.back-to-top.show { opacity: 1; visibility: visible; }
@media (max-width: 991.98px) { .back-to-top { bottom: 142px; } }

/* Floating Call Icon */
.floating-call {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 1030;
  box-shadow: 0 8px 22px rgba(197,164,109,0.45);
  animation: pulse-call 2.2s infinite;
}
.floating-call:hover { background: var(--dark-brown); color: var(--white); }
@keyframes pulse-call {
  0% { box-shadow: 0 0 0 0 rgba(197,164,109,0.55); }
  70% { box-shadow: 0 0 0 16px rgba(197,164,109,0); }
  100% { box-shadow: 0 0 0 0 rgba(197,164,109,0); }
}
@media (max-width: 991.98px) { .floating-call { bottom: 70px; } }

/* Floating Enquire Now (right side, rotated vertical tab) */
.floating-enquire {
  position: fixed;
  right: 0;
  top: 55%;
  transform: translateY(-50%);
  z-index: 1030;
  background: var(--dark-brown);
  color: var(--white);
  padding: 16px 12px;
  border-radius: 10px 0 0 10px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  writing-mode: vertical-rl;
  box-shadow: -6px 6px 20px rgba(0,0,0,0.18);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.floating-enquire:hover { background: var(--gold); color: var(--white); padding-right: 18px; box-shadow: -8px 8px 24px rgba(0,0,0,0.25); }
@media (max-width: 575.98px) { .floating-enquire { display: none; } }
