/* ============================================================
   The Farm at San Benito - Main Stylesheet
   Premium Eco-Wellness Resort | Lipa, Batangas, Philippines
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  /* Brand Colors */
  --color-primary: #2d5a3d;        /* Deep Forest Green */
  --color-primary-dark: #1e3d2a;   /* Darker Forest Green */
  --color-primary-light: #4a7a5a;  /* Lighter Forest Green */
  --color-secondary: #c9a84c;      /* Warm Gold */
  --color-secondary-dark: #a8863a; /* Darker Gold */
  --color-secondary-light: #e0c47a;/* Lighter Gold */
  --color-accent: #8ba888;         /* Sage Green */
  --color-cream: #f7f3ee;          /* Warm Cream */
  --color-cream-dark: #ede7de;     /* Darker Cream */
  --color-brown: #3d2110;          /* Rich Dark Brown */
  --color-brown-light: #6b4423;    /* Medium Brown */
  --color-white: #ffffff;
  --color-black: #0a0a0a;
  --color-text: #2a2a2a;
  --color-text-light: #6b7280;
  --color-text-muted: #9ca3af;

  /* Typography */
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Lato', 'Helvetica Neue', sans-serif;
  --font-elegant: 'Cormorant Garamond', 'Garamond', serif;

  /* Spacing */
  --section-padding: 100px;
  --section-padding-sm: 60px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;

  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.18);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--color-brown);
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-brown);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-family: var(--font-elegant);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--color-text-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 2rem;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  line-height: 1.8;
  max-width: 650px;
}

/* ---- Utility Classes ---- */
.text-gold { color: var(--color-secondary); }
.text-green { color: var(--color-primary); }
.text-cream { color: var(--color-cream); }
.text-brown { color: var(--color-brown); }

.bg-primary { background-color: var(--color-primary); }
.bg-cream { background-color: var(--color-cream); }
.bg-brown { background-color: var(--color-brown); }
.bg-dark-green { background-color: var(--color-primary-dark); }

.section-padding {
  padding: var(--section-padding) 0;
}

.section-padding-sm {
  padding: var(--section-padding-sm) 0;
}

/* ---- Buttons ---- */
.btn-resort {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2.25rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 0;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.btn-resort::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left var(--transition-medium);
}

.btn-resort:hover::before {
  left: 0;
}

.btn-primary-resort {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary-resort:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 90, 61, 0.35);
}

.btn-gold {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}

.btn-gold:hover {
  background-color: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35);
}

.btn-outline-resort {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-resort:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-outline-gold:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

/* ---- Divider ---- */
.resort-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.resort-divider::before,
.resort-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-secondary);
  opacity: 0.4;
}

.resort-divider .divider-icon {
  color: var(--color-secondary);
  font-size: 1.25rem;
}

/* ---- Navbar ---- */
#mainNavbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--transition-medium);
  background-color: transparent;
}

#mainNavbar.scrolled {
  background-color: rgba(10, 20, 15, 0.97);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#mainNavbar.scrolled-light {
  background-color: rgba(247, 243, 238, 0.97);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.navbar-brand .brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: 0.03em;
  transition: color var(--transition-fast);
}

.navbar-brand .brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-secondary);
  line-height: 1;
}

#mainNavbar.scrolled-light .navbar-brand .brand-name {
  color: var(--color-brown);
}

.navbar-nav .nav-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.5rem 1rem !important;
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--color-secondary);
  transition: width var(--transition-medium);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 70%;
}

.navbar-nav .nav-link:hover {
  color: var(--color-secondary) !important;
}

#mainNavbar.scrolled-light .navbar-nav .nav-link {
  color: var(--color-brown) !important;
}

#mainNavbar.scrolled-light .navbar-nav .nav-link:hover {
  color: var(--color-primary) !important;
}

.nav-contact {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-contact:hover { color: var(--color-secondary); }

#mainNavbar.scrolled-light .nav-contact { color: var(--color-brown); }

#mainNavbar.scrolled-light .nav-contact:hover { color: var(--color-primary); }

.navbar-cta {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.6rem 1.5rem !important;
}

/* Dropdown */
.dropdown-menu {
  background-color: rgba(10, 20, 15, 0.97);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 0;
  padding: 1rem 0;
  min-width: 220px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.65rem 1.5rem;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background-color: rgba(201, 168, 76, 0.1);
  color: var(--color-secondary);
  padding-left: 2rem;
}

/* Mobile toggler */
.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.4rem 0.75rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Hero Section ---- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slide.active img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 20, 15, 0.65) 0%,
    rgba(10, 20, 15, 0.35) 50%,
    rgba(10, 20, 15, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--color-white);
  padding: 0 1rem;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.0;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.5s forwards;
}

.hero-title .accent-line {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--color-secondary-light);
}

.hero-subtitle {
  font-family: var(--font-elegant);
  font-size: clamp(1.0625rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.7s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.9s forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  animation: bounce 2s ease infinite;
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-slider-nav {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-dot.active {
  background: var(--color-secondary);
  width: 24px;
  border-radius: 4px;
}

/* ---- Booking Bar ---- */
.booking-bar {
  background-color: var(--color-primary-dark);
  padding: 1.5rem 0;
  position: relative;
  z-index: 100;
}

.booking-bar-inner {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.booking-field {
  flex: 1;
  min-width: 150px;
}

.booking-field label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 0.5rem;
}

.booking-field .form-control,
.booking-field .form-select {
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border-radius: 0;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
}

.booking-field .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.booking-field .form-control:focus,
.booking-field .form-select:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-secondary);
  box-shadow: none;
  color: var(--color-white);
}

.booking-field .form-select option {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

/* ---- Welcome Section ---- */
.welcome-section {
  padding: 120px 0;
  background-color: var(--color-cream);
  overflow: hidden;
}

.welcome-image-wrapper {
  position: relative;
}

.welcome-image-main {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.welcome-image-accent {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 55%;
  height: 280px;
  object-fit: cover;
  border: 8px solid var(--color-cream);
}

.welcome-awards {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.award-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.award-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  line-height: 1.4;
}

/* ---- Iconic Sanctuaries / Features ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  transition: all var(--transition-medium);
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 0;
  background: var(--color-secondary);
  transition: height var(--transition-medium);
}

.feature-card:hover::before {
  height: 40px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(45, 90, 61, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: all var(--transition-medium);
}

.feature-card:hover .feature-icon {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.1);
}

.feature-card h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--color-brown);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ---- Accommodation Section ---- */
.accommodation-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
}

.room-card {
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-medium);
}

.room-card:hover {
  transform: translateY(-6px);
}

.room-card-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.room-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.room-card:hover .room-card-image img {
  transform: scale(1.08);
}

.room-card-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  z-index: 2;
}

/* ---- Room Card Auto Slider ---- */
.room-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.room-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.room-slide.active {
  opacity: 1;
}

.room-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  z-index: 2;
}

.room-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-primary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.room-card-image:hover .room-arrow,
.room-arrow:focus-visible {
  opacity: 1;
}

.room-arrow:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

.room-arrow-prev {
  left: 0.75rem;
}

.room-arrow-next {
  right: 0.75rem;
}

/* ---- Selectable Room Cards (booking picker) ---- */
.room-card.selectable {
  cursor: pointer;
}

.room-card.selectable:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

.room-card.selectable.selected {
  box-shadow: 0 0 0 3px var(--color-secondary);
}

.room-selected-tag {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 0.3rem;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
}

.room-card.selectable.selected .room-selected-tag {
  display: flex;
}

.room-picker-price {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-primary);
  white-space: nowrap;
  line-height: 1.1;
  text-align: right;
}

.room-picker-price small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

/* ---- Promo pricing ---- */
.room-picker-price del {
  display: block;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  color: var(--color-text-light);
  font-weight: 400;
}

.promo-off {
  color: var(--color-secondary);
  font-weight: 700;
}

.rate-orig {
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--color-text-light);
  font-weight: 400;
}

.promo-badge {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-brown);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  vertical-align: middle;
  margin-left: 0.35rem;
}

.room-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.room-dot.active {
  background: var(--color-secondary);
  width: 16px;
  border-radius: 3px;
}

.room-card-body {
  padding: 1.75rem;
  background: var(--color-cream);
  border-top: 2px solid var(--color-secondary);
}

.room-card-name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--color-brown);
  margin-bottom: 0.5rem;
}

.room-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.room-card-amenities {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.room-amenity {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.room-amenity i {
  color: var(--color-primary);
  font-size: 0.875rem;
}

/* ---- Dining Section ---- */
.dining-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-primary-dark);
  position: relative;
  overflow: hidden;
}

.dining-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/dining/restaurant.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.restaurant-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  transition: all var(--transition-medium);
}

.restaurant-card-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.restaurant-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.restaurant-card:hover .restaurant-card-image img {
  transform: scale(1.1);
}

.restaurant-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(10, 20, 15, 0.9) 0%, transparent 100%);
}

.restaurant-type {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 0.4rem;
}

.restaurant-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 0.4rem;
}

.restaurant-hours {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.restaurant-desc {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  line-height: 1.7;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

/* ---- Spa Section ---- */
.spa-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-cream);
}

.spa-program-card {
  padding: 2.5rem;
  background: var(--color-white);
  border-left: 3px solid var(--color-secondary);
  margin-bottom: 1.5rem;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-soft);
}

.spa-program-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-medium);
}

.spa-program-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-brown);
  margin-bottom: 0.5rem;
}

.spa-program-desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.spa-program-duration {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- Experiences Section ---- */
.experiences-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
}

.experience-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.experience-card-inner {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.experience-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.experience-card:hover .experience-card-inner img {
  transform: scale(1.1);
}

.experience-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(to top, rgba(10, 20, 15, 0.92) 0%, transparent 100%);
  transform: translateY(70px);
  transition: transform var(--transition-medium);
}

.experience-card:hover .experience-card-content {
  transform: translateY(0);
}

.experience-category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 0.5rem;
}

.experience-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.experience-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  opacity: 0;
  transition: opacity var(--transition-medium) 0.1s;
}

.experience-card:hover .experience-desc {
  opacity: 1;
}

/* ---- Offers Section ---- */
.offers-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-primary-dark);
}

.offer-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 2.5rem;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--color-secondary), transparent);
}

.offer-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.offer-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 0.75rem;
}

.offer-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.offer-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.offer-highlights {
  margin-bottom: 2rem;
}

.offer-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}

.offer-highlight i {
  color: var(--color-secondary);
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* ---- Gallery Section ---- */
.gallery-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-item:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
}

.gallery-item:nth-child(2) {
  grid-column: span 5;
}

.gallery-item:nth-child(3) {
  grid-column: span 3;
}

.gallery-item:nth-child(4) {
  grid-column: span 2;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 15, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
  background: rgba(10, 20, 15, 0.4);
}

.gallery-overlay i {
  color: var(--color-white);
  font-size: 2rem;
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--transition-medium);
}

.gallery-item:hover .gallery-overlay i {
  opacity: 1;
  transform: scale(1);
}

/* ---- Lightbox ---- */
.lightbox-modal .modal-content {
  background: rgba(10, 20, 15, 0.97);
  border: none;
  border-radius: 0;
}

.lightbox-modal .modal-body {
  padding: 0.5rem;
}

.lightbox-modal .modal-header {
  border: none;
  padding: 1rem;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
}

.lightbox-modal .btn-close {
  filter: invert(1);
}

.lightbox-modal img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

/* ---- Testimonials ---- */
.testimonials-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
}

.testimonial-card {
  padding: 3rem 2.5rem;
  background: var(--color-cream);
  position: relative;
  margin: 1rem;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-family: var(--font-serif);
  font-size: 8rem;
  color: var(--color-secondary);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-stars {
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.testimonial-quote {
  font-family: var(--font-elegant);
  font-size: 1.125rem;
  color: var(--color-text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-brown);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.testimonial-origin {
  font-size: 0.75rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

/* ---- CTA Section ---- */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero/resort-aerial.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 15, 0.7);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
}

.cta-content .section-title {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-content .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
}

/* ---- Footer ---- */
.site-footer {
  background-color: var(--color-brown);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 80px;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  display: block;
}

.footer-brand-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-secondary);
  padding-left: 0.5rem;
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--color-secondary);
  font-size: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 4rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-secondary);
}

/* ---- Page Hero (Inner Pages) ---- */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 450px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 20, 15, 0.7) 0%, rgba(10, 20, 15, 0.3) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
}

.page-breadcrumb {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
}

.page-breadcrumb a {
  color: var(--color-secondary);
}

.page-breadcrumb span:not(:last-child)::after {
  content: ' / ';
  color: rgba(255, 255, 255, 0.4);
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-family: var(--font-elegant);
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  max-width: 550px;
}

/* ---- Section with Side Image ---- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 550px;
}

.split-image {
  position: relative;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem;
  background: var(--color-cream);
}

.split-content.dark {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.split-content.dark .section-title {
  color: var(--color-white);
}

.split-content.dark .section-subtitle,
.split-content.dark .section-desc {
  color: rgba(255, 255, 255, 0.75);
}

/* ---- Wellness Programs ---- */
.program-card {
  padding: 2.5rem;
  background: var(--color-white);
  border-radius: 0;
  border-top: 3px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-medium);
  height: 100%;
}

.program-card:hover {
  border-top-color: var(--color-secondary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.program-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.program-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-brown);
  margin-bottom: 0.75rem;
}

.program-duration {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.program-desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ---- Form Styling ---- */
.form-resort .form-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.form-resort .form-control,
.form-resort .form-select {
  border: 1px solid rgba(45, 90, 61, 0.2);
  border-radius: 0;
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast);
}

.form-resort .form-control:focus,
.form-resort .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

.form-resort textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes shimmer {
  from { background-position: -200% center; }
  to { background-position: 200% center; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ---- Swiper custom ---- */
.swiper-pagination-bullet {
  background: var(--color-secondary) !important;
  opacity: 0.4;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
}

/* ---- Back to Top ---- */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-medium);
  z-index: 999;
  font-size: 1.125rem;
}

#backToTop.visible {
  opacity: 1;
  pointer-events: all;
}

#backToTop:hover {
  background: var(--color-secondary);
  transform: translateY(-3px);
}

/* ---- Events Section ---- */
.events-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-cream);
}

.event-venue-card {
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
}

.event-venue-card-image {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.event-venue-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.event-venue-card:hover .event-venue-card-image img {
  transform: scale(1.08);
}

.event-venue-info {
  padding: 1.75rem;
  background: var(--color-white);
}

.event-venue-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-brown);
  margin-bottom: 0.5rem;
}

.event-venue-capacity {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

/* ---- Reservation Page ---- */
.reservation-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-cream);
}

.reservation-info {
  background: var(--color-primary-dark);
  padding: 3rem;
  color: var(--color-white);
  height: 100%;
}

.reservation-info h3 {
  font-family: var(--font-serif);
  color: var(--color-white);
  margin-bottom: 2rem;
}

.reservation-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.reservation-info-item i {
  color: var(--color-secondary);
  font-size: 1.25rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.reservation-info-item div {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.reservation-form-wrapper {
  background: var(--color-white);
  padding: 3rem;
  box-shadow: var(--shadow-medium);
}

/* ---- Contact Section ---- */
.contact-section {
  padding: var(--section-padding) 0;
}

.contact-map-wrapper {
  height: 450px;
  position: relative;
  overflow: hidden;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- Notice / Alert ---- */
.resort-notice {
  background: rgba(45, 90, 61, 0.08);
  border-left: 3px solid var(--color-primary);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .split-content {
    padding: 3.5rem;
  }
  
  :root {
    --section-padding: 80px;
  }
}

@media (max-width: 992px) {
  .split-section {
    grid-template-columns: 1fr;
  }
  
  .split-image {
    height: 400px;
  }
  
  .split-content {
    padding: 3rem 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
    height: 250px;
  }

  .welcome-image-accent {
    display: none;
  }

  .welcome-awards {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.75rem 0 !important;
  }

  .booking-bar-inner {
    flex-direction: column;
  }

  .booking-field {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .reservation-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .reservation-info {
    padding: 2rem 1.5rem;
  }
  
  .cta-section {
    padding: 80px 0;
  }
  
  .cta-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 576px) {
  .hero-eyebrow {
    font-size: 0.65rem;
  }
  
  .room-card-image {
    height: 240px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 240px !important;
  }

  .hero-slider-nav {
    right: 1rem;
    bottom: 5.5rem;
  }
}

/* ---- Mobile fixes ---- */
@media (max-width: 991.98px) {
  /* iOS Safari zooms the page when a focused input is < 16px — force 16px on all form fields */
  .form-control,
  .form-select,
  .form-resort input,
  .form-resort select,
  .form-resort textarea,
  input[type="date"],
  input[type="number"],
  input[type="tel"],
  input[type="email"],
  input[type="text"] {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .room-card-body .d-flex {
    flex-wrap: wrap;
  }
  .room-picker-price {
    white-space: normal;
    text-align: right;
  }
  .admin-table td {
    padding: 10px;
  }
}

/* ---- Custom Calendar ---- */
.fcal-pop {
  position: absolute;
  z-index: 1060;
  width: 320px;
  background: var(--color-white, #fff);
  border: 1px solid rgba(45, 90, 61, 0.2);
  box-shadow: 0 12px 40px rgba(20, 30, 22, 0.18);
  font-family: var(--font-sans, sans-serif);
}

.fcal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2d5a3d;
  padding: 0.6rem 0.75rem;
}

.fcal-title {
  font-family: var(--font-serif, serif);
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.04em;
}

.fcal-nav {
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  color: #fff;
  width: 30px;
  height: 30px;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
}
.fcal-nav:hover { background: #c9a84c; color: #2d5a3d; }
.fcal-nav:disabled { opacity: 0.25; cursor: default; }
.fcal-nav:disabled:hover { background: rgba(255,255,255,0.12); color: #fff; }

.fcal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 0.75rem;
}

.fcal-dow {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a8c7a;
  padding: 0.3rem 0;
}

.fcal-empty { min-height: 36px; }

.fcal-day {
  min-height: 36px;
  border: 0;
  background: transparent;
  font-size: 0.82rem;
  color: #3d3a34;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.12s, color 0.12s;
}

.fcal-day:hover:not(:disabled):not(.fcal-sel) {
  background: rgba(45, 90, 61, 0.12);
}

.fcal-day.fcal-sel {
  background: #2d5a3d;
  color: #fff;
  font-weight: 700;
}

.fcal-day.fcal-today:not(.fcal-sel) {
  box-shadow: inset 0 0 0 1.5px #c9a84c;
}

.fcal-day.fcal-off {
  color: #c9c3b8;
  cursor: default;
  text-decoration: line-through;
}

/* ---- Room Rates Popup ---- */
.rates-modal {
  border: 0;
  overflow: hidden;
}

.rates-modal-head {
  position: relative;
  background: #2d5a3d;
  color: #fff;
  text-align: center;
  padding: 2rem 1.5rem 1.4rem;
  border-bottom: 3px solid #c9a84c;
}

.rates-close {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}
.rates-close:hover { color: #fff; }

.rates-modal-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c9a84c;
  margin: 0 0 0.4rem;
  font-weight: 700;
}

.rates-modal-title {
  font-family: var(--font-serif, serif);
  font-size: 1.9rem;
  margin: 0 0 0.4rem;
  color: #fff;
}

.rates-modal-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.rates-modal-body {
  background: var(--color-cream, #faf7f0);
  padding: 1.5rem;
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.rates-card {
  background: #fff;
  border: 1px solid rgba(45, 90, 61, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(20, 30, 22, 0.06);
}

.rates-card-media {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.rates-card-media .room-arrow {
  width: 26px;
  height: 26px;
  font-size: 0.7rem;
}

.rates-card-media .room-dots {
  bottom: 0.4rem;
}

.rates-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.rates-card-body {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rates-card-body h4 {
  font-family: var(--font-serif, serif);
  font-size: 1.02rem;
  color: #2d5a3d;
  margin: 0 0 0.15rem;
}

.rates-guests {
  font-size: 0.72rem;
  color: #9a8c7a;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
}

.rates-price {
  margin: 0 0 0.75rem;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.rates-price del {
  color: #b0a695;
  font-size: 0.85rem;
}

.rates-price span {
  color: #2d5a3d;
  font-family: var(--font-serif, serif);
  font-weight: 700;
  font-size: 1.25rem;
}

.rates-price small {
  color: #9a8c7a;
  font-size: 0.7rem;
}

.rates-book {
  margin-top: auto;
  display: block;
  text-align: center;
  background: #2d5a3d;
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.rates-book:hover { background: #c9a84c; color: #2d5a3d; }

@media (max-width: 991px) {
  .rates-grid { grid-template-columns: repeat(2, 1fr); }
  .rates-modal-title { font-size: 1.5rem; }
}

@media (max-width: 575px) {
  .rates-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .rates-card img, .rates-card-media { height: 150px; }
  .rates-modal-head { padding: 1.6rem 1rem 1.1rem; }
  .rates-modal-body { padding: 1rem; }
}

/* ---- Treatment / Program Prices ---- */
.treat-price {
  font-family: var(--font-serif, serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0.35rem 0 0.75rem;
}

.treat-price small {
  font-family: var(--font-sans, sans-serif);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-left: 0.25rem;
}

.treat-price.treat-price-lg { font-size: 1.6rem; }
.treat-price.treat-price-gold { color: var(--color-secondary); }
.treat-price.treat-price-gold small { color: rgba(255, 255, 255, 0.65); }

/* ---- Print ---- */
@media print {
  #mainNavbar,
  #backToTop,
  .hero-scroll-indicator {
    display: none !important;
  }
  
  body {
    color: #000;
  }
}
