/*
 * WB Shun Shun Water Bungalows — style.css
 * Generated: 2026-04-26 | Skill round 5.9.1
 * Font: Cabinet Grotesk (700,800) + DM Sans (300,400,500,600)
 * Accent: Electric Blue #2563eb / Hover: #1d4ed8
 * Footer bg: #050e23 (dark_variant #2563eb 0.85)
 */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
html { scroll-padding-top: calc(80px + 24px); }

:root {
  /* Brand colours */
  --accent:         #2563eb;
  --accent-hover:   #1d4ed8;

  /* Surface */
  --bg:             #ffffff;
  --bg-alt:         #f8fafc;

  /* Text */
  --text:           #1e293b;
  --text-muted:     #64748b;

  /* Borders */
  --border:         #e2e8f0;

  /* Typography */
  --font-heading:   'Cabinet Grotesk', sans-serif;
  --font-body:      'DM Sans', sans-serif;

  /* Layout */
  --navbar-h:       80px;
  --max-w:          1280px;

  /* Radii */
  --btn-radius:     8px;
  --img-radius:     12px;
  --card-radius:    12px;

  /* Footer — dark theme */
  --footer-bg:      #050e23;
  --footer-text:    rgba(255, 255, 255, 0.65);
  --footer-head:    #ffffff;
  --footer-line:    rgba(255, 255, 255, 0.10);
  --footer-chip:    rgba(255, 255, 255, 0.10);
  --footer-chip-h:  rgba(255, 255, 255, 0.18);

  /* Transitions */
  --t-fast:         0.18s ease;
  --t-med:          0.28s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  max-width: 100%;
}

html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin: 0 0 0.75rem;
  line-height: 1.2;
  color: var(--text);
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), opacity var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
  text-decoration: none;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: var(--bg);
  box-shadow: 0 2px 12px rgba(0,0,0,.10);
  transition: background var(--t-med), box-shadow var(--t-med);
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.10);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

.logo-navbar {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.navbar-links li a {
  display: block;
  padding: 8px 14px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: background var(--t-fast), color var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}

.navbar-links li a:hover {
  background: var(--bg-alt);
  color: var(--accent);
  text-decoration: none;
}

.navbar.scrolled .navbar-links li a {
  color: var(--text);
}

.navbar.scrolled .navbar-links li a:hover {
  background: var(--bg-alt);
  color: var(--accent);
}

.navbar-links .nav-cta a {
  background: var(--accent);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: var(--btn-radius);
  font-weight: 600;
}

.navbar-links .nav-cta a:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

.navbar.scrolled .navbar-links .nav-cta a {
  color: #ffffff;
}

/* ============================================================
   NAV SENTINEL
   ============================================================ */
.nav-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
}

/* ============================================================
   HAMBURGER
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--t-fast);
  flex-shrink: 0;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .hamburger:hover {
  background: var(--bg-alt);
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--t-med), opacity var(--t-med);
}

.navbar.scrolled .hamburger-bar {
  background: var(--text);
}

/* Hamburger open state — handled by script.js adding .open to button */
.hamburger.open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.hamburger.open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: var(--navbar-h);
  right: 0;
  width: min(320px, 88vw);
  max-height: calc(100vh - var(--navbar-h) - 2rem);
  background: #ffffff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  border-radius: 0 0 0 12px;
  padding: 20px 0 24px;
  overflow-y: auto;
  z-index: 999;
  transform: translateX(100%);
  transition: transform var(--t-med);
}

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

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 12px;
  right: 16px;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: background var(--t-fast), color var(--t-fast);
}

.mobile-menu-close:hover {
  background: var(--border);
  color: var(--text);
}

.mobile-logo {
  display: flex;
  align-items: center;
  padding: 8px 20px 16px;
  text-decoration: none;
}

.mobile-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.mobile-nav-links {
  padding: 0;
}

.mobile-nav-links li a {
  display: block;
  padding: 13px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast), color var(--t-fast);
  text-decoration: none;
}

.mobile-nav-links li:last-child a {
  border-bottom: none;
  background: var(--accent);
  color: #ffffff;
  margin: 12px 20px 0;
  border-radius: var(--btn-radius);
  text-align: center;
  font-weight: 600;
}

.mobile-nav-links li a:hover {
  background: var(--bg-alt);
  color: var(--accent);
  text-decoration: none;
}

.mobile-nav-links li:last-child a:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

/* ============================================================
   MENU BACKDROP
   ============================================================ */
.menu-backdrop {
  display: none;
  position: fixed;
  inset: var(--navbar-h) 0 0 0;
  background: rgba(17, 24, 39, 0.30);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--t-med);
}

.menu-backdrop.open {
  display: block;
  opacity: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: none;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: calc(var(--navbar-h) + 14vh);
  padding-bottom: 80px;
  background: linear-gradient(
    180deg,
    rgba(5, 14, 35, 0.52) 0%,
    rgba(5, 14, 35, 0.30) 50%,
    rgba(5, 14, 35, 0.20) 100%
  );
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
}

.hero-content {
  max-width: 680px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.20);
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.90);
  font-weight: 400;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
.section {
  padding: 80px 0;
  background: var(--bg);
}

.section-alt {
  padding: 80px 0;
  background: var(--bg-alt);
}

.section-eyebrow {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-eyebrow-center {
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}

.section-title-center {
  text-align: center;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.section-intro {
  max-width: 820px;
  margin: 0 auto 48px;
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.7;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.about-content .section-lead {
  color: var(--text);
}

.about-content .btn {
  align-self: flex-start;
  margin-top: 8px;
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--img-radius);
  max-width: none;
}

/* ============================================================
   ROOMS (VILLAS)
   ============================================================ */
.villa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.villa-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--t-med), transform var(--t-med);
}

.villa-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Carousel */
.carousel {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
}

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

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(5, 14, 35, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  opacity: 1;
  transition: background var(--t-fast);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn:hover {
  background: rgba(5, 14, 35, 0.80);
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.50);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--t-fast), transform var(--t-fast);
}

.carousel-dot.active,
.carousel-dot:hover {
  background: #ffffff;
  transform: scale(1.2);
}

/* Villa view link */
.villa-view-link {
  display: block;
  width: fit-content;
  margin: 14px auto 0;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: var(--btn-radius);
  cursor: pointer;
  text-align: center;
  transition: background var(--t-fast), color var(--t-fast);
  text-decoration: none;
}

.villa-view-link:hover {
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
}

/* Villa info */
.villa-info {
  display: flex;
  flex-direction: column;
  padding: 16px 20px 20px;
  flex: 1;
}

.villa-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.villa-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.villa-specs {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.villa-specs li {
  padding-left: 14px;
  position: relative;
}

.villa-specs li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.btn-room-cta {
  margin-top: auto;
  width: 100%;
  padding: 12px 20px;
  background: var(--accent);
  color: #ffffff;
  border: 2px solid var(--accent);
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background var(--t-fast), border-color var(--t-fast);
  text-decoration: none;
}

.btn-room-cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ============================================================
   MEALS
   ============================================================ */
.meals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.meals-content .section-lead {
  margin-bottom: 24px;
}

.meal-blocks {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.meal-block {
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
}

.meal-block h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.meal-block h3 i {
  color: var(--accent);
  font-size: 0.95rem;
}

.meal-block p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.meals-extras h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.meals-extras ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meals-extras li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.meals-extras li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.meals-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--img-radius);
  max-width: none;
  position: sticky;
  top: calc(var(--navbar-h) + 24px);
}

/* ============================================================
   ACTIVITIES
   ============================================================ */

/* Banner — full-width image above section-intro */
.activities-banner {
  width: 100%;
  margin: 0 0 32px;
  border-radius: var(--img-radius);
  overflow: hidden;
}

.activities-banner img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  max-width: none;
  display: block;
}

/* Core activity cards — 4-col grid */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.activity-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t-med), transform var(--t-med);
}

.activity-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
  transform: translateY(-2px);
}

.activity-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  max-width: none;
  flex-shrink: 0;
}

.activity-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 16px 16px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.activity-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0 16px 18px;
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

/* On-site activities */
.onsite-activities {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 28px 32px;
  margin-bottom: 56px;
}

.onsite-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.onsite-intro {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.onsite-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.onsite-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.onsite-item i {
  color: var(--accent);
  font-size: 0.85rem;
}

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

.tour-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tour-block-reverse {
  direction: rtl;
}

.tour-block-reverse .tour-block-image,
.tour-block-reverse .tour-block-body {
  direction: ltr;
}

.tour-block-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--img-radius);
  max-width: none;
  display: block;
}

.tour-block-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.tour-block-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.tour-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tour-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.tour-highlights li i {
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   GETTING HERE
   ============================================================ */
.getting-here-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}

.getting-here-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.getting-here-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.getting-here-block h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.getting-here-block h3 i {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.getting-here-block p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.flight-routes,
.transfer-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.flight-routes li,
.transfer-details li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.flight-routes li i,
.transfer-details li i {
  color: var(--accent);
  font-size: 0.5rem;
  flex-shrink: 0;
  margin-top: 7px;
}

/* Getting-here sidebar */
.getting-here-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--navbar-h) + 24px);
}

.sidebar-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--img-radius);
  max-width: none;
  display: block;
}

/* Maps button */
.maps-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--btn-radius);
  font-size: 0.93rem;
  font-weight: 600;
  transition: background var(--t-fast);
  text-decoration: none;
  text-align: center;
}

.maps-btn:hover {
  background: var(--accent-hover);
  color: #ffffff;
  text-decoration: none;
}

.maps-btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

/* Maps iframe */
.maps-iframe-wrap {
  border-radius: var(--img-radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.maps-iframe-wrap iframe {
  display: block;
  width: 100%;
}

/* Travel tips card */
.travel-tips-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 20px;
}

.travel-tips-card .sidebar-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.travel-tips-card .sidebar-card-title i {
  color: var(--accent);
}

.travel-tips-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}

.contact-form-col {
  display: flex;
  flex-direction: column;
}

/* Sidebar cards */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--navbar-h) + 24px);
}

.sidebar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 20px;
}

.sidebar-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-card-title i {
  color: var(--accent);
}

.sidebar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.quick-facts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-facts-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

/* Form */
.form-reassurance {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.required-asterisk {
  color: var(--accent);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  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 rgba(37, 99, 235, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

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

.input-error {
  border-color: #ef4444 !important;
}

.input-error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 14px 32px;
  background: var(--accent);
  color: #ffffff;
  border: 2px solid var(--accent);
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-submit:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.form-success,
.form-error {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.93rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.form-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.form-error p {
  margin: 6px 0 0;
  font-size: 0.88rem;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--t-med);
}

.review-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.review-stars {
  display: flex;
  gap: 3px;
}

.review-stars i {
  color: #f59e0b;
  font-size: 0.9rem;
}

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

.review-author {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: auto;
}

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

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--footer-bg);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--footer-head);
  margin-bottom: 14px;
}

.footer-description {
  font-size: 0.9rem;
  color: var(--footer-text);
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-location {
  font-size: 0.88rem;
  color: var(--footer-text);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.footer-location i {
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.footer-col-heading {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--footer-head);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li a {
  font-size: 0.9rem;
  color: var(--footer-text);
  transition: color var(--t-fast);
  text-decoration: none;
}

.footer-links li a:hover {
  color: var(--footer-head);
  text-decoration: none;
}

.footer-enquiry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--footer-head);
  margin-bottom: 20px;
  transition: color var(--t-fast);
  text-decoration: none;
}

.footer-enquiry:hover {
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--footer-chip);
  color: var(--footer-head);
  font-size: 0.9rem;
  transition: background var(--t-fast);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--footer-chip-h);
  text-decoration: none;
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--footer-line);
  margin: 0;
}

.footer-copyright {
  text-align: center;
  font-size: 0.83rem;
  color: var(--footer-text);
  padding: 20px 0;
  margin: 0;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 35, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.modal-content {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-radius: 16px;
  padding: 36px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.30);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--t-fast), color var(--t-fast);
}

.modal-close:hover {
  background: var(--border);
  color: var(--text);
}

.modal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  padding-right: 32px;
}

.modal-content p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.modal-room-specs {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 24px;
}

.modal-room-specs li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.modal-room-specs li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.modal-content .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   RESPONSIVE — 1200px
   ============================================================ */
@media (max-width: 1200px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .getting-here-grid {
    grid-template-columns: 1fr 340px;
    gap: 40px;
  }

  .footer-grid {
    gap: 32px;
  }
}

/* ============================================================
   RESPONSIVE — 900px
   ============================================================ */
@media (max-width: 900px) {
  .section,
  .section-alt {
    padding: 60px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    height: 320px;
  }

  .villa-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .meals-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .meals-image img {
    height: 300px;
    position: static;
  }

  .tour-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tour-block-reverse {
    direction: ltr;
  }

  .tour-block-image img {
    height: 260px;
  }

  .getting-here-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .getting-here-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .sidebar-image {
    grid-column: 1 / -1;
  }

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

  .contact-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-card {
    flex: 1 1 240px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   RESPONSIVE — 768px (mobile breakpoint)
   ============================================================ */
@media (max-width: 768px) {
  html { scroll-padding-top: calc(80px + 24px); }

:root {
    --navbar-h: 64px;
  }

  /* Show hamburger, hide desktop links */
  .hamburger {
    display: flex;
  }

  .navbar-links {
    display: none;
  }

  /* Navbar always white on mobile */
  .navbar {
    background: #ffffff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.10);
  }

  .navbar-links li a,
  .hamburger-bar {
    /* overridden to dark since bg is white on mobile */
  }

  .hamburger-bar {
    background: var(--text);
  }

  .logo-navbar {
    height: 44px;
  }

  /* Hero */
  .hero-overlay {
    padding-top: calc(var(--navbar-h) + 10vh);
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Activities */
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .activities-banner img {
    height: 220px;
  }

  .onsite-list {
    flex-direction: column;
  }

  /* Getting here sidebar */
  .getting-here-sidebar {
    grid-template-columns: 1fr;
  }

  .maps-iframe-wrap iframe {
    height: 220px;
  }

  /* Contact sidebar */
  .contact-sidebar {
    flex-direction: column;
  }

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

  .btn-submit {
    width: 100%;
    justify-content: center;
  }

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

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand-col {
    grid-column: auto;
  }

  /* Modal */
  .modal {
    padding: 16px;
  }

  .modal-content {
    padding: 24px 20px;
  }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section,
  .section-alt {
    padding: 48px 0;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .tour-block-image img {
    height: 200px;
  }

  .activities-banner img {
    height: 180px;
  }

  .footer {
    padding-top: 40px;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-social a {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========= AUDIT FIXES ========= */
body { font-size: 1.0625rem; }

/* Navbar - always white, per v27 */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: 80px; background: var(--bg); box-shadow: 0 2px 12px rgba(0,0,0,.10); }
.navbar-inner { display: flex !important; align-items: center; height: 80px; width: 100%; padding-left: max(75px, 5vw); padding-right: max(1.5rem, 3vw); gap: 1rem; max-width: none !important; margin: 0 !important; }
@media (max-width: 1024px) { .navbar-inner { padding-left: 24px !important; padding-right: 24px !important; } }
.navbar-logo { margin-right: auto; flex-shrink: 0; }
.logo-navbar { height: 80px !important; padding: 0; margin: 0; object-fit: contain; width: auto; }
.navbar-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.navbar-links a { color: var(--text); text-decoration: none; font-size: 1rem; font-weight: 600; padding: 0.4rem 0.75rem; }
.navbar-links a:hover { color: var(--accent); }
.nav-cta a { background: var(--accent); color: #fff !important; padding: 0.4rem 1.125rem; border-radius: 6px; font-weight: 700; }
.nav-sentinel { position: absolute; top: 80px; height: 0; opacity: 0; pointer-events: none; }

/* Hero per v27 */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-start; overflow: hidden; }
.hero-image { position: absolute; inset: 0; z-index: 0; }
.hero-image img, .hero-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.55) 0%,rgba(0,0,0,0.35) 55%,rgba(0,0,0,0.15) 100%); z-index: 1; }
@media (max-width: 640px) { .hero-overlay { background: linear-gradient(to bottom,rgba(0,0,0,0.3) 0%,rgba(0,0,0,0.5) 60%,rgba(0,0,0,0.65) 100%); } }
.hero-content { position: relative; z-index: 2; padding-top: 33.33vh; padding-bottom: 4rem; margin-left: max(100px, 6vw); margin-right: 200px; text-align: left; }
@media (max-width: 640px) { .hero-content { margin-left: 24px; margin-right: 24px; } }
.hero-heading { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 1rem; }
.hero-sub { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 52ch; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-cta { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 2rem; border-radius: 6px; font-size: 1.0625rem; font-weight: 600; text-decoration: none; }
.hero-cta--primary { background: var(--accent); color: #fff; }
.hero-cta--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }

/* Lang switcher x13 pill */
.lang-switcher-desktop { flex-shrink: 0; display: flex; }
.lang-switcher-x13 { display: flex; align-items: center; margin-left: 1rem; background: #f3f4f6; border: 1px solid #d1d5db; border-radius: 999px; overflow: hidden; padding: 2px; }
.lang-switcher-x13 a { font-size: 0.8125rem; padding: 0.3rem 0.85rem; color: #9ca3af; text-decoration: none; border-radius: 999px; transition: all 0.2s; font-weight: 500; }
.lang-switcher-x13 .lang-active { color: #1a1a1a; background: #fff; font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.lang-switcher-x13 a:not(.lang-active):hover { color: var(--accent); background: rgba(0,0,0,0.04); }
.lang-switcher-x14 { display: flex; align-items: center; margin-left: 1rem; gap: 0.5rem; }
.lang-switcher-x14 a { color: #6b7280; text-decoration: none; font-size: 0.875rem; }
.lang-switcher-x14 .lang-active { color: #1a1a1a; font-weight: 700; }

/* Mobile lang + hamburger */
.navbar-right-mobile { display: none; flex-direction: row; align-items: center; gap: 0.75rem; margin-left: auto; height: 100%; }
@media (max-width: 1023px) { .navbar-right-mobile { display: flex; } .navbar-links { display: none !important; } .lang-switcher-desktop { display: none !important; } }
@media (min-width: 1024px) { .lang-switcher-mobile { display: none !important; } }
.lang-switcher-xm12 { display: flex; gap: 0.375rem; font-size: 0.75rem; }
.lang-switcher-xm12 a { color: #6b7280; text-decoration: none; font-weight: 500; }
.lang-switcher-xm12 .lang-active { color: #1a1a1a; font-weight: 700; }
.hamburger-bar { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* Footer */
.footer-lang { display: flex; gap: 0.75rem; align-items: center; margin-top: 1.25rem; }
.footer-flag { display: inline-flex; align-items: center; opacity: 0.75; text-decoration: none; }
.footer-flag:hover, .footer-flag.lang-active { opacity: 1; }
.flag-svg { display: block; width: 28px; height: 18px; }
.footer-location { font-size: 1rem; color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.footer-location i { color: var(--accent) !important; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 7fr 3fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface, #f9fafb); border: 1px solid var(--border, #e5e7eb); border-radius: 10px; padding: 1.25rem 1.375rem; margin-bottom: 1rem; }
.contact-card h4 { font-size: 1.0625rem; margin: 0 0 0.625rem; display: flex; align-items: center; gap: 0.5rem; }
.contact-card h4 i { color: var(--accent); }
.contact-card p, .contact-card address { font-size: 1rem; color: #6b7280; margin: 0; font-style: normal; line-height: 1.55; }
.quick-facts-sidebar { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.quick-facts-sidebar li { display: flex; align-items: center; gap: 0.625rem; font-size: 1rem; color: #6b7280; }
.quick-facts-sidebar li i { color: var(--accent); width: 1.25rem; text-align: center; flex-shrink: 0; }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-row--2 { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-size: 1rem; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid #e5e7eb; border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--text, #1a1a1a); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #9ca3af !important; font-family: 'DM Sans', sans-serif !important; font-size: 1rem !important; opacity: 1 !important; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
.form-field textarea { resize: vertical; min-height: 110px; }
.has-error { border-color: #dc2626 !important; }
.btn-submit { display: inline-flex; padding: 0.875rem 2.25rem; background: var(--accent); color: #fff; border: none; border-radius: 6px; font-weight: 600; font-size: 1rem; cursor: pointer; }
.form-error { background: #fef2f2; border-left: 4px solid #dc2626; color: #7f1d1d; padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-radius: 6px; }
.form-success { background: #f0fdf4; border-left: 4px solid #16a34a; color: #14532d; padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-radius: 6px; }
.booking-form { display: flex; flex-direction: column; gap: 1.25rem; }
.optional-label { font-size: 0.9375rem; font-weight: 400; color: #6b7280; }
.mobile-cta a { display: block; margin-top: 1.25rem; padding: 0.875rem; background: var(--accent); color: #fff !important; text-align: center; border-radius: 6px; font-weight: 600; text-decoration: none; }

/* Modal v27 */
.modal { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.modal-box { position: relative; z-index: 1; background: #fff; border-radius: 10px; padding: 2.5rem; max-width: 560px; width: 90%; max-height: 85vh; overflow-y: auto; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Tour block grid */
.tour-block { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start; }
.tour-block--img-right, .tour-block-reverse { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 1024px) { .tour-block, .tour-block--img-right, .tour-block-reverse { grid-template-columns: 1fr; } }

/* Carousel dots 9px */
.carousel-dot { width: 9px !important; height: 9px !important; }

/* Focus outline fix */
html:focus-visible, body:focus-visible, section:focus-visible, nav:focus-visible, div:focus-visible { outline: none !important; }

/* Mobile font floor per v27 */
@media (max-width: 640px) {
  p, li, td, th, address, label, span { font-size: 1rem !important; }
  input, select, textarea, button { font-size: 1rem !important; }
  h3 { font-size: 1.25rem !important; }
  .footer-copyright { font-size: 0.9375rem !important; }
  .review-country, .reviewer-country { font-size: 0.9375rem !important; }
}

/* ===== VISUAL FIXES ===== */

/* Hero content right-aligned */
.hero-content {
  text-align: right !important;
  margin-left: 200px !important;
  margin-right: max(100px, 6vw) !important;
}
@media (max-width: 640px) {
  .hero-content { margin-left: 24px !important; margin-right: 24px !important; text-align: left !important; }
}

/* Inflatable image 50% */
img[src*="inflatable-water-activities"] {
  width: 50% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

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

/* Footer description 1px bigger */
.footer-description { font-size: 1.0625rem !important; }
/* Footer location 1px smaller */
.footer-location { font-size: 0.9375rem !important; }

/* Sipadan sites 3-col grid */
.sipadan-sites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
.site-card {
  background: var(--surface, #f9fafb);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
  padding: 1.125rem;
}
.site-card strong { display: block; margin-bottom: 0.375rem; color: var(--text); }
.site-card p { font-size: 1rem; color: var(--mid, #6b7280); margin: 0; line-height: 1.5; }
@media (max-width: 768px) { .sipadan-sites-grid { grid-template-columns: 1fr; } }

/* Mobile menu: no logo, bigger X */
@media (max-width: 1023px) {
  .mobile-menu-header img, .mobile-menu .logo-navbar { display: none !important; }
  .mobile-menu-close, .btn-close-menu { font-size: 2rem !important; width: 44px !important; height: 44px !important; }
}

/* Desktop + Mobile font floor enforcement */
body { font-size: 1.0625rem; }
p, li { font-size: 1.0625rem; }
@media (max-width: 640px) {
  body { font-size: 1rem !important; }
  p, li, td, th, address, label, span, a { font-size: 1rem !important; }
  input, select, textarea, button { font-size: 1rem !important; }
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.5rem !important; }
  h3 { font-size: 1.25rem !important; }
  h4, h5 { font-size: 1.125rem !important; }
  .footer-copyright { font-size: 0.9375rem !important; }
  .review-country, .reviewer-country { font-size: 0.9375rem !important; }
}

/* Hero right-aligned with 125px from right edge */
.hero-content {
  text-align: right !important;
  margin-left: auto !important;
  margin-right: 125px !important;
  max-width: 600px !important;
}
@media (max-width: 640px) {
  .hero-content { margin-left: 24px !important; margin-right: 24px !important; text-align: left !important; max-width: none !important; }
}

/* Inflatable image 33% (2/3 of 50%) */
img[src*="inflatable-water-activities"] {
  width: 33% !important;
}

/* Reduce padding above sipadan cards */
.sipadan-sites-grid { margin-top: 0.5rem !important; }

/* Reduce padding above Getting Here and Reviews by 75px */
#getting-here, #reviews {
  padding-top: calc(var(--section-pad, 5rem) - 75px) !important;
}

/* Island hopping square - force with container */
img[src*="island-hopping-tours-wb-shun-shun"] {
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
}

/* Body text font size floor */
p, li, td, th { font-size: 1.0625rem !important; }
.tour-block-desc, .tour-block-text p, .about-text p { font-size: 1.0625rem !important; }
label, address { font-size: 1rem !important; }

/* ===== COMPREHENSIVE FONT SIZE FIX per v27 ===== */
/* Desktop minimum 1.0625rem */
body { font-size: 1.0625rem !important; }
p, li, td, th, address { font-size: 1.0625rem !important; }
label { font-size: 1rem !important; }
.section-eyebrow { font-size: 1rem !important; }
.navbar-links li a { font-size: 1rem !important; }
.footer-col-heading { font-size: 0.9375rem !important; }

/* Mobile minimum 1rem */
@media (max-width: 640px) {
  body { font-size: 1rem !important; }
  p, li, td, th, address, label, span, a, div { font-size: 1rem !important; }
  input, select, textarea, button { font-size: 1rem !important; }
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.5rem !important; }
  h3 { font-size: 1.25rem !important; }
  h4, h5 { font-size: 1.125rem !important; }
  .section-eyebrow { font-size: 1rem !important; }
  .navbar-links li a { font-size: 1rem !important; }
  .mobile-nav-links li a { font-size: 1rem !important; }
  .footer-col-heading { font-size: 0.9375rem !important; }
  .footer-copyright { font-size: 0.9375rem !important; }
  .review-country, .reviewer-country { font-size: 0.9375rem !important; }
}

/* Mobile menu: close X bigger, no logo */
.mobile-logo { display: none !important; }
.mobile-menu-close { font-size: 2rem !important; width: 44px !important; height: 44px !important; }

/* Menu items 1px bigger */
.navbar-links li a { font-size: calc(1rem + 1px) !important; }
.mobile-nav-links li a { font-size: calc(1rem + 1px) !important; }

/* Reduce padding 25px above key sections */
#villas, #contact, #activities, #getting-here, #reviews {
  padding-top: calc(var(--section-pad, 5rem) - 25px) !important;
}

/* Mobile: inflatable image full size */
@media (max-width: 640px) {
  img[src*="inflatable-water-activities"] {
    width: 100% !important;
  }
}

/* Hero buttons aligned right */
.hero-btns {
  justify-content: flex-end !important;
}

/* Hero content wider for 2-line title */
.hero-content {
  max-width: 700px !important;
  margin-left: auto !important;
  margin-right: 125px !important;
}
.hero-heading {
  white-space: nowrap !important;
}
@media (max-width: 640px) {
  .hero-content { max-width: none !important; margin-left: 24px !important; margin-right: 24px !important; }
  .hero-heading { white-space: normal !important; }
  .hero-btns { justify-content: flex-start !important; }
}
