/* ============================================================
   Santiri Island Resort — style.css
   Accent: Bronze #a16207 | Font: Recoleta + Manrope
   ============================================================ */

/* ── Custom Properties ────────────────────────────────────── */
:root {
  --accent:        #a16207;
  --accent-hover:  #854d0e;
  --accent-alpha:  rgba(161, 98, 7, 0.12);
  --footer-bg:     #1c1106;

  --text:          #1a1109;
  --text-muted:    #6b5a3e;
  --border:        #e8dcc8;
  --bg:            #ffffff;
  --bg-alt:        #faf6f0;

  --font-heading:  'Cabinet Grotesk', sans-serif;
  --font-body:     'DM Sans', system-ui, sans-serif;

  --navbar-h:      80px;
  --max-w:         1200px;
  --section-pad:   72px;
  --img-radius:    12px;
  --btn-radius:    8px;

  --transition:    0.22s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family:  var(--font-body);
  font-size:    1.0625rem;
  line-height:  1.65;
  color:        var(--text);
  background:   var(--bg);
  overflow-x:   hidden;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }

/* ── Container ────────────────────────────────────────────── */
.container {
  width:         100%;
  max-width:     var(--max-w);
  margin-left:   auto;
  margin-right:  auto;
  padding:       0 1.5rem;
  box-sizing:    border-box;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display:         inline-block;
  padding:         0.875rem 1.75rem;
  border-radius:   var(--btn-radius);
  font-family:     var(--font-body);
  font-size:       1.0625rem;
  font-weight:     700;
  line-height:     1;
  cursor:          pointer;
  transition:      background var(--transition), color var(--transition), border-color var(--transition);
  border:          2px solid transparent;
  text-align:      center;
}

.btn-primary {
  background:   var(--accent);
  color:        #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background:   var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-outline {
  background:   transparent;
  color:        #fff;
  border-color: rgba(255, 255, 255, 0.8);
}
.btn-outline:hover {
  background:   rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* ── Section common ───────────────────────────────────────── */
.section-eyebrow {
  font-size:      1.0625rem;
  font-weight:    600;
  color:          var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom:  0.5rem;
}

.section-heading {
  font-size:     clamp(2rem, 4vw, 3rem);
  font-weight:   700;
  color:         var(--text);
  margin-bottom: 1.5rem;
}

.section-intro-text {
  font-size:     1.0625rem;
  color:         var(--text-muted);
  max-width:     680px;
  margin-bottom: 2.5rem;
  line-height:   1.7;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position:        fixed;
  top:             0;
  left:            0;
  right:           0;
  z-index:         900;
  height:          var(--navbar-h);
  background:      transparent;
  transition:      background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background:      rgba(255, 255, 255, 0.97);
  box-shadow:      0 1px 0 var(--border);
  backdrop-filter: blur(12px);
}

.navbar-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  height:          var(--navbar-h);
  gap:             1rem;
}

.navbar-logo {
  flex-shrink: 0;
  display:     flex;
  align-items: center;
}

.logo-navbar {
  height:      var(--navbar-h);
  width:       auto;
  object-fit:  contain;
}

/* White logo when navbar is transparent (over hero) */
.navbar:not(.scrolled) .logo-navbar {
  filter: brightness(0) invert(1);
}

.navbar-links {
  display:     flex;
  align-items: center;
  gap:         0.25rem;
  flex:        1;
  justify-content: center;
}

.navbar-links a {
  font-size:   1.0625rem;
  font-weight: 600;
  color:       var(--text);
  padding:     0.4rem 0.75rem;
  border-radius: 6px;
  transition:  color var(--transition), background var(--transition);
  white-space: nowrap;
}

.navbar:not(.scrolled) .navbar-links a { color: #fff; }

.navbar-links a:hover {
  color:      var(--accent);
  background: var(--accent-alpha);
}

.navbar:not(.scrolled) .navbar-links a:hover {
  color:      #fff;
  background: rgba(255, 255, 255, 0.15);
}

.navbar-cta { flex-shrink: 0; }

.nav-cta-btn {
  display:       inline-block;
  padding:       0.6rem 1.25rem;
  background:    var(--accent);
  color:         #fff;
  border-radius: var(--btn-radius);
  font-size:     1.0625rem;
  font-weight:   700;
  transition:    background var(--transition);
  white-space:   nowrap;
}
.nav-cta-btn:hover { background: var(--accent-hover); }

/* Hamburger */
.hamburger {
  display:         none;
  flex-direction:  column;
  justify-content: center;
  align-items:     center;
  gap:             5px;
  width:           44px;
  height:          44px;
  background:      none;
  border:          none;
  cursor:          pointer;
  padding:         0;
  flex-shrink:     0;
}
.hamburger span {
  display:          block;
  width:            22px;
  height:           2px;
  background:       var(--text);
  border-radius:    2px;
  transition:       background var(--transition);
}
.navbar:not(.scrolled) .hamburger span { background: #fff; }

/* ── Mobile menu ──────────────────────────────────────────── */
.mobile-menu {
  position:         fixed;
  top:              0;
  left:             0;
  right:            0;
  z-index:          1100;
  background:       #fff;
  padding:          1.25rem 1.5rem 2rem;
  display:          flex;
  flex-direction:   column;
  transform:        translateY(-110%);
  transition:       transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:       0 4px 24px rgba(0, 0, 0, 0.12);
}

.mobile-menu.open { transform: translateY(0); }

.mobile-menu-close {
  align-self:       flex-end;
  display:          inline-flex;
  align-items:      center;
  justify-content:  center;
  width:            40px;
  height:           40px;
  background:       none;
  border:           none;
  font-size:        1.75rem;
  cursor:           pointer;
  color:            var(--text-muted);
  line-height:      1;
  margin-bottom:    0.75rem;
  transition:       color var(--transition);
}
.mobile-menu-close:hover { color: var(--text); }

.mobile-nav-links {
  display:        flex;
  flex-direction: column;
  gap:            0.25rem;
}
.mobile-nav-links a {
  display:        block;
  padding:        0.75rem 0.5rem;
  font-size:      1.0625rem;
  font-weight:    600;
  color:          var(--text);
  border-bottom:  1px solid var(--border);
  transition:     color var(--transition);
}
.mobile-nav-links a:hover { color: var(--accent); }
.mobile-nav-links li:last-child a { border-bottom: none; }

.mobile-cta-link {
  display:          block;
  margin-top:       0.75rem;
  padding:          0.875rem 1.5rem !important;
  background:       var(--accent) !important;
  color:            #fff !important;
  border-radius:    var(--btn-radius) !important;
  text-align:       center;
  font-weight:      700 !important;
  border-bottom:    none !important;
}
.mobile-cta-link:hover { background: var(--accent-hover) !important; }

/* Backdrop */
.menu-backdrop {
  position:   fixed;
  inset:      0;
  z-index:    1050;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  opacity:    0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.menu-backdrop.open { opacity: 1; visibility: visible; }

/* ── Nav sentinel ─────────────────────────────────────────── */
.nav-sentinel {
  position: absolute;
  top:      0;
  left:     0;
  width:    1px;
  height:   1px;
  pointer-events: none;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position:    relative;
  min-height:  100vh;
  display:     flex;
  align-items: flex-start;
  padding-top: clamp(6rem, 14vh, 10rem);
  overflow:    hidden;
}

.hero-bg-img {
  position:   absolute;
  inset:      0;
  width:      100%;
  height:     100%;
  object-fit: cover;
  z-index:    0;
}

.hero-overlay {
  position:   absolute;
  inset:      0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.10) 100%
  );
  z-index:    1;
}

@media (max-width: 900px) {
  .hero-overlay {
    background: rgba(0, 0, 0, 0.5);
  }
}

.hero-content {
  position:    relative;
  z-index:     2;
  max-width:   660px;
}

.hero-title {
  font-size:     clamp(2.5rem, 5.5vw, 4rem);
  font-weight:   700;
  color:         #fff;
  line-height:   1.1;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-size:     1.125rem;
  color:         rgba(255, 255, 255, 0.9);
  line-height:   1.65;
  margin-bottom: 2rem;
  max-width:     520px;
}

.hero-cta-row {
  display:     flex;
  gap:         1rem;
  flex-wrap:   wrap;
  align-items: center;
}

/* ── About ────────────────────────────────────────────────── */
.section-about {
  padding:    var(--section-pad) 0;
  background: var(--bg);
}

.about-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   4rem;
  align-items:           start;
}

.about-text .section-heading { margin-bottom: 1rem; }

.about-text p {
  color:         var(--text-muted);
  margin-bottom: 1rem;
  line-height:   1.7;
}

.about-highlights {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   0.75rem;
  margin-top:            1.75rem;
}

.about-highlight-item {
  display:     flex;
  align-items: flex-start;
  gap:         0.6rem;
  font-size:   1rem;
  font-weight: 500;
  color:       var(--text);
}

.about-highlight-item i {
  color:       var(--accent);
  font-size:   1rem;
  width:       1.25rem;
  flex-shrink: 0;
  margin-top:  0.1rem;
}

.about-img-col { position: relative; }

.about-img {
  width:         100%;
  border-radius: var(--img-radius);
  aspect-ratio:  4/3;
  object-fit:    cover;
  box-shadow:    0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ── Villas / Rooms ───────────────────────────────────────── */
.section-villas {
  padding:    var(--section-pad) 0;
  background: var(--bg-alt);
}

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

/* When only 1 card, center it and cap at 400px */
.villas-grid:has(.villa-card:only-child) {
  grid-template-columns: 1fr;
  max-width: 420px;
}

.villa-card {
  display:        flex;
  flex-direction: column;
  height:         100%;
  background:     var(--bg);
  border-radius:  var(--img-radius);
  overflow:       hidden;
  box-shadow:     0 2px 12px rgba(0, 0, 0, 0.07);
  transition:     box-shadow var(--transition);
}
.villa-card:hover { box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12); }

/* Carousel */
.carousel {
  position:     relative;
  overflow:     hidden;
  aspect-ratio: 4/3;
}

.carousel-track {
  display:    flex;
  transition: transform 0.38s ease;
}

.carousel-slide {
  flex:        0 0 100%;
  aspect-ratio: 4/3;
}

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

.carousel-btn {
  position:    absolute;
  top:         50%;
  transform:   translateY(-50%);
  background:  rgba(0, 0, 0, 0.45);
  color:       #fff;
  border:      none;
  width:       40px;
  height:      40px;
  border-radius: 50%;
  font-size:   1.4rem;
  line-height: 1;
  cursor:      pointer;
  z-index:     10;
  display:     flex;
  align-items: center;
  justify-content: center;
  opacity:     1;
  transition:  background var(--transition);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-width:   44px;
  min-height:  44px;
}
.carousel-btn:hover  { background: rgba(0, 0, 0, 0.65); }
.carousel-btn.prev   { left:  0.5rem; }
.carousel-btn.next   { right: 0.5rem; }

.carousel-dots {
  position:        absolute;
  bottom:          0.75rem;
  left:            50%;
  transform:       translateX(-50%);
  display:         flex;
  gap:             0.4rem;
}

.carousel-dot {
  width:         9px;
  height:        9px;
  border-radius: 50%;
  background:    rgba(255, 255, 255, 0.5);
  border:        none;
  cursor:        pointer;
  padding:       0;
  transition:    background var(--transition);
}
.carousel-dot.active { background: #fff; }

/* Villa view-link */
.villa-view-link {
  display:       inline-block;
  align-self:    center;
  margin:        1rem 0 1.25rem;
  padding:       0.5rem 1rem;
  font-size:     1rem;
  font-weight:   600;
  color:         var(--accent);
  background:    transparent;
  border:        1px solid var(--accent);
  border-radius: var(--btn-radius);
  cursor:        pointer;
  transition:    background var(--transition), color var(--transition);
  font-family:   var(--font-body);
}
.villa-view-link:hover {
  background: var(--accent);
  color:      #fff;
}

/* Villa info */
.villa-info {
  display:        flex;
  flex-direction: column;
  flex:           1;
  padding:        0 1.25rem 1.25rem;
}

.villa-name {
  font-size:     1.3125rem;
  font-weight:   700;
  margin-bottom: 0.5rem;
  color:         var(--text);
}

.villa-desc {
  font-size:     1rem;
  color:         var(--text-muted);
  line-height:   1.6;
  margin-bottom: 0.75rem;
  flex:          1;
}

.villa-specs {
  display:     flex;
  flex-wrap:   wrap;
  gap:         0.5rem 1rem;
  font-size:   0.9375rem;
  color:       var(--text-muted);
  margin-bottom: 1rem;
}
.villa-specs span { display: flex; align-items: center; gap: 0.35rem; }
.villa-specs i    { color: var(--accent); font-size: 0.875rem; }

.btn-room-cta {
  margin-top:    auto;
  display:       block;
  width:         100%;
  text-align:    center;
  padding:       0.875rem;
  background:    var(--accent);
  color:         #fff;
  border:        none;
  border-radius: var(--btn-radius);
  font-family:   var(--font-body);
  font-weight:   600;
  font-size:     1rem;
  cursor:        pointer;
  transition:    background var(--transition);
}
.btn-room-cta:hover { background: var(--accent-hover); }

/* ── Activities ───────────────────────────────────────────── */
.section-activities {
  padding:    var(--section-pad) 0;
  background: var(--bg);
}

.activities-header { margin-bottom: 0; }

.activities-banner-wrap {
  width:         100%;
  margin:        1.5rem 0 0;
  overflow:      hidden;
}

.activities-banner-img {
  width:      100%;
  max-height: 420px;
  object-fit: cover;
}

.activities-intro {
  font-size:   1.0625rem;
  color:       var(--text-muted);
  line-height: 1.7;
  text-align:  justify;
  margin:      1.75rem 0 2.5rem;
  max-width:   100%;
}

/* Core activity cards */
.core-activities-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   1.75rem;
  margin-bottom:         3rem;
}

.core-activity-card {
  background:    var(--bg-alt);
  border-radius: var(--img-radius);
  overflow:      hidden;
  border:        1px solid var(--border);
}

.core-activity-card img {
  width:        100%;
  aspect-ratio: 3/2;
  object-fit:   cover;
}

.core-activity-info {
  padding: 1.25rem;
}

.core-activity-info h3 {
  font-size:     1.1875rem;
  font-weight:   700;
  margin-bottom: 0.6rem;
  color:         var(--text);
  display:       flex;
  align-items:   center;
  gap:           0.5rem;
}

.core-activity-info h3 i {
  color:      var(--accent);
  font-size:  1.1rem;
  flex-shrink: 0;
}

.core-activity-info p {
  font-size:   1rem;
  color:       var(--text-muted);
  line-height: 1.6;
}

/* On-site activities */
.onsite-activities {
  background:    var(--bg-alt);
  border-radius: var(--img-radius);
  padding:       2rem;
  margin-bottom: 3rem;
  border:        1px solid var(--border);
}

.onsite-heading {
  font-size:     1.3125rem;
  margin-bottom: 1.25rem;
  color:         var(--text);
}

.onsite-list {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   0.75rem;
}

.onsite-list li {
  display:     flex;
  align-items: center;
  gap:         0.5rem;
  font-size:   1rem;
  font-weight: 500;
  color:       var(--text);
}

.onsite-list li i {
  color:       var(--accent);
  font-size:   1rem;
  flex-shrink: 0;
}

/* Tour blocks */
.tour-blocks { display: flex; flex-direction: column; gap: 3.5rem; }

.tour-block {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   3rem;
  align-items:           start;
}

.tour-block.reverse {
  direction: rtl;
}
.tour-block.reverse > * { direction: ltr; }

.tour-img-col img {
  width:         100%;
  aspect-ratio:  4/3;
  object-fit:    cover;
  border-radius: var(--img-radius);
  box-shadow:    0 4px 20px rgba(0, 0, 0, 0.1);
}

.tour-text-col h3 {
  font-size:     1.5rem;
  font-weight:   700;
  margin-bottom: 1rem;
  color:         var(--text);
}

.tour-text-col p {
  font-size:     1rem;
  color:         var(--text-muted);
  line-height:   1.7;
  margin-bottom: 1rem;
}

.tour-highlights {
  display:        flex;
  flex-direction: column;
  gap:            0.5rem;
  margin-top:     0.75rem;
}

.tour-highlights li {
  display:     flex;
  align-items: baseline;
  gap:         0.6rem;
  font-size:   1rem;
  line-height: 1.55;
  color:       var(--text-muted);
}

.tour-highlights li i {
  color:       var(--accent);
  font-size:   1rem;
  width:       1rem;
  flex-shrink: 0;
  text-align:  center;
  margin-top:  0;
  transform:   translateY(0.15em);
}

.tour-note {
  font-size:   0.9375rem;
  color:       var(--text-muted);
  font-style:  italic;
  margin-top:  0.75rem;
  padding:     0.75rem 1rem;
  background:  var(--accent-alpha);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
}

/* Sipadan resorts table */
.sipadan-package-resorts {
  width:           100%;
  border-collapse: collapse;
  font-size:       0.9375rem;
  margin:          1rem 0;
}

.sipadan-package-resorts th,
.sipadan-package-resorts td {
  padding:     0.5rem 0.75rem;
  text-align:  left;
  border-bottom: 1px solid var(--border);
}

.sipadan-package-resorts th {
  font-weight:     700;
  color:           var(--text);
  background:      var(--bg-alt);
  font-size:       0.875rem;
  text-transform:  uppercase;
  letter-spacing:  0.05em;
}

.sipadan-package-resorts td { color: var(--text-muted); }

/* ── Meals ────────────────────────────────────────────────── */
.section-meals {
  padding:    var(--section-pad) 0;
  background: var(--bg-alt);
}

.section-meals .container { margin-bottom: 0; }

.meals-banner-wrap {
  width:    100%;
  margin:   1.5rem 0;
  overflow: hidden;
}

.meals-banner-img {
  width:      100%;
  max-height: 380px;
  object-fit: cover;
}

.meals-intro {
  font-size:     1.0625rem;
  color:         var(--text-muted);
  line-height:   1.7;
  margin-bottom: 2.5rem;
}

/* B/L/D Grid */
.meals-bld-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   1.5rem;
  margin-bottom:         2.5rem;
}

.meals-bld-card {
  background:    var(--bg);
  border-radius: var(--img-radius);
  padding:       1.75rem 1.5rem;
  text-align:    center;
  border:        1px solid var(--border);
}

.meals-bld-icon {
  font-size:     2rem;
  color:         var(--accent);
  margin-bottom: 0.75rem;
  display:       block;
}

.meals-bld-card h3 {
  font-size:     1.1875rem;
  font-weight:   700;
  margin-bottom: 0.25rem;
  color:         var(--text);
}

.meals-bld-card p {
  font-size:     1rem;
  font-weight:   600;
  color:         var(--accent);
  margin-bottom: 0.5rem;
}

.meals-bld-note {
  font-size:   0.9375rem;
  color:       var(--text-muted) !important;
  font-weight: 400 !important;
  line-height: 1.6;
}

/* Cuisine grid */
.meals-cuisine-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   1.5rem;
  margin-bottom:         2.5rem;
}

.meals-cuisine-block { padding: 0.5rem 0; }

.meals-cuisine-block h4 {
  font-size:     1.0625rem;
  font-weight:   700;
  color:         var(--text);
  margin-bottom: 0.5rem;
}

.meals-cuisine-block p {
  font-size:   1rem;
  color:       var(--text-muted);
  line-height: 1.65;
}

/* Extras */
.meals-extras {
  display:        flex;
  flex-direction: column;
  gap:            1.25rem;
}

.meals-extra-item h4 {
  font-size:     1.0625rem;
  font-weight:   700;
  color:         var(--text);
  margin-bottom: 0.4rem;
  display:       flex;
  align-items:   center;
  gap:           0.5rem;
}
.meals-extra-item h4 i { color: var(--accent); }

.meals-extra-item p {
  font-size:   1rem;
  color:       var(--text-muted);
  line-height: 1.65;
}

/* ── Getting Here ─────────────────────────────────────────── */
.section-getting-here {
  padding:    var(--section-pad) 0;
  background: var(--bg);
}

.getting-here-grid {
  display:               grid;
  grid-template-columns: 1fr 380px;
  gap:                   3.5rem;
  align-items:           start;
}

.travel-block { margin-bottom: 2.25rem; }
.travel-block:last-child { margin-bottom: 0; }

.travel-block h3 {
  font-size:     1.1875rem;
  font-weight:   700;
  color:         var(--text);
  margin-bottom: 0.75rem;
  display:       flex;
  align-items:   center;
  gap:           0.5rem;
}
.travel-block h3 i { color: var(--accent); font-size: 1rem; }

.travel-block p {
  font-size:     1rem;
  color:         var(--text-muted);
  line-height:   1.7;
  margin-bottom: 0.75rem;
}

.travel-routes {
  display:        flex;
  flex-direction: column;
  gap:            0.4rem;
  margin:         0.75rem 0;
  padding-left:   0.25rem;
}

.travel-routes li {
  display:     flex;
  align-items: baseline;
  gap:         0.6rem;
  font-size:   1rem;
  color:       var(--text-muted);
  line-height: 1.55;
}

.travel-routes li i {
  color:       var(--accent);
  font-size:   0.45rem;
  flex-shrink: 0;
  transform:   translateY(-0.1em);
}

/* Sidebar */
.getting-here-sidebar { display: flex; flex-direction: column; gap: 1rem; }

.sidebar-img-wrap { border-radius: var(--img-radius); overflow: hidden; }

.sidebar-location-img {
  width:        100%;
  aspect-ratio: 4/3;
  object-fit:   cover;
}

.maps-open-btn {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             0.5rem;
  padding:         0.75rem 1rem;
  background:      var(--accent);
  color:           #fff;
  border-radius:   var(--btn-radius);
  font-size:       1rem;
  font-weight:     600;
  text-align:      center;
  transition:      background var(--transition);
}
.maps-open-btn:hover { background: var(--accent-hover); }

.maps-embed-wrap {
  border-radius: var(--img-radius);
  overflow:      hidden;
  border:        1px solid var(--border);
}

.maps-embed-wrap iframe { display: block; }

/* Info card */
.info-card {
  background:    var(--bg-alt);
  border-radius: var(--img-radius);
  padding:       1.25rem;
  border:        1px solid var(--border);
}

.info-card h4 {
  font-size:     1rem;
  font-weight:   700;
  color:         var(--text);
  margin-bottom: 0.75rem;
  display:       flex;
  align-items:   center;
  gap:           0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.info-card h4 i { color: var(--accent); }

.info-card p {
  font-size:     1rem;
  color:         var(--text-muted);
  line-height:   1.6;
  margin-bottom: 0.5rem;
}
.info-card p:last-child { margin-bottom: 0; }

.info-card-note {
  font-size:   0.9375rem !important;
  font-style:  italic;
}

/* Travel tips */
.travel-tips-list {
  display:        flex;
  flex-direction: column;
  gap:            0.75rem;
}

.travel-tips-list li {
  display:     flex;
  align-items: flex-start;
  gap:         0.6rem;
  font-size:   0.9375rem;
  color:       var(--text-muted);
  line-height: 1.55;
}

.travel-tips-list li i {
  color:       var(--accent);
  font-size:   1rem;
  width:       1rem;
  flex-shrink: 0;
  margin-top:  0.1rem;
}

/* Quick facts */
.quick-facts-list {
  display:        flex;
  flex-direction: column;
  gap:            0.6rem;
}

.quick-facts-list li {
  display:     flex;
  align-items: flex-start;
  gap:         0.6rem;
  font-size:   1rem;
  color:       var(--text-muted);
  line-height: 1.55;
}

.quick-facts-list li i {
  color:       var(--accent);
  font-size:   1rem;
  width:       1rem;
  flex-shrink: 0;
  margin-top:  0.1rem;
}

/* ── Contact ──────────────────────────────────────────────── */
.section-contact {
  padding:    var(--section-pad) 0;
  background: var(--bg-alt);
}

.contact-grid {
  display:               grid;
  grid-template-columns: 1fr 340px;
  gap:                   3rem;
  align-items:           start;
}

/* Form banners */
.form-banner {
  display:       flex;
  align-items:   center;
  gap:           0.75rem;
  padding:       1rem 1.25rem;
  border-radius: var(--btn-radius);
  margin-bottom: 1.5rem;
  font-size:     1rem;
  font-weight:   500;
}

.form-success {
  background: #d1fae5;
  color:      #065f46;
  border:     1px solid #6ee7b7;
}

.form-error {
  background: #fee2e2;
  color:      #991b1b;
  border:     1px solid #fca5a5;
}

/* Form */
.enquiry-form { display: flex; flex-direction: column; gap: 0; }

.form-honeypot { display: none; }

.form-row {
  display:   grid;
  grid-template-columns: 1fr 1fr;
  gap:       1.25rem;
  margin-bottom: 1.25rem;
}

.form-row-full { grid-template-columns: 1fr; }

.form-group {
  display:        flex;
  flex-direction: column;
  gap:            0.35rem;
}

.form-group label {
  font-size:   1rem;
  font-weight: 600;
  color:       var(--text);
}

.req { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
  font-family:   var(--font-body);
  font-size:     1rem;
  color:         var(--text);
  background:    var(--bg);
  border:        1px solid var(--border);
  border-radius: var(--btn-radius);
  padding:       0.625rem 0.875rem;
  width:         100%;
  transition:    border-color var(--transition), box-shadow var(--transition);
  appearance:    none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline:      none;
  border-color: var(--accent);
  box-shadow:   0 0 0 3px var(--accent-alpha);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #dc2626;
}

.field-error {
  font-size:   0.9375rem;
  color:       #dc2626;
}

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

.form-footer-row {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             1rem;
  margin-top:      0.5rem;
  flex-wrap:       wrap;
}

.form-reassurance {
  font-size:   1rem;
  color:       var(--text-muted);
}

.form-submit-btn {
  font-family:   var(--font-body);
  padding:       0.875rem 2rem;
}

/* Contact sidebar */
.contact-sidebar { display: flex; flex-direction: column; gap: 1rem; }

/* ── Reviews ──────────────────────────────────────────────── */
.section-reviews {
  padding:    var(--section-pad) 0;
  background: var(--bg);
}

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

.review-card {
  background:    var(--bg-alt);
  border-radius: var(--img-radius);
  padding:       1.5rem;
  border:        1px solid var(--border);
  display:       flex;
  flex-direction: column;
  opacity:       0;
  transform:     translateY(16px);
  transition:    opacity 0.4s ease, transform 0.4s ease;
}

.review-card.visible {
  opacity:   1;
  transform: none;
}

.review-stars {
  display:       flex;
  gap:           0.2rem;
  margin-bottom: 0.875rem;
  color:         var(--accent);
  font-size:     1rem;
}

.review-body {
  font-size:   1rem;
  color:       var(--text-muted);
  line-height: 1.65;
  flex:        1;
  margin-bottom: 1rem;
}

.review-author {
  display:     flex;
  align-items: baseline;
  gap:         0.5rem;
  padding-top: 0.75rem;
}

.review-name {
  font-size:   1rem;
  font-weight: 700;
  color:       var(--text);
}

.review-country {
  font-size:   1rem;
  font-weight: 400;
  color:       var(--text-muted);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--footer-bg);
  padding:    3.5rem 0 0;
  color:      rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display:               grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap:                   3rem;
  margin-bottom:         2.5rem;
  align-items:           start;
}

.footer-brand {
  font-family:   var(--font-heading);
  font-size:     1.75rem;
  color:         #fff;
  margin-bottom: 0.875rem;
  line-height:   1.2;
}

.footer-desc {
  font-size:     1rem;
  line-height:   1.65;
  color:         rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
}

.footer-location {
  display:     flex;
  align-items: center;
  gap:         0.5rem;
  font-size:   1rem;
  color:       rgba(255, 255, 255, 0.65);
}
.footer-location i { color: var(--accent); }

.footer-links-col h4,
.footer-contact-col h4 {
  font-size:      1rem;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color:          #fff;
  margin-bottom:  1rem;
}

.footer-links-col ul { padding: 0; }
.footer-links-col li { margin-bottom: 0.5rem; }
.footer-links-col a {
  font-size:   1rem;
  color:       rgba(255, 255, 255, 0.65);
  transition:  color var(--transition);
}
.footer-links-col a:hover { color: #fff; }

.footer-enquiry-link {
  display:     block;
  font-size:   1rem;
  font-weight: 700;
  color:       #fff;
  margin-bottom: 1.25rem;
  transition:  color var(--transition);
}
.footer-enquiry-link:hover { color: rgba(255, 255, 255, 0.8); }

.footer-social {
  display: flex;
  gap:     0.6rem;
}

.footer-social a {
  width:           36px;
  height:          36px;
  border-radius:   50%;
  border:          1px solid rgba(255, 255, 255, 0.25);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           rgba(255, 255, 255, 0.65);
  font-size:       0.875rem;
  transition:      color var(--transition), border-color var(--transition);
}
.footer-social a:hover {
  color:        #fff;
  border-color: #fff;
}

.footer-bottom {
  border-top:  1px solid rgba(255, 255, 255, 0.12);
  padding:     1.25rem 0;
  font-size:   0.9375rem;
  color:       rgba(255, 255, 255, 0.4);
  text-align:  center;
}

/* ── Modal ────────────────────────────────────────────────── */
.modal {
  display:         none;
  position:        fixed;
  inset:           0;
  z-index:         2000;
  align-items:     center;
  justify-content: center;
  padding:         1.5rem;
}

.modal.open { display: flex; }

.modal-backdrop {
  position:   absolute;
  inset:      0;
  background: rgba(0, 0, 0, 0.6);
}

.modal-content {
  position:     relative;
  background:   #fff;
  border-radius: var(--img-radius);
  padding:       2rem;
  max-width:     560px;
  width:         100%;
  max-height:    90vh;
  overflow-y:    auto;
  z-index:       1;
  box-shadow:    0 20px 60px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position:    absolute;
  top:         1rem;
  right:       1rem;
  background:  none;
  border:      none;
  font-size:   1.75rem;
  line-height: 1;
  cursor:      pointer;
  color:       var(--text-muted);
  width:       36px;
  height:      36px;
  display:     flex;
  align-items: center;
  justify-content: center;
  transition:  color var(--transition);
}
.modal-close:hover { color: var(--text); }

.modal-room-title {
  font-size:     1.5rem;
  margin-bottom: 0.75rem;
  color:         var(--text);
  padding-right: 2rem;
}

.modal-room-desc {
  font-size:     1rem;
  color:         var(--text-muted);
  line-height:   1.65;
  margin-bottom: 1.25rem;
}

.modal-room-specs {
  display:        flex;
  flex-direction: column;
  gap:            0.5rem;
  margin-bottom:  1.5rem;
  padding:        1rem;
  background:     var(--bg-alt);
  border-radius:  8px;
}

.modal-room-specs li {
  display:     flex;
  align-items: center;
  gap:         0.6rem;
  font-size:   1rem;
  color:       var(--text-muted);
}

.modal-room-specs li i { color: var(--accent); font-size: 1rem; }

.modal-room-cta {
  display:    block;
  text-align: center;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Navbar mobile: always white */
  .navbar {
    background:      rgba(255, 255, 255, 0.97);
    box-shadow:      0 1px 0 var(--border);
    backdrop-filter: blur(12px);
  }
  .navbar:not(.scrolled) .logo-navbar { filter: none; }
  .navbar-links { display: none; }
  .navbar-cta   { display: none; }
  .hamburger    { display: flex; }
  .navbar-inner { justify-content: space-between; }

  .hero { min-height: 85vh; }
  .hero-content { max-width: 100%; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-col { order: -1; }

  .villas-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .core-activities-grid { grid-template-columns: repeat(2, 1fr); }

  .onsite-list { grid-template-columns: repeat(2, 1fr); }

  .tour-block,
  .tour-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .tour-block.reverse { direction: ltr; }
  .tour-block.reverse .tour-img-col { order: -1; }

  .meals-bld-grid     { grid-template-columns: 1fr; }
  .meals-cuisine-grid { grid-template-columns: 1fr; }

  .getting-here-grid { grid-template-columns: 1fr; }
  .getting-here-sidebar { order: -1; }

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

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

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  :root { --section-pad: 52px; }

  .core-activities-grid { grid-template-columns: 1fr; }

  .onsite-list { grid-template-columns: 1fr; }

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

  .form-row { grid-template-columns: 1fr; }

  .hero-cta-row { flex-direction: column; align-items: flex-start; }

  .about-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .carousel-btn.prev { left:  0.5rem; }
  .carousel-btn.next { right: 0.5rem; }
}

/* ── Lang switcher ── */
.lang-switcher-x13 { display:flex; align-items:center; margin-left:1rem; background:#f3f4f6; border:1px solid #d1d5db; border-radius:999px; overflow:hidden; padding:2px; flex-shrink:0; }
.lang-switcher-x13 a { font-size:0.75rem; padding:0.2rem 0.7rem; color:#9ca3af; text-decoration:none; border-radius:999px; font-weight:500; }
.lang-switcher-x13 .lang-active { color:#1a1a1a; background:#fff; font-weight:700; }
.navbar-right-mobile { display:none; align-items:center; gap:0.75rem; margin-left:auto; }
.lang-switcher-xm12 { display:flex; gap:0.375rem; }
.lang-switcher-xm12 a { font-size:0.8125rem; color:#9ca3af; text-decoration:none; }
.lang-switcher-xm12 .lang-active { color:#6b7280; font-weight:700; }
@media (max-width:1023px){ .lang-switcher-desktop{display:none!important;} .navbar-right-mobile{display:flex;} }
@media (min-width:1024px){ .lang-switcher-mobile,.navbar-right-mobile{display:none!important;} }

/* ── Carousel arrows always visible ── */
.carousel-btn { opacity:1 !important; }

/* ── Date placeholder ── */
input[type="text"][name="checkin_date"]::placeholder { color:#9ca3af; }

/* ── Lang switcher inline with CTA (not below) ── */
.nav-actions, .navbar .nav-right, .navbar-inner > div:last-child { flex-wrap: nowrap !important; }
.lang-switcher-x13 { display:inline-flex !important; align-items:center; margin-left:1rem; background:#f3f4f6; border:1px solid #d1d5db; border-radius:999px; padding:2px; flex-shrink:0; vertical-align:middle; }
.lang-switcher-x13 a { font-size:0.75rem; padding:0.2rem 0.7rem; color:#9ca3af; text-decoration:none; border-radius:999px; font-weight:500; }
.lang-switcher-x13 .lang-active { color:#1a1a1a; background:#fff; font-weight:700; }
@media (min-width:1024px){ .nav-cta-btn { display:inline-block; vertical-align:middle; } }

/* ── Contact: remove big top padding (Book Your Stay) ── */
#contact { padding-top: 2rem !important; }

/* ── Reviews: remove big top padding (Guest Feedback) ── */
#reviews { padding-top: 2rem !important; }

/* ── Spa massage image: original size, not full width ── */
img[src*="resort-spa-massage"] { max-width: 480px !important; width: auto !important; height: auto !important; }

/* ── Island tours image: square ── */
img[src*="island-tours-santiri"] { aspect-ratio: 1/1 !important; object-fit: cover !important; }

/* ── Footer flags ── */
.footer-lang { display:flex; gap:0.75rem; align-items:center; margin-top:1.25rem; }
.footer-flag { display:inline-flex; opacity:0.75; text-decoration:none; }
.footer-flag:hover, .footer-flag.lang-active { opacity:1; }
.flag-svg { display:block; width:28px !important; height:18px !important; }

/* ══ Description +1px ══ */
.hero-tagline { font-size: 1.1rem !important; }

/* ══ Buffet + spa images: original size, left-aligned ══ */
img[src*="resort-buffet-meals"] { max-width: 480px !important; width: auto !important; height: auto !important; margin-right: auto !important; margin-left: 0 !important; display: block; }
img[src*="resort-spa-massage"] { max-width: 480px !important; width: auto !important; height: auto !important; margin-right: auto !important; margin-left: 0 !important; display: block; }

/* ══ Lang switcher: transparent pill at top, filled when scrolled ══ */
.navbar:not(.scrolled) .lang-switcher-x13 {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.6) !important;
}
.navbar:not(.scrolled) .lang-switcher-x13 a { color: rgba(255,255,255,0.85) !important; }
.navbar:not(.scrolled) .lang-switcher-x13 .lang-active { background: rgba(255,255,255,0.25) !important; color: #fff !important; }
.lang-switcher-x13 { margin-left: 50px !important; }

/* ══ Hero: desktop right-aligned 250px + 50% top; mobile 50% top ══ */
.hero { display: flex; align-items: center !important; }
@media (min-width: 769px) {
  .hero-content { margin-left: auto !important; margin-right: 250px !important; text-align: right !important; max-width: 600px; }
  .hero-content .hero-tagline { margin-left: auto !important; }
  .hero-content .hero-cta-row { justify-content: flex-end !important; }
}
@media (max-width: 768px) {
  .hero { align-items: center !important; }
  .hero-content { text-align: left; }
}

/* ══ Mobile: hamburger bars dark + visible, lang switcher visible ══ */
@media (max-width: 1023px) {
  .hamburger { display: flex !important; }
  .hamburger span,
  .navbar:not(.scrolled) .hamburger span { background: var(--text, #1a1a1a) !important; }
  .navbar-right-mobile { display: flex !important; }
  .lang-switcher-mobile a { color: #6b7280 !important; }
  .lang-switcher-mobile .lang-active { color: #1a1a1a !important; font-weight: 700; }
}

/* ══ About highlights: keep 2, on one line ══ */
.about-highlights, ul.about-highlights { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 1.5rem; }
.about-highlights li { display: flex; align-items: center; gap: 0.5rem; }

/* ══ Padding above Water Villa (below carousel) ══ */
.villa-card .villa-info { padding-top: 1.25rem !important; }
.villa-card .carousel { margin-bottom: 0.5rem; }

/* ══ Mobile font floor ══ */
@media (max-width: 640px) {
  body { font-size: 1.0625rem !important; }
  p, li, span, label, td, th, .villa-desc, .villa-specs span, .review-body,
  .form-group label, .form-group input, .form-group select, .form-group textarea,
  .footer-desc, .footer-nav a, .btn, .section-intro-text { font-size: 1.0625rem !important; }
  h2, .section-heading { font-size: 1.5rem !important; }
  h3, .villa-name { font-size: 1.1875rem !important; }
}

/* ══ Footer Check Availability bold ══ */
.footer-cta-bold { font-weight: 700 !important; }

/* ══ Meal types as cards ══ */
.meals-cuisine-block, .meals-extra-item {
  background: var(--bg-alt, #f5f8f6);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 1.5rem;
}
.meals-cuisine-grid, .meals-extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.meals-cuisine-block h4, .meals-extra-item h4 { margin-bottom: 0.5rem; }
@media (max-width: 900px) { .meals-cuisine-grid, .meals-extras { grid-template-columns: 1fr; } }

/* ══ Buffet + spa images: contained within section, left-aligned with title ══ */
img[src*="resort-buffet-meals"], img[src*="resort-spa-massage"] {
  max-width: 480px !important; width: 100% !important; height: auto !important;
  margin-left: 0 !important; margin-right: auto !important; display: block;
  border-radius: 12px;
}
/* Ensure the image's container has the section's horizontal padding */
.section-meals > .container, .section-activities > .container { padding-left: 1.5rem; padding-right: 1.5rem; }

/* ══ Lang switcher hover effect ══ */
.lang-switcher-x13 a:not(.lang-active):hover { color: var(--accent) !important; }
.navbar:not(.scrolled) .lang-switcher-x13 a:not(.lang-active):hover { color: #fff !important; background: rgba(255,255,255,0.15); }

/* ══ MOBILE NAVBAR: force hamburger + lang visible (priority) ══ */
@media (max-width: 1023px) {
  .navbar-links { display: none !important; }
  .navbar-cta { display: none !important; }
  .navbar-right-mobile { display: flex !important; align-items: center; gap: 0.75rem; margin-left: auto; }
  .lang-switcher-mobile { display: flex !important; gap: 0.375rem; }
  .lang-switcher-mobile a { color: #6b7280 !important; font-size: 0.8125rem; text-decoration: none; }
  .lang-switcher-mobile .lang-active { color: #1a1a1a !important; font-weight: 700; }
  .hamburger { display: flex !important; flex-direction: column; gap: 5px; width: 40px; height: 40px; background: none; border: none; }
  .hamburger .hamburger-bar { display: block !important; width: 24px; height: 2px; background: #1a1a1a !important; border-radius: 2px; }
  /* Force navbar white on mobile so dark bars/text are visible */
  .navbar { background: rgba(255,255,255,0.97) !important; box-shadow: 0 1px 0 var(--border) !important; }
  .navbar-logo .logo-navbar { filter: none !important; }
}
@media (min-width: 1024px) { .navbar-right-mobile { display: none !important; } }

/* ══ PRIORITY FIX: banner image wraps align with section titles/paragraphs ══
   The spa (activities) and buffet (meals) images live in full-width
   .activities-banner-wrap / .meals-banner-wrap, which are NOT inside a
   .container — so margin-left:0 pinned them to the screen edge. Constrain
   the wraps to the container width + padding so the 480px image's left edge
   lines up with the section eyebrow/heading above and the intro paragraph below. */
.activities-banner-wrap,
.meals-banner-wrap {
  max-width:     var(--max-w) !important;
  width:         100% !important;
  margin-left:   auto !important;
  margin-right:  auto !important;
  padding-left:  1.5rem !important;
  padding-right: 1.5rem !important;
}

/* ══ Banner images at ORIGINAL size (remove 480px cap + crop) ══
   Show spa (activities) and buffet (meals) images at their natural size,
   bounded only by the container width so they never overflow. Keep them
   left-aligned with the section titles/paragraphs. Overrides the earlier
   480px / object-fit:cover / max-height rules. */
img[src*="resort-buffet-meals"],
img[src*="resort-spa-massage"],
.activities-banner-img,
.meals-banner-img {
  max-width:    75% !important;    /* 75% of current (container) size */
  width:        auto !important;   /* intrinsic / original size */
  height:       auto !important;
  max-height:   none !important;   /* remove the cropped-strip cap */
  object-fit:   initial !important;
  margin-left:  0 !important;      /* stay left-aligned with titles */
  margin-right: auto !important;
  display:      block;
  border-radius: 12px;
}
