/* =========================================================
   SANDY BLISS MIRISSA — MAIN STYLESHEET
   ========================================================= */

:root {
  --teal-dark: #174A45;
  --teal: #174A45;
  --teal-light: #174A45;
  --cream: #f7f3ea;
  --cream-2: #f4efe3;
  --gold: #c9963f;
  --gold-dark: #b8842e;
  --text-dark: #1c1c1a;
  --text-muted: #5c5c56;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Poppins', 'Segoe UI', sans-serif;
  --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.2; }

.section { padding: 80px 24px; max-width: var(--max-width); margin: 0 auto; }
.section-tight { padding-top: 0; padding-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold-dark);
  padding: 8px 18px;
  border-radius: 8px;
  margin-bottom: 16px;
  background: transparent;
}
.eyebrow-light {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(10, 30, 26, 0.45);
  backdrop-filter: blur(2px);
}

.section-heading { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-heading h2 { font-size: 2.3rem; margin-bottom: 12px; }
.section-heading p { color: var(--text-muted); }
.section-heading.light h2 { color: var(--white); }

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}
.section-heading-row h2 { font-size: 2.1rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn:hover { opacity: 0.9; }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-teal { background: var(--teal-dark); color: var(--white); }
.btn-teal:hover { background: var(--teal); }
.btn-teal-outline { background: transparent; color: var(--teal-dark); border-color: var(--teal-dark); }
.btn-teal-outline:hover { background: var(--teal-dark); color: var(--white); }
.btn-blue { background: #2f6fed; color: var(--white); }
.btn-block { display: block; text-align: center; width: 100%; margin-top: 14px; }

/* =========================================================
   HEADER / NAVBAR
   ========================================================= */
.site-header {
  position: fixed;
  top: 10px; left: 10px; right: 10px;
  z-index: 200;
  padding: 14px 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(180deg, rgba(250,250,250,0.15) 0%, rgba(250,250,250,0) 100%), rgba(23, 74, 69, 0.4);
  border: 1px solid rgba(250,250,250,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: top 0.35s ease, left 0.35s ease, right 0.35s ease,
              padding 0.35s ease, border-radius 0.35s ease,
              background 0.35s ease, border-color 0.35s ease,
              box-shadow 0.35s ease;
}

/* When the page is scrolled: navbar stretches to the full width of the page */
.site-header.scrolled {
  top: 0; left: 0; right: 0;
  padding: 8px 24px;
  border-radius: 0;
  border-width: 0 0 1px 0;
  /* background, blur and border colour stay exactly the same as the top state */
}
.site-header.scrolled .logo-img { height: 56px; }
.logo-img { transition: height 0.35s ease; }

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { display: flex; align-items: center; }
.logo-img { height: 68px; width: auto; }
.footer-logo-img { height: 85px; width: auto; }

.main-nav {
  background: rgba(255,255,255,0.92);
  border-radius: 40px;
  padding: 8px 8px;
  flex-shrink: 0;
}
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}
.main-nav a.active,
.main-nav a:hover { background: var(--white); }
.main-nav a.active {
  background: var(--teal-dark);
  color: var(--white);
}

.nav-book-btn { padding: 11px 24px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); display: block; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  margin: 10px 10px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: calc(100vh - 10px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 24px 100px;
}
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;          /* fills the hero without stretching */
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,40,35,0.55) 0%, rgba(10,40,35,0.35) 45%, rgba(10,40,35,0.65) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; color: var(--white); }
.hero-content h1 { font-size: 3.2rem; letter-spacing: 0.02em; margin-bottom: 14px; }
.hero-content h2 { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.5rem; margin-bottom: 18px; }
.hero-content p { font-size: 1rem; max-width: 600px; margin: 0 auto 30px; opacity: 0.95; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.booking-bar {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 10px;
  display: flex;
  align-items: stretch;
  gap: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  width: 92%;
  max-width: 980px;
}
.booking-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cream-2);
  border: 1px solid #eadfc8;
  border-radius: 14px;
  padding: 10px 18px;
  text-align: left;
}
.field-icon { color: var(--teal); font-size: 1.05rem; flex-shrink: 0; }
.field-text { flex: 1; min-width: 0; }
.field-text label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 2px;
}
.field-text input,
.field-text select {
  border: none;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  width: 100%;
  background: transparent;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.field-text input:focus,
.field-text select:focus { outline: none; }
.field-chevron { color: var(--text-muted); font-size: 0.85rem; flex-shrink: 0; }
.booking-submit { border-radius: 14px; flex-shrink: 0; padding: 0 32px; }

/* =========================================================
   WELCOME / ABOUT
   ========================================================= */
.welcome-section { padding-top: 80px; }
.welcome-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 110px;                 /* clear space between the text and the video */
  align-items: center;
}
.welcome-text { padding-right: 10px; }
.welcome-text h2 { font-size: 2.1rem; margin-bottom: 18px; }
.welcome-text p { color: var(--text-muted); margin-bottom: 16px; }
/* "Discover More" - solid green button */
.welcome-text .btn-teal-outline { background: var(--teal-dark); color: var(--white); border-color: var(--teal-dark); }
.welcome-text .btn-teal-outline:hover { background: #0f3733; border-color: #0f3733; color: var(--white); opacity: 1; }
.welcome-image { display: flex; justify-content: flex-end; align-items: center; }
/* Video - rounded corners, no frame, no shadow, no cropping (native aspect ratio) */
.welcome-image video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 620px;
  border: none;
  outline: none;
  border-radius: var(--radius-lg);
  box-shadow: none;
  background: transparent;
}
@media (max-width: 1199px) { .welcome-grid { gap: 64px; } }
@media (max-width: 991px) {
  .welcome-image video { max-height: 520px; }
  .welcome-image { justify-content: center; }
}

/* =========================================================
   ROOMS / STAY
   ========================================================= */
.stay-section { background: var(--cream-2); max-width: none; border-radius: var(--radius-lg); }
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.room-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.room-img img { width: 100%; height: 190px; object-fit: cover; }
.room-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.room-body p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 14px; }
.room-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); }
.room-icons { display: flex; gap: 10px; }
.room-icons span {
  width: 30px; height: 30px;
  border: 1px solid #e0ddd3;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  color: var(--teal);
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why-section {
  max-width: none;
  background-size: cover;
  background-position: center;
  padding: 0;
}
.why-overlay {
  background: rgba(23, 74, 69, 0.35);
  padding: 70px 24px;
}
.why-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.why-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { font-size: 0.85rem; color: var(--text-muted); }

/* =========================================================
   FACILITIES
   ========================================================= */
.facilities-heading { margin-bottom: 28px; text-align: center; }
.facilities-heading h2 { font-size: 2.1rem; }
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.facility-tile {
  height: 230px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  overflow: hidden;
}
.facility-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}
.facility-tile span {
  position: relative; z-index: 1;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}
/* 6th box of the grid: the "Explore Facilities" button */
.facility-cta {
  height: 230px;
  border-radius: var(--radius-md);
  background: var(--cream-2);
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
}
.facility-cta p { color: var(--text-muted); font-size: 0.92rem; max-width: 220px; }
/* when a background picture is set (Admin > Page Images > Resort Facilities) */
.facility-cta.has-image {
  position: relative;
  overflow: hidden;
  border: none;
  background-size: cover;
  background-position: center;
}
.facility-cta.has-image::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(10,35,30,0.55);
}
.facility-cta.has-image p,
.facility-cta.has-image .btn { position: relative; z-index: 1; }
.facility-cta.has-image p { color: var(--white); font-size: 1rem; font-family: var(--font-serif); }

/* =========================================================
   DISCOVER MIRISSA
   ========================================================= */
.discover-section { background: var(--cream-2); max-width: none; border-radius: var(--radius-lg); }
.discover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.discover-card {
  height: 230px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.discover-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.6) 100%);
}
.discover-text { position: relative; z-index: 1; padding: 18px; color: var(--white); }
.discover-text h3 { font-size: 1.1rem; margin-bottom: 4px; }
.discover-text p { font-size: 0.82rem; opacity: 0.9; }
.discover-cta { text-align: center; margin-top: 40px; }

/* =========================================================
   EVENTS (home page, under Discover Mirissa)
   ========================================================= */
.events-section { padding-top: 90px; }
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 22px rgba(23, 74, 69, 0.08);
  border: 1px solid rgba(23, 74, 69, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.event-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(23, 74, 69, 0.16); }
.event-img { position: relative; height: 210px; overflow: hidden; }
.event-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.event-card:hover .event-img img { transform: scale(1.07); }
.event-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0) 40%);
  pointer-events: none;
}
.event-tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: rgba(23, 74, 69, 0.88);
  color: var(--white);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 20px;
  backdrop-filter: blur(4px);
}
.event-tag i { margin-right: 4px; color: var(--gold); }
.event-date {
  position: absolute; right: 14px; bottom: -1px; z-index: 1;
  background: var(--gold);
  color: var(--white);
  min-width: 62px;
  padding: 8px 10px 7px;
  border-radius: 12px 12px 0 0;
  text-align: center;
  line-height: 1.1;
}
.event-date-day { display: block; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; }
.event-date-sub { display: block; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.92; }
.event-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.event-when { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.event-body h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--teal-dark); }
.event-body > p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }
.event-meta { margin-top: auto; padding-top: 14px; border-top: 1px dashed rgba(23, 74, 69, 0.22); font-size: 0.82rem; color: var(--text-dark); display: grid; gap: 6px; }
.event-meta i { width: 18px; color: var(--teal-dark); }
.event-link { margin-top: 16px; font-size: 0.88rem; font-weight: 600; color: var(--teal-dark); display: inline-flex; align-items: center; gap: 8px; }
.event-link i { transition: transform 0.2s ease; }
.event-link:hover { color: var(--gold-dark); }
.event-link:hover i { transform: translateX(5px); }
.events-cta {
  margin-top: 48px;
  text-align: center;
  background: var(--cream-2);
  border: 1.5px dashed rgba(201, 150, 63, 0.6);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
}
.events-cta p { font-family: var(--font-serif); font-size: 1.15rem; color: var(--teal-dark); }

@media (max-width: 1024px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .events-grid { grid-template-columns: 1fr; }
  .events-cta { flex-direction: column; gap: 16px; }
  .events-cta .btn { width: 100%; text-align: center; }
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 20px;
}
.gallery-item { border-radius: var(--radius-md); overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.item-pool     { grid-column: 1; grid-row: 1; }
.item-fruit    { grid-column: 1; grid-row: 2; }
.item-bedroom  { grid-column: 2; grid-row: 1 / 3; }
.item-fishing  { grid-column: 3; grid-row: 1; }
.item-bathroom { grid-column: 3; grid-row: 2; }

/* =========================================================
   TESTIMONIAL
   ========================================================= */
.testimonial-section {
  max-width: none;
  background-size: cover;
  background-position: center;
  padding: 0;
}
.testimonial-overlay {
  background: rgba(23, 74, 69, 0.72);
  padding: 70px 24px;
  text-align: center;
  width: 100%;
}
.testimonial-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  max-width: 760px;
  margin: 0 auto 20px;
  line-height: 1.5;
}
.stars { color: var(--gold); margin-bottom: 14px; letter-spacing: 4px; }
.testimonial-name { color: var(--white); font-weight: 600; }
.testimonial-source { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* =========================================================
   BLOG / STORIES
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.blog-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; display: block; box-shadow: 0 6px 18px rgba(23,74,69,0.08); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(23,74,69,0.14); }
.blog-img { overflow: hidden; }
.blog-img img { width: 100%; height: 170px; object-fit: cover; display: block; transition: transform 0.35s ease; }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-body { padding: 20px; }
.blog-meta { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gold-dark); }
.blog-body h3 { font-size: 1.1rem; margin: 10px 0 8px; }
.blog-body p { font-size: 0.85rem; color: var(--text-muted); }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  max-width: none;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 0;
}
.cta-overlay {
  background: rgba(23, 74, 69, 0.3);
  padding: 100px 24px;
}
.cta-overlay h2 { color: var(--white); font-size: 2.3rem; margin: 14px 0; }
.cta-overlay p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 26px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--teal-dark); color: rgba(255,255,255,0.85); padding: 60px 24px 0; }
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.3fr 1.5fr;
  gap: 44px;
  align-items: start;
  padding-bottom: 40px;
}
.footer-brand p { margin: 14px 0 18px; font-size: 0.88rem; opacity: 0.8; }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-icons a:hover { background: var(--gold); color: var(--teal-dark); transform: translateY(-2px); }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; line-height: 1.3; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.88rem; }
.contact-list li { display: flex; gap: 8px; align-items: flex-start; }
.contact-list li a:hover { color: var(--gold); }
.info-card a:hover { color: var(--gold-dark); text-decoration: underline; }
.location-heading {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-map { position: relative; border-radius: var(--radius-sm); overflow: hidden; line-height: 0; box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.footer-map iframe { width: 100%; height: 220px; display: block; filter: grayscale(15%); }
.map-thumb {
  position: absolute;
  bottom: 8px;
  width: 46px; height: 46px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--white);
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}
.map-thumb-left { left: 8px; }
.map-thumb-right { right: 8px; }
.map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--gold);
}
.map-directions-link:hover { text-decoration: underline; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal a { margin-left: 18px; }

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px; height: 54px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 90;
}

.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 46px; height: 46px;
  background: var(--teal-dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-dark); }

/* =========================================================
   ABOUT PAGE — Page hero (contained rounded banner)
   ========================================================= */
.page-hero {
  position: relative;
  margin: 10px 10px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  padding: 150px 24px 60px;
}
.page-hero-overlay { position: absolute; inset: 0; background: rgba(10,35,30,0.55); }
.page-hero-content { position: relative; z-index: 2; max-width: 700px; color: var(--white); }
.page-hero-content .eyebrow { margin-bottom: 16px; }
.page-hero-content h1 { font-size: 2.3rem; margin-bottom: 12px; }
.page-hero-content p { opacity: 0.95; }

/* =========================================================
   ABOUT PAGE — Journey (image + text)
   ========================================================= */
.journey-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
.journey-image { display: flex; justify-content: center; align-items: center; }
/* Journey image - rounded corners, fills its column */
.journey-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}
@media (max-width: 991px) {
  .journey-section .journey-grid { grid-template-columns: 1fr; gap: 36px; }
}
.journey-text h2 { font-size: 1.9rem; margin: 14px 0 16px; }
.journey-text p { color: var(--text-muted); margin-bottom: 14px; font-size: 0.92rem; }

/* =========================================================
   ABOUT PAGE — Core Philosophy
   ========================================================= */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* Full-bleed light green background behind the "Our Core Philosophy" section,
   while its content stays inside the normal centered max-width column */
.philosophy-section { position: relative; }
.philosophy-section::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #eaf1e6;
  z-index: -1;
}
.philosophy-card { background: var(--cream-2); border-radius: var(--radius-md); padding: 26px 24px; }
.philosophy-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1rem;
}
.philosophy-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.philosophy-card p { font-size: 0.85rem; color: var(--text-muted); }

/* =========================================================
   ABOUT PAGE — Daily Rituals (zigzag rows)
   ========================================================= */
.ritual-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.experience-section { background: #fbeeee; max-width: none; padding: 80px 24px 50px; }
.experience-section .ritual-row,
.experience-section .section-heading { max-width: var(--max-width); margin-left: auto; margin-right: auto; }
.ritual-image img { border-radius: var(--radius-md); width: 100%; height: 270px; object-fit: cover; }
.ritual-text h3 { font-size: 1.4rem; margin-bottom: 12px; }
.ritual-text p { color: var(--text-muted); font-size: 0.92rem; }
.ritual-row:last-of-type { margin-bottom: 20px; }
.ritual-cta { text-align: center; margin-top: 0; }

/* =========================================================
   ABOUT PAGE — Where to Find Us
   ========================================================= */
.find-us-intro { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.find-us-intro h3 { font-size: 1.6rem; margin-bottom: 12px; }
.find-us-intro p { color: var(--text-muted); font-size: 0.92rem; }
/* 3 places on the left, the map in the middle, 3 places on the right */
.find-us-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.place-col { display: flex; flex-direction: column; gap: 14px; }
.place-col .place-item { flex: 1; margin-bottom: 0; flex-direction: column; justify-content: center; gap: 8px; }
.place-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  background: var(--cream-2);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 14px;
}
.place-item h4 { font-size: 1.02rem; margin-bottom: 6px; }
.place-item p { font-size: 0.85rem; color: var(--text-muted); }
.place-time { color: #2f6fed; font-weight: 600; font-size: 0.85rem; white-space: nowrap; }
.find-us-image { min-height: 420px; }
.find-us-image img { border-radius: var(--radius-lg); width: 100%; height: 100%; min-height: 420px; object-fit: cover; }

/* =========================================================
   FACILITIES PAGE — Room cards with price + amenity dots
   ========================================================= */
.amenity-dots { display: flex; gap: 8px; align-items: center; }
.amenity-dots span { width: 13px; height: 13px; border-radius: 50%; display: inline-block; }
.dot-1 { background: var(--teal-dark); }
.dot-2 { background: var(--cream-2); border: 1px solid #e0d6bd; }
.dot-3 { background: var(--teal-light); }
.room-price { font-family: var(--font-serif); font-weight: 700; color: var(--teal-dark); font-size: 1.15rem; margin: 12px 0; }
.room-price span { font-family: var(--font-sans); font-weight: 400; font-size: 0.8rem; color: var(--text-muted); }
.room-divider { border: none; border-top: 1px solid #eee4d4; margin: 14px 0; }
.room-body .room-divider { margin-top: auto; margin-bottom: 14px; } /* keeps price + button pinned to the bottom of every card */

/* =========================================================
   FACILITIES PAGE — Emerald Pool banner (inset rounded card)
   ========================================================= */
.facility-banner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 24px;
}
.facility-banner-overlay { position: absolute; inset: 0; background: rgba(10,35,30,0.55); }
.facility-banner-content { position: relative; z-index: 2; max-width: 700px; color: var(--white); }
.facility-banner-content .eyebrow { margin-bottom: 16px; }
.facility-banner-content h2 { font-size: 2rem; margin-bottom: 12px; }
.facility-banner-content p { opacity: 0.95; font-size: 0.95rem; }

/* =========================================================
   FACILITIES PAGE — Dining (reuses journey-grid look)
   ========================================================= */
.dining-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.dining-text h2 { font-size: 1.9rem; margin: 14px 0 16px; }
.dining-text p { color: var(--text-muted); margin-bottom: 14px; font-size: 0.92rem; }
.dining-hours { color: var(--teal-dark); font-weight: 600; font-size: 0.9rem; }
.dining-image img { border-radius: var(--radius-lg); width: 100%; height: 400px; object-fit: cover; }

/* =========================================================
   FACILITIES PAGE — Garden & Solitary Nooks (card wrapper)
   ========================================================= */
.nooks-card {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.nooks-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 22px; }
.nook-item { width: calc((100% - 44px) / 3); }
.nook-photo { position: relative; height: 230px; border-radius: var(--radius-md); overflow: hidden; }
.nook-photo img { width: 100%; height: 100%; object-fit: cover; }
.nook-title { margin-top: 14px; font-size: 1.1rem; color: var(--text-dark, inherit); }
.nook-desc { margin-top: 6px; color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.nook-label { position: absolute; bottom: 14px; left: 16px; z-index: 1; color: var(--white); font-weight: 600; font-size: 0.95rem; }

/* =========================================================
   FACILITIES PAGE — Premium Guest Amenities (4-col grid)
   ========================================================= */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 24px;
}
.amenity-item .why-icon { margin-bottom: 14px; }
.amenity-item h4 { font-size: 1rem; margin-bottom: 6px; }
.amenity-item p { font-size: 0.85rem; color: var(--text-muted); }

/* =========================================================
   GALLERY PAGE — Filter tabs + masonry grid
   ========================================================= */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 30px;
  background: var(--white);
  color: var(--text-dark);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  border: 1px solid #ece6d8;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.filter-btn.active,
.filter-btn:hover { background: var(--teal-dark); color: var(--white); border-color: var(--teal-dark); }

.masonry-gallery {
  column-count: 3;
  column-gap: 20px;
}
.masonry-gallery .masonry-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.masonry-gallery .masonry-item img { width: 100%; display: block; }
.masonry-gallery .masonry-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.65) 100%);
}
.masonry-caption {
  position: absolute;
  bottom: 12px; left: 14px; right: 14px;
  z-index: 1;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
}
.masonry-item.hidden { display: none; }
.gallery-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 40px 0;
}

/* =========================================================
   BLOG PAGE — Featured article card
   ========================================================= */
.featured-article {
  max-width: var(--max-width);
  margin: 50px auto 0;
  position: relative;
  z-index: 5;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  overflow: hidden;
}
.featured-image { height: 100%; min-height: 320px; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.blog-meta-row { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; margin-bottom: 12px; }
.blog-meta-row .blog-cat { color: var(--gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.blog-meta-row .dot-sep { color: var(--text-muted); }
.blog-meta-row .blog-date, .blog-meta-row .blog-readtime { color: var(--text-muted); }
.featured-body h2 { font-size: 1.7rem; margin-bottom: 14px; }
.featured-body > p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 20px; }
.blog-author { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.blog-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.blog-author span { font-size: 0.88rem; font-weight: 600; }
.blog-readmore { color: var(--teal-dark); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.blog-readmore:hover { text-decoration: underline; }

/* =========================================================
   BLOG PAGE — Grid cards with category + collage
   ========================================================= */
.blog-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-page-grid .blog-img { height: 170px; }
.blog-page-grid .blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-img-collage { display: flex; gap: 4px; height: 170px; }
.blog-img-collage img { flex: 1; width: 33.33%; height: 100%; object-fit: cover; }
.blog-page-grid .blog-body h3 { font-size: 1.05rem; margin: 10px 0 8px; }
.blog-page-grid .blog-body p { margin-bottom: 14px; }

/* =========================================================
   BLOG PAGE — Pagination
   ========================================================= */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  color: var(--text-dark);
  font-size: 0.85rem;
  border: 1px solid #eee4d4;
}
.pagination a.active { background: var(--teal-dark); color: var(--white); border-color: var(--teal-dark); }
.pagination a:hover:not(.active) { background: var(--cream-2); }
.pagination .disabled { opacity: 0.4; }

/* =========================================================
   BLOG PAGE — Newsletter banner
   ========================================================= */
.newsletter-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.newsletter-overlay { position: absolute; inset: 0; background: rgba(10,35,30,0.6); }
.newsletter-content { position: relative; z-index: 2; max-width: 600px; color: var(--white); }
.newsletter-content .eyebrow { margin-bottom: 16px; }
.newsletter-content h2 { font-size: 2rem; margin-bottom: 10px; }
.newsletter-content p { opacity: 0.9; font-size: 0.92rem; margin-bottom: 26px; }
.newsletter-form { display: flex; gap: 10px; max-width: 500px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 30px;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}
.newsletter-form input:focus { outline: none; }
.newsletter-form button { border-radius: 30px; flex-shrink: 0; border: none; }

/* =========================================================
   CONTACT PAGE — Info cards (address / phone / email)
   ========================================================= */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: var(--max-width);
  margin: 50px auto 0;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}
.info-card .why-icon { background: var(--cream-2); margin-bottom: 16px; }
.info-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.info-card p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; }

/* =========================================================
   CONTACT PAGE — Message form
   ========================================================= */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-form-text h2 { font-size: 1.9rem; margin: 14px 0 16px; }
.contact-form-text p { color: var(--text-muted); margin-bottom: 14px; font-size: 0.92rem; }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e6e0d0;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  background: var(--cream-2);
  color: var(--text-dark);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--teal); }
.form-group textarea { resize: vertical; min-height: 110px; }
.contact-form-card .btn { width: 100%; border: none; }

/* =========================================================
   CONTACT PAGE — Map banner + getting here
   ========================================================= */
.find-oasis-banner {
  max-width: var(--max-width);
  margin: 0 auto;
  background: #aab8ad;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.find-oasis-banner .eyebrow { margin-bottom: 14px; }
.find-oasis-banner h2 { margin-bottom: 24px; }
.find-oasis-map { border-radius: var(--radius-md); overflow: hidden; line-height: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.find-oasis-map iframe { width: 100%; height: 340px; display: block; border: 0; }

.transit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.transit-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.transit-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.transit-card h4 { font-size: 1.02rem; margin-bottom: 6px; }
.transit-card p { font-size: 0.85rem; color: var(--text-muted); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-book-btn { display: none; }

  .main-nav.open {
    display: block;
    position: absolute;
    top: 70px; left: 24px; right: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 10px;
  }
  .site-header.scrolled .main-nav.open { top: 66px; }
  .main-nav.open ul { flex-direction: column; }

  .welcome-grid { grid-template-columns: 1fr; gap: 36px; }
  .welcome-image { order: -1; }

  .room-grid, .why-grid, .discover-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 180px);
  }
  .item-pool, .item-fruit, .item-bedroom, .item-fishing, .item-bathroom {
    grid-column: auto; grid-row: auto;
  }
}

@media (max-width: 640px) {
  .section { padding: 56px 18px; }
  .hero-content h1 { font-size: 2.1rem; }
  .hero-content h2 { font-size: 1.15rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; text-align: center; }

  .booking-bar { flex-direction: column; border-radius: 16px; bottom: 20px; padding: 10px; }
  .booking-field { width: 100%; }
  .booking-submit { width: 100%; margin-top: 2px; }
  .welcome-section { padding-top: 260px; }

  .room-grid, .why-grid, .discover-grid, .blog-grid, .facilities-grid, .amenities-grid, .blog-page-grid { grid-template-columns: 1fr; }
  .nook-item { width: 100%; }
  .masonry-gallery { column-count: 1; }
  .newsletter-form { flex-direction: column; }
  .featured-body { padding: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 22px; }
  .find-oasis-banner { padding: 22px; }

  .journey-grid, .ritual-row, .find-us-grid { grid-template-columns: 1fr; }
  .find-us-image { grid-column: auto; order: -1; min-height: 0; }
  .dining-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .nook-item { width: calc((100% - 22px) / 2); }
  .nooks-card { padding: 30px 20px; }
  .masonry-gallery { column-count: 2; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-image { min-height: 240px; }
  .blog-page-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-grid { grid-template-columns: 1fr; margin-top: 30px; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .transit-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .place-item { flex-direction: column; }

  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 200px); }
  .item-pool, .item-fruit, .item-bedroom, .item-fishing, .item-bathroom {
    grid-column: auto; grid-row: auto;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal a { margin: 0 8px; }

  .logo-text { font-size: 0.85rem; }
  .cta-overlay h2 { font-size: 1.7rem; }
  .testimonial-quote { font-size: 1.1rem; }
}

/* =========================================================
   ROOM DETAIL PAGE (room-detail.php)
   ========================================================= */
.rd-hero { text-align: center; padding-top: 150px; padding-bottom: 40px; max-width: 760px; }
.rd-hero h1 { font-size: 2.4rem; margin-bottom: 14px; }
.rd-hero p { color: var(--text-muted); }

.rd-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 0;
}

/* ---- Gallery ---- */
.rd-gallery-main { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-bottom: 16px; }
.rd-gallery-main img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius-lg); }
.rd-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 32px; }
.rd-gallery-thumbs img { width: 100%; height: 130px; object-fit: cover; border-radius: var(--radius-md); }

/* ---- Shared card ---- */
.rd-card { background: var(--white); border-radius: var(--radius-md); padding: 26px 24px; box-shadow: 0 6px 24px rgba(0,0,0,0.06); }
.rd-card h3, .rd-card h4 { font-size: 1.05rem; margin-bottom: 16px; }

/* ---- Facilities card ---- */
.rd-facilities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; margin-bottom: 24px; }
.rd-facility-item { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; color: var(--text-dark); }
.rd-facility-item i {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.rd-room-specs { display: flex; gap: 34px; padding-top: 18px; border-top: 1px solid #eee4d4; font-size: 0.8rem; color: var(--text-muted); }
.rd-room-specs strong { display: block; color: var(--text-dark); font-family: var(--font-serif); font-size: 1rem; margin-bottom: 2px; }

/* ---- Sidebar ---- */
.rd-sidebar { display: flex; flex-direction: column; gap: 20px; }
.rd-price-card { text-align: center; }
.rd-price { font-family: var(--font-serif); font-weight: 700; font-size: 1.7rem; color: var(--gold-dark); margin-bottom: 14px; }
.rd-price span { font-family: var(--font-sans); font-weight: 400; font-size: 0.8rem; color: var(--text-muted); }

.rd-cal-head { text-align: center; margin-bottom: 14px; }
.rd-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 0.76rem; }
.rd-cal-grid .rd-cal-dow { color: var(--text-muted); font-weight: 600; padding-bottom: 6px; }
.rd-cal-grid span { padding: 7px 0; border-radius: 8px; color: var(--text-dark); }
.rd-cal-grid .rd-cal-today { background: var(--teal-dark); color: var(--white); font-weight: 700; }
.rd-cal-grid .rd-cal-empty { visibility: hidden; }

.rd-booking-card form { display: flex; flex-direction: column; gap: 12px; }
.rd-booking-card .booking-field { width: 100%; }
.rd-booking-card .btn { margin-top: 4px; }

/* ---- About + testimonial ---- */
.rd-about { max-width: 900px; padding-top: 10px; }
.rd-about h2 { font-size: 1.9rem; margin-bottom: 18px; }
.rd-about > p { color: var(--text-muted); margin-bottom: 14px; font-size: 0.94rem; }
.rd-testimonial-card {
  margin-top: 30px;
  background: var(--teal-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.rd-testimonial-card .fa-quote-left { font-size: 1.5rem; color: var(--gold); margin-bottom: 14px; display: block; }
.rd-testimonial-card .rd-quote { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.6; margin-bottom: 16px; }
.rd-testimonial-card .stars { margin-bottom: 10px; }
.rd-testimonial-name { font-weight: 600; }
.rd-testimonial-source { opacity: 0.75; font-size: 0.85rem; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .rd-layout { grid-template-columns: 1fr; }
  .rd-gallery-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .rd-hero { padding-top: 130px; }
  .rd-gallery-main { grid-template-columns: 1fr; }
  .rd-gallery-main img { height: 240px; }
  .rd-gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
  .rd-facilities-grid { grid-template-columns: 1fr; }
  .rd-room-specs { flex-wrap: wrap; gap: 20px; }
  .rd-testimonial-card { padding: 26px; }
}

/* =========================================================
   HOME PAGE - LINE ART BACKGROUND (welcome / video section only)
   Image: images/line-art-bg.webp  -> shown exactly 2 times (left + right half)
   ========================================================= */
.welcome-section {
  position: relative;
  isolation: isolate;
}
.welcome-section::before,
.welcome-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50vw;                /* each copy fills half of the screen width */
  background-image: url('../images/line-art-bg.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.1;               /* 40% visible = 60% transparent. Change this number: 0.1 (very faint) ... 1 (full) */
  pointer-events: none;
  z-index: -1;
}
.welcome-section::before { left: calc(50% - 50vw); }   /* 1st image (left half) */
.welcome-section::after  { left: 50%; }                /* 2nd image (right half) */

@media (max-width: 768px) {
  .welcome-section::before,
  .welcome-section::after {
    opacity: 0.4;
  }
}

/* =========================================================
   NAVBAR - white pill (logo + menu) centered, Sign In / Book Now
   tucked together in the right corner (desktop).
   On tablet / mobile everything works as before (logo left,
   account icon + hamburger on the right).
   ========================================================= */
.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}
@media (min-width: 992px) {
  /* Space ABOVE and BELOW the white bar (dark nav bar part): same at the top of the page and when scrolled */
  .site-header,
  .site-header.scrolled { padding-top: 14px; padding-bottom: 14px; }

  /* Side gap: header sits 10px from the screen edge + 1px border + 13px padding = 24px,
     the same as the page sections. When scrolled the header is full width, so 24px padding. */
  .site-header { padding-left: 13px; padding-right: 13px; }
  .site-header.scrolled { padding-left: 24px; padding-right: 24px; }

  .navbar {
    max-width: calc(var(--max-width) - 48px);   /* same width as the section content (1132px) */
    width: 100%;
    display: flex;
    justify-content: center;                /* white bar sits in the middle of the page */
    align-items: center;
  }
  /* ONE white bar:  [ logo ]   [ menu links ]   [ Sign In | Book Now ]
     Only the WIDTH is reduced: the bar is as wide as its content (not stretched).
     Height is the same as before (min-height below). */
  .nav-pill {
    display: grid;
    grid-template-columns: auto 1fr auto;   /* logo | menu | buttons */
    align-items: center;
    flex: 1 1 auto;                         /* stretch to the full navbar width (same as page sections) */
    width: 100%;
    max-width: 100%;
    min-height: 90px;                       /* same height as the original bar */
    background: rgba(255,255,255,0.92);
    border-radius: 45px;
    padding: 6px 28px 6px 48px;             /* extra room on the left and right sides of the white bar */
    gap: 40px;
  }
  .site-header.scrolled .nav-pill { min-height: 74px; }
  .nav-pill .main-nav { background: transparent; padding: 0; margin: 0; justify-self: center; flex-shrink: 0; }
  .nav-pill .main-nav a { padding: 10px 16px; }
  .site-header .nav-pill .logo-img { height: 66px; }
  .site-header.scrolled .nav-pill .logo-img { height: 54px; }

  .nav-pill .nav-actions { margin-left: 0; gap: 8px; }
  /* Sign In restyled for the white background */
  .nav-pill .nav-account-link {
    padding: 10px 18px;
    border: 1px solid rgba(23,74,69,0.35);
    color: var(--teal-dark);
    background: transparent;
  }
  .nav-pill .nav-account-link:hover { background: rgba(23,74,69,0.08); }
  .nav-pill .nav-logout-btn {
    width: 36px; height: 36px;
    border-color: rgba(23,74,69,0.35);
    color: var(--teal-dark);
  }
  .nav-pill .nav-logout-btn:hover { background: rgba(23,74,69,0.08); }
  .nav-pill .nav-book-btn { padding: 11px 24px; }
}
@media (min-width: 992px) and (max-width: 1299px) {
  .nav-pill { min-height: 74px; padding-left: 24px; padding-right: 14px; gap: 16px; }
  .site-header.scrolled .nav-pill { min-height: 66px; }
  .nav-pill .main-nav a { padding: 10px 11px; font-size: 0.85rem; }
  .site-header .nav-pill .logo-img { height: 58px; }
  .site-header.scrolled .nav-pill .logo-img { height: 48px; }
  .nav-pill .nav-account-link { padding: 10px 14px; }
  .nav-pill .nav-book-btn { padding: 10px 18px; }
}

/* =========================================================
   BLOG STORY PAGE (blog-single.php)
   Hero, article, sidebar (Recent Posts / Categories), Next story
   ========================================================= */
.post-hero { min-height: 440px; }
.post-hero .page-hero-content { max-width: 820px; }
.post-hero .eyebrow { text-decoration: none; }
.post-hero h1 { font-size: 2.6rem; line-height: 1.2; margin-bottom: 18px; }
.post-hero-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; font-size: 0.88rem; opacity: 0.95; }
.post-hero-meta i { margin-right: 4px; color: var(--gold); }

.post-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}
.post-article {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  padding: 40px 44px;
}
.post-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 22px; }
.post-breadcrumb a:hover { color: var(--teal-dark); text-decoration: underline; }
.post-breadcrumb i { font-size: 0.6rem; }
.post-lead { font-size: 1.15rem; line-height: 1.8; color: var(--text-dark); margin-bottom: 26px; }
.post-figure { margin: 0 0 30px; border-radius: var(--radius-md); overflow: hidden; }
.post-figure img { width: 100%; max-height: 420px; object-fit: cover; }
.post-content h2 { font-size: 1.55rem; margin: 30px 0 12px; }
.post-content p { color: var(--text-muted); line-height: 1.9; margin-bottom: 16px; }

.post-author-box {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: 38px; padding: 24px;
  background: var(--cream); border-radius: var(--radius-md);
}
.post-author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.post-author-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dark); }
.post-author-box h4 { font-size: 1.15rem; margin: 2px 0; }
.post-author-role { font-size: 0.82rem; color: var(--teal-dark); font-weight: 600; margin-bottom: 6px; }
.post-author-box p { font-size: 0.88rem; color: var(--text-muted); }

/* Sidebar */
.post-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 110px; }
.side-widget { background: var(--white); border-radius: var(--radius-md); box-shadow: 0 6px 18px rgba(23,74,69,0.08); padding: 24px; }
.side-widget h3 { font-size: 1.15rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #eee7d8; }
.recent-list { display: flex; flex-direction: column; gap: 16px; }
.recent-list a { display: flex; gap: 14px; align-items: center; }
.recent-list img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.recent-list strong { display: block; font-size: 0.9rem; line-height: 1.35; font-weight: 600; }
.recent-list small { color: var(--text-muted); font-size: 0.76rem; }
.recent-list a:hover strong { color: var(--teal-dark); text-decoration: underline; }
.cat-list li + li { border-top: 1px dashed #e6dcc6; }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 11px 4px; font-size: 0.92rem; }
.cat-list a:hover span { color: var(--teal-dark); }
.cat-list em { font-style: normal; font-size: 0.75rem; min-width: 26px; text-align: center; padding: 2px 8px; border-radius: 20px; background: var(--cream-2); color: var(--text-muted); }
.cat-list a.current span { color: var(--gold-dark); font-weight: 700; }
.cat-list a.current em { background: var(--teal-dark); color: var(--white); }
.side-book {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  text-align: center;
  /* dark green overlay on top of the photo so the text stays easy to read */
  background:
    linear-gradient(rgba(23,74,69,0.72), rgba(23,74,69,0.82)),
    url('../images/cta-bg.webp') center / cover no-repeat;   /* <- change the image name here */
}
.side-book h3 { border-bottom-color: rgba(255,255,255,0.2); }
.side-book p { font-size: 0.9rem; opacity: 0.92; margin-bottom: 16px; }

/* Next / previous story */
.post-nav-wrap { max-width: var(--max-width); margin: 0 auto; padding: 10px 24px 70px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.post-nav-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: 0 6px 18px rgba(23,74,69,0.08);
  padding: 16px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-nav-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(23,74,69,0.14); }
.post-nav-card img { width: 110px; height: 90px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.post-nav-next { justify-content: space-between; text-align: right; }
.post-nav-label { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.post-nav-card h4 { font-size: 1.02rem; line-height: 1.35; }
.post-back { text-align: center; margin-top: 34px; }

@media (max-width: 991px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .post-hero h1 { font-size: 2.1rem; }
}
@media (max-width: 640px) {
  .post-article { padding: 26px 20px; }
  .post-hero h1 { font-size: 1.7rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-author-box { flex-direction: column; }
}

/* =========================================================
   MOBILE / TABLET RESPONSIVE FIXES (added last so they win)
   ========================================================= */
html { -webkit-text-size-adjust: 100%; }
.nav-mobile-cta { display: none; }

/* cards that sit directly in <body> need their own side gap on small screens */
.featured-article,
.contact-info-grid,
.steps-bar { width: calc(100% - 48px); }

.blog-meta-row { flex-wrap: wrap; }
.pagination { flex-wrap: wrap; }

@media (max-width: 991px) {
  /* ---- header + menu ---- */
  .site-header { top: 8px; left: 8px; right: 8px; padding: 10px 16px; border-radius: var(--radius-md); }
  .site-header.scrolled { top: 0; left: 0; right: 0; padding: 8px 16px; border-radius: 0; }
  .logo-img, .site-header.scrolled .logo-img { height: 46px; }
  .nav-toggle span { transition: transform .25s ease, opacity .2s ease; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav.open,
  .site-header.scrolled .main-nav.open {
    top: calc(100% + 6px); left: 8px; right: 8px;
    box-shadow: 0 18px 40px rgba(0,0,0,.25);
    max-height: calc(100vh - 110px); overflow-y: auto;
  }
  .main-nav.open a { padding: 13px 18px; }
  .nav-mobile-cta { display: block; margin-top: 6px; }
  .main-nav .nav-mobile-cta a { background: var(--gold); color: var(--white); text-align: center; }
  .main-nav .nav-mobile-cta a:hover { background: var(--gold-dark); }

  /* ---- home hero: booking bar flows under the text instead of floating over it ---- */
  .hero { flex-direction: column; justify-content: center; gap: 30px; min-height: auto; padding: 130px 18px 28px; }
  .hero-content { margin: auto 0; }
  .booking-bar { position: relative; bottom: auto; left: auto; transform: none; width: 100%; max-width: 680px; flex-wrap: wrap; }
  .booking-field { flex: 1 1 200px; }
  .booking-submit { flex: 1 1 100%; padding: 14px 24px; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero { margin: 8px 8px 0; padding: 120px 16px 20px; }
  .booking-bar { flex-direction: column; flex-wrap: nowrap; }
  .booking-field { flex: none; width: 100%; }
  .booking-submit { flex: none; width: 100%; }
  .section.welcome-section { padding-top: 56px; }
  .welcome-image video { max-height: 420px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2 { font-size: 1.8rem; }
  .section-heading-row h2 { font-size: 1.7rem; }

  /* full-bleed image sections: the .section padding rule must not shrink their overlay */
  .section.why-section, .section.testimonial-section { padding: 0; }
  .why-overlay, .testimonial-overlay { padding: 56px 18px; }
  .cta-overlay { padding: 70px 18px; }

  /* edge gaps */
  .featured-article, .contact-info-grid, .steps-bar { width: calc(100% - 32px); }
  .post-layout { padding: 36px 16px 24px; }
  .post-nav-wrap { padding: 10px 16px 50px; }
  .post-nav-card img { width: 84px; height: 72px; }
  .post-nav-next { text-align: left; }

  /* about */
  .journey-grid { gap: 28px; }
  .ritual-row { gap: 18px; margin-bottom: 36px; }
  .ritual-row .ritual-image { order: -1; }
  .ritual-image img { height: 220px; }
  .experience-section { padding: 56px 18px 30px; }
  .find-us-image img, .dining-image img { height: 260px; }
  .dining-grid { gap: 28px; }
  .place-time { white-space: normal; }

  /* facilities */
  .nook-item { width: 100%; }
  .nook-photo { height: 200px; }
  .facility-banner { padding: 40px 18px; }
  .facility-banner-content h2 { font-size: 1.6rem; }

  /* blog */
  .featured-body h2 { font-size: 1.4rem; }
  .newsletter-banner { padding: 50px 18px; }
  .newsletter-form button { width: 100%; }
  .page-hero { margin: 8px 8px 0; padding: 120px 18px 50px; min-height: 400px; }
  .page-hero-content h1 { font-size: 1.9rem; }
  .post-hero { min-height: 380px; }

  /* room detail */
  .rd-hero h1 { font-size: 1.9rem; }
  .rd-gallery-thumbs img { height: 100px; }

  /* auth pages */
  .login-hero { padding: 108px 16px 48px; min-height: 100svh; }
  .login-card { width: 100%; }
  .login-row { flex-wrap: wrap; gap: 10px; }
  body.page-auth .whatsapp-float,
  body.page-auth .back-to-top { display: none; }

  /* floating buttons smaller so they cover less content */
  .whatsapp-float { width: 46px; height: 46px; font-size: 1.3rem; right: 14px; bottom: 16px; }
  .back-to-top { width: 40px; height: 40px; right: 17px; bottom: 72px; }
}

@media (max-width: 560px) {
  .blog-page-grid, .blog-grid { grid-template-columns: 1fr; }
}

/* ---------- Extra photos added from the admin panel (Page Images) ---------- */
.gallery-extra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.gallery-extra .gallery-item { height: 220px; }
@media (max-width: 900px) { .gallery-extra { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-extra { grid-template-columns: 1fr; } }

/* Footer logo size (kept after responsive rules so it is not shrunk) */
.site-footer .footer-logo-img { height: 85px; width: auto; }
@media (max-width: 600px) { .site-footer .footer-logo-img { height: 70px; } }

/* Where to Find Us: on tablets the map goes on top and the places sit in two columns */
@media (max-width: 1000px) and (min-width: 641px) {
  .find-us-grid { grid-template-columns: 1fr 1fr; }
  .find-us-image { grid-column: 1 / -1; order: -1; min-height: 0; }
  .find-us-image img { height: 320px; min-height: 0; }
}
@media (max-width: 640px) { .find-us-image img { height: 260px; min-height: 0; } }
@media (max-width: 640px) { .facility-tile, .facility-cta { height: 190px; } .facilities-heading h2 { font-size: 1.7rem; } }

/* Where to Find Us: the picture is a perfect circle, centred between the two columns of places */
.find-us-image { display: flex; align-items: center; justify-content: center; min-height: 0; }
.find-us-image img {
  width: 100%;
  max-width: 440px;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
@media (max-width: 1000px) { .find-us-image img { max-width: 340px; height: auto; } }
@media (max-width: 640px)  { .find-us-image img { max-width: 280px; height: auto; } }

/* Where to Find Us: the two intro sentences each stay on a single line on desktop */
@media (min-width: 1200px) {
  .findus-section .section-heading,
  .findus-section .find-us-intro { max-width: none; }
  .findus-section .section-heading p,
  .findus-section .find-us-intro p { white-space: nowrap; }
  .findus-section .section-heading p { font-size: 0.95rem; }
}

/* ===== Room sub-title under the card heading (Facilities page) ===== */
.room-subtitle { margin: -2px 0 12px; display: flex; flex-direction: column; gap: 3px; }
.room-subtitle span { font-size: 0.88rem; color: var(--text-muted); }
.room-subtitle span i { color: var(--gold-dark); margin-right: 6px; }

/* ===== Room detail page: "Room details" card ===== */
.rd-detail-card { margin-top: 24px; }
.rd-detail-card h3 { margin-bottom: 16px; }
.rd-detail-card h4 { font-size: 1rem; margin: 22px 0 10px; color: var(--text-dark); }
.rd-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.rd-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; color: var(--text-dark);
  background: var(--cream-2); border: 1px solid #eadfc9;
  border-radius: 8px; padding: 6px 12px;
}
.rd-chip i { color: var(--teal-dark); }
.rd-detail-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 14px; font-size: 0.9rem; color: var(--text-muted); }
.rd-detail-facts i { color: var(--gold-dark); margin-right: 6px; }
.rd-detail-facts strong { color: var(--text-dark); }
.rd-detail-summary { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }
.rd-check-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.rd-check-list li { break-inside: avoid; font-size: 0.88rem; color: var(--text-muted); padding: 4px 0; display: flex; gap: 9px; align-items: flex-start; }
.rd-check-list li i { color: var(--teal-dark); font-size: 0.75rem; margin-top: 5px; }
.rd-check-one { columns: 1; }
.rd-detail-smoking { margin-top: 22px; padding-top: 16px; border-top: 1px solid #eee4d4; font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 640px) { .rd-check-list { columns: 1; } }

/* Facilities page room cards: the photo absorbs any spare height, so all three cards are equal with no empty gap */
.room-grid-fill .room-img { flex: 1 1 auto; position: relative; min-height: 190px; }
.room-grid-fill .room-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-grid-fill .room-body { flex: 0 0 auto; }

/* Room detail page: "Back to Facilities" button */
/* Top row of the room page: button in the left corner, badge in the exact centre */
.rd-hero-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(var(--max-width) - 48px), calc(100vw - 48px));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 18px;
}
.rd-hero-top .rd-back { justify-self: start; }
.rd-hero-top .eyebrow { margin: 0; }
@media (max-width: 760px) {
  .rd-hero-top { display: flex; flex-direction: column; align-items: center; gap: 14px; width: auto; left: auto; transform: none; }
  .rd-hero-spacer { display: none; }
}
.rd-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  border: 1.5px solid var(--teal-dark);
  border-radius: 40px;
  color: var(--teal-dark);
  font-size: 0.85rem; font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.rd-back:hover { background: var(--teal-dark); color: var(--white); }
.rd-back i { font-size: 0.8rem; }

/* Homepage rooms: "See More" button under the cards */
.section-more { text-align: center; margin-top: 44px; }
.section-more .btn i { margin-left: 8px; font-size: 0.85rem; }

/* =========================================================
   FINAL MOBILE / TABLET RESPONSIVE LAYER  (keep this at the very bottom)
   Breakpoints:  1199 laptop-small | 991 tablet | 767 large phone | 640 phone | 480 / 380 small phone
   ========================================================= */

/* ---------- Global safety nets ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@supports (overflow: clip) { body { overflow-x: clip; } }       /* no sideways scroll, keeps sticky working */
img, video, svg, canvas { max-width: 100%; }
iframe { max-width: 100%; border: 0; }
table { max-width: 100%; }
h1, h2, h3, h4, p, li, a { overflow-wrap: break-word; }
.btn, .filter-btn, .nav-toggle, .back-to-top { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Fluid headings: scale smoothly instead of jumping at breakpoints */
.hero-content h1          { font-size: clamp(2rem, 7vw, 3.2rem); }
.hero-content h2          { font-size: clamp(1.1rem, 3.2vw, 1.5rem); }
.section-heading h2,
.cta-overlay h2           { font-size: clamp(1.6rem, 4.6vw, 2.3rem); }
.page-hero-content h1     { font-size: clamp(1.8rem, 5.5vw, 2.3rem); }
.welcome-text h2,
.journey-text h2,
.dining-text h2,
.contact-form-text h2,
.rd-about h2              { font-size: clamp(1.5rem, 4vw, 2rem); }
.rd-hero h1               { font-size: clamp(1.8rem, 5.5vw, 2.4rem); }

/* Modern mobile browsers: 100vh includes the hidden URL bar, svh does not */
@supports (height: 100svh) {
  @media (min-width: 992px) { .hero { min-height: calc(100svh - 10px); } }   /* phones keep the compact hero */
  .login-hero { min-height: 100svh; }
}

/* ---------- Laptop-small (<= 1199px) ---------- */
@media (max-width: 1199px) {
  .footer-grid { gap: 32px; }
  .contact-form-grid { gap: 40px; }
  .dining-grid, .ritual-row { gap: 40px; }
}

/* ---------- Tablet (<= 991px) ---------- */
@media (max-width: 991px) {
  .section { padding: 64px 22px; }

  /* footer: brand + links on top, map spans the full width */
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-location { grid-column: 1 / -1; }
  .footer-map iframe { height: 260px; }

  /* grids that were still 3 / 4 columns on tablets */
  .amenities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nook-item { width: calc((100% - 22px) / 2); }
  .masonry-gallery { column-count: 2; column-gap: 16px; }
  .masonry-gallery .masonry-item { margin-bottom: 16px; }
  .blog-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid .why-card:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* no lonely card on 2-col grids */

  /* two-column layouts become one column */
  .contact-form-grid { grid-template-columns: 1fr; gap: 32px; }
  .dining-grid { grid-template-columns: 1fr; gap: 32px; }
  .dining-image img { height: 340px; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-image { min-height: 260px; height: 260px; }
  .featured-body { padding: 30px; }

  .post-article { padding: 32px 28px; }
  .find-oasis-banner { padding: 30px; }
  .nooks-card { padding: 36px 26px; }
}

/* ---------- Large phone (<= 767px) ---------- */
@media (max-width: 767px) {
  .section { padding: 56px 18px; }
  .section-heading { margin-bottom: 34px; }

  .contact-info-grid { grid-template-columns: 1fr; margin-top: 30px; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .transit-grid { grid-template-columns: 1fr; }
  .ritual-row { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .ritual-row .ritual-image { order: -1; }
  .ritual-image img { height: 240px; }
  .journey-section .journey-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Forms: 16px text stops iOS Safari from zooming into the field */
  .form-group input,
  .form-group select,
  .form-group textarea,
  .login-field input,
  .newsletter-form input,
  .field-text input,
  .field-text select,
  .bk-input-icon input { font-size: 16px; }

  /* Easier to tap */
  .btn { min-height: 44px; padding-top: 12px; padding-bottom: 12px; }
  .filter-btn { padding: 11px 20px; }
  .pagination a, .pagination span { width: 42px; height: 42px; }
  .nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .nav-logout-btn { width: 42px; height: 42px; }

  .gallery-filters { gap: 8px; margin-bottom: 28px; }
  .masonry-caption { font-size: .78rem; }

  .footer-map iframe { height: 230px; }
  .find-oasis-map iframe { height: 300px; }
  .contact-form-card { padding: 26px 22px; }

  .post-content h2 { font-size: 1.35rem; }
  .post-lead { font-size: 1.05rem; line-height: 1.7; }
  .post-figure img { max-height: 300px; }
  .rd-testimonial-card .rd-quote { font-size: 1.05rem; }
  .rd-cal-grid { font-size: .72rem; }
}

/* ---------- Phone (<= 640px) ---------- */
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 28px; }
  .footer-col h4 { margin-bottom: 12px; }
  .contact-list li { overflow-wrap: anywhere; }
  .site-footer { padding-top: 48px; padding-bottom: env(safe-area-inset-bottom); }
  .footer-bottom { align-items: center; }
  .footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; }

  .amenities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .nook-item { width: 100%; }
  .blog-page-grid, .blog-grid { grid-template-columns: 1fr; }
  .masonry-gallery { column-count: 2; column-gap: 12px; }
  .masonry-gallery .masonry-item { margin-bottom: 12px; }

  .newsletter-form { max-width: 100%; }
  .nooks-card { padding: 28px 16px; border-radius: var(--radius-md); }
  .find-oasis-banner { padding: 20px 16px; border-radius: var(--radius-md); }
  .find-oasis-map iframe { height: 260px; }
  .featured-image { min-height: 210px; height: 210px; }
  .page-hero, .post-hero { min-height: 340px; }

  .rd-gallery-thumbs { gap: 10px; }
  .rd-card { padding: 22px 18px; }
  .rd-detail-facts { gap: 8px 18px; }
  .rd-price { font-size: 1.5rem; }

  .post-author-box { padding: 18px; }
  .recent-list img { width: 64px; height: 64px; }
  .side-widget { padding: 20px; }

  /* floating buttons respect the notch / home bar and cover less content */
  .whatsapp-float { right: max(14px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .back-to-top    { right: max(17px, env(safe-area-inset-right)); bottom: max(72px, calc(env(safe-area-inset-bottom) + 56px)); }
}

/* ---------- Small phone (<= 480px) ---------- */
@media (max-width: 480px) {
  .section { padding: 48px 16px; }
  .site-header { padding: 8px 12px; }
  .logo-img, .site-header.scrolled .logo-img { height: 42px; }
  .main-nav.open, .site-header.scrolled .main-nav.open { left: 6px; right: 6px; }

  .hero-buttons { gap: 12px; }
  .booking-bar { padding: 8px; gap: 8px; }
  .booking-field { padding: 10px 14px; gap: 10px; }

  .section-heading-row { flex-direction: column; align-items: flex-start; }
  .room-body, .blog-body, .why-card, .philosophy-card, .info-card { padding-left: 18px; padding-right: 18px; }
  .discover-card, .facility-tile, .facility-cta { height: 200px; }
  .testimonial-quote { font-size: 1.05rem; }
  .eyebrow { font-size: .7rem; padding: 7px 14px; }

  .masonry-gallery { column-gap: 10px; }
  .gallery-extra .gallery-item { height: 190px; }
  .post-article { padding: 22px 16px; }
  .post-hero-meta { gap: 6px 12px; font-size: .8rem; }
  .featured-body { padding: 22px 18px; }
  .contact-form-card { padding: 22px 16px; }
  .rd-gallery-main img { height: 210px; }
  .rd-room-specs { gap: 16px 24px; }
  .place-item { padding: 16px; }
  .newsletter-content h2 { font-size: 1.6rem; }
  .cta-overlay { padding: 60px 16px; }
}

/* ---------- Very small phone (<= 380px) ---------- */
@media (max-width: 380px) {
  body { font-size: 15px; }
  .btn { white-space: normal; padding-left: 20px; padding-right: 20px; }
  .logo-img, .site-header.scrolled .logo-img { height: 38px; }
  .amenities-grid { grid-template-columns: 1fr; }
  .masonry-gallery { column-count: 1; }
  .pagination { gap: 6px; }
  .pagination a, .pagination span { width: 38px; height: 38px; }
  .nav-account-link { padding: 9px 11px; }
  .page-hero-content h1, .post-hero h1 { font-size: 1.6rem; }
  .rd-gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
  .rd-gallery-thumbs img { height: 84px; }
  .footer-logo-img, .site-footer .footer-logo-img { height: 60px; }
}

/* ---------- Landscape phones (short screens) ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: 110px; padding-bottom: 28px; }
  .page-hero, .post-hero { min-height: 300px; padding-top: 110px; padding-bottom: 36px; }
  .login-hero { min-height: auto; padding-top: 100px; }
  .main-nav.open, .site-header.scrolled .main-nav.open { max-height: calc(100vh - 80px); }
  .booking-sidebar, .post-sidebar { position: static; }
}

/* ---------- Touch devices: no sticky hover states ---------- */
@media (hover: none) {
  .blog-card:hover, .mb-item:hover, .post-nav-card:hover { transform: none; }
  .blog-card:hover .blog-img img { transform: none; }
}

/* ---------- Respect "reduce motion" ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================
   EXELY BOOKING ENGINE (search form, booking page, offers)
   ========================================================= */
/* search form under the hero of inner pages: same width as the content, with side indents */
.exely-search-wrap { position: relative; z-index: 6; max-width: 1180px; margin: -44px auto 0; padding: 0 16px; }
.exely-search-wrap + .section, .exely-search-wrap + .featured-article { margin-top: 0; }

/* home page: search form sits at the bottom of the hero (same place the old booking bar was) */
.hero { overflow: visible; }                       /* lets the date-picker open below the hero without being cut off */
.hero .hero-video, .hero .hero-overlay { border-radius: inherit; }
.hero-search { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 6; width: 94%; max-width: 1132px; }
.hero-search .exely-search-wrap { margin: 0; padding: 0; max-width: none; }
@media (max-width: 991px) {
  .hero-search { position: relative; bottom: auto; left: auto; transform: none; width: 100%; }
}

/* booking page */
.exely-booking-page { max-width: 1180px; margin: 0 auto; padding: 130px 16px 60px; min-height: 70vh; }
.exely-booking-head { text-align: center; margin-bottom: 26px; }
.exely-booking-head h1 { font-size: 2.2rem; margin-bottom: 8px; }
.exely-booking-head p { color: var(--text-muted); }
@media (max-width: 600px) { .exely-booking-page { padding: 104px 10px 40px; } .exely-booking-head h1 { font-size: 1.7rem; } }

/* "Best Deal" strip on the Facilities page */
.exely-offer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 1132px; margin: 0 auto 28px; padding: 16px 24px; background: var(--cream-2); border: 1px solid #eadfc8; border-radius: 16px; }
.exely-offer span { font-weight: 600; color: var(--teal); }
.exely-offer span i { color: var(--gold-dark); margin-right: 8px; }
.room-card .btn-block + .btn-block { margin-top: 10px; }

/* =========================================================
   SEASONAL RATES (Summer / Winter / Super Peak)
   ========================================================= */
.season-picker { max-width: 980px; margin: 0 auto 26px; }
.season-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.season-tab { cursor: pointer; border: 1.5px solid #e3d8c3; background: var(--white); color: var(--teal-dark); border-radius: 12px; padding: 10px 22px; font-family: var(--font-sans); text-align: center; line-height: 1.3; transition: all .2s; }
.season-tab strong { display: block; font-size: 1rem; }
.season-tab small { display: block; font-size: 0.74rem; color: var(--text-muted); }
.season-tab:hover { border-color: var(--gold-dark); }
.season-tab.active { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.season-tab.active small { color: rgba(255,255,255,0.8); }
.season-note { display: none; background: #faf6ee; border: 1px solid #eee4d4; border-radius: 12px; padding: 12px 18px; font-size: 0.86rem; color: var(--text-dark); text-align: center; }
.season-note.is-active { display: block; }
.season-note p { margin: 0; }
.season-note ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: center; color: var(--text-muted); font-size: 0.8rem; }
.sr-season { display: none; }
.sr-season.is-active { display: block; }
.season-rate { margin: 12px 0; }
.sr-tag { display: inline-block; font-size: 0.68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; margin-bottom: 2px; }
.sr-price { font-family: var(--font-serif); font-weight: 700; color: var(--teal-dark); font-size: 1.15rem; margin: 2px 0; }
.sr-price small { font-family: var(--font-sans); font-weight: 400; font-size: 0.78rem; color: var(--text-muted); }
.sr-pax4 { font-size: 1.02rem; color: var(--gold-dark); }
.sr-soon { color: var(--text-muted); font-size: 0.86rem; font-style: italic; margin: 6px 0; }
.rd-price-card .season-picker { margin-bottom: 14px; }
.rd-price-card .season-tab { padding: 8px 12px; }
.rd-price-card .season-note ul { display: none; }
.rd-price-card .sr-price { font-size: 1.5rem; color: var(--gold-dark); }
.booking-card { max-width: 1132px; margin: 0 auto; background: #fdfcf8; border-radius: 20px; overflow: hidden; }
.booking-rates { margin: 0 auto; padding: 26px 40px 30px; border-bottom: 1px solid #d9cdb4; }
.booking-rates-sub { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin: -6px 0 16px; }
.booking-rates h2 { text-align: center; font-size: 1.35rem; font-weight: 400; margin-bottom: 16px; }
.booking-rates .season-picker { max-width: 940px; }
.booking-rates .rate-table { max-width: 940px; margin: 0 auto; }
@media (max-width: 640px) { .booking-rates { padding: 18px 14px 26px; } }
.rate-table-wrap { overflow-x: auto; }
.rate-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; font-size: 0.9rem; }
.rate-table th { background: var(--teal-dark); color: var(--white); text-align: left; padding: 10px 14px; font-weight: 600; }
.rate-table td { padding: 10px 14px; border-bottom: 1px solid #eee4d4; vertical-align: top; }
.rate-table .sr-price { font-size: 1rem; display: block; }
.rate-table .sr-pax4 { font-size: 0.9rem; }
.rate-table tr.rt-highlight td { background: #fff6dd; }
.booking-room-grid { margin-top: 22px; }
.booking-room-grid .room-card.is-selected { outline: 3px solid var(--gold-dark); outline-offset: -3px; }
.booking-room-grid .room-img { min-height: 170px; }
.booking-widget-wrap { scroll-margin-top: 90px; }
.selected-room-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 18px 22px; padding: 16px 22px; background: linear-gradient(100deg, #fff3d1 0%, #fffaf0 60%); border: 1px solid #e7d3a0; border-left: 6px solid var(--gold-dark); border-radius: 16px; box-shadow: 0 8px 24px rgba(160,120,30,0.16); animation: srb-glow 1.6s ease-out 1; }
.srb-icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--teal-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; box-shadow: 0 0 0 5px rgba(47,93,98,0.14); }
.srb-info { flex: 1 1 240px; min-width: 0; line-height: 1.35; }
.srb-label { display: block; font-size: 0.7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.srb-name { display: block; font-family: var(--font-serif); font-size: 1.45rem; color: var(--teal-dark); }
.srb-meta { display: block; font-size: 0.82rem; color: var(--text-muted); }
.srb-rate { flex: 0 0 auto; background: #fff; border: 1px solid #ecdcb4; border-radius: 12px; padding: 8px 18px; text-align: center; }
.srb-rate .season-rate { margin: 0; }
.srb-rate .sr-tag { display: block; margin: 0 0 2px; }
.srb-rate .sr-price { display: block; margin: 0; font-size: 1.5rem; line-height: 1.2; color: var(--gold-dark); }
.srb-rate .sr-pax4 { font-size: 1.1rem; }
.srb-change { flex: 0 0 auto; font-size: 0.84rem; font-weight: 600; color: var(--teal-dark); text-decoration: none; border: 1.5px solid var(--teal-dark); border-radius: 999px; padding: 8px 16px; transition: all .2s; }
.srb-change:hover { background: var(--teal-dark); color: #fff; }
@keyframes srb-glow { 0% { box-shadow: 0 0 0 0 rgba(184,138,58,0.55); } 100% { box-shadow: 0 8px 24px rgba(160,120,30,0.16); } }
@media (max-width: 640px) { .selected-room-bar { margin: 14px 12px; padding: 14px; } .srb-rate, .srb-change { flex: 1 1 100%; text-align: center; } }