/*
 * Pearl Island Resort — style.css
 * Generated: 2026-05-05 | Round 5.9.1 | pearl-island-resort
 * Fonts: Cormorant Garamond (headings) + Jost (body)
 * Accent: Forest Emerald #059669
 */

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --accent:        #059669;
  --accent-hover:  #047857;
  --accent-light:  #d1fae5;
  --font-heading:  'Cabinet Grotesk', system-ui, sans-serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
  --nav-h:         80px;
  --max-w:         1200px;
  --section-pad:   72px;
  --btn-radius:    6px;
  --img-radius:    12px;
  --text:          #1a1a1a;
  --text-muted:    #6b7280;
  --bg:            #ffffff;
  --bg-alt:        #f4f4f1;
  --border:        #e5e7eb;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.14);
  --footer-bg:     #00160f;
  --footer-text:   #a0a0b0;
  --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);
}

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

html,
body {
  width:      100%;
  max-width:  100vw;
  overflow-x: hidden;
}

body {
  margin:      0;
  padding:     0;
  font-family: var(--font-body);
  font-size:   1.0625rem;
  line-height: 1.6;
  color:       var(--text);
  background:  var(--bg);
}

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

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

a:hover {
  text-decoration: none;
}

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

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

p {
  margin:    0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width:         100%;
  max-width:     var(--max-w);
  margin-left:   auto !important;
  margin-right:  auto !important;
  padding-left:  1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding-left:  2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1200px) {
  .container {
    padding-left:  3rem;
    padding-right: 3rem;
  }
}

.section-pad {
  padding-top:    var(--section-pad);
  padding-bottom: var(--section-pad);
}

.bg-alt {
  background: var(--bg-alt);
}

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.section-heading {
  font-family:    var(--font-heading);
  font-size:      clamp(2rem, 4vw, 2.75rem);
  font-weight:    600;
  color:          var(--text);
  margin-bottom:  0.5rem;
  letter-spacing: -0.01em;
}

.section-heading.centered {
  text-align: center;
}

.section-rule {
  width:         3.5rem;
  height:        3px;
  background:    var(--accent);
  border-radius: 2px;
  margin-bottom: 1.75rem;
}

.section-rule.centered {
  margin-left:  auto;
  margin-right: auto;
}

.section-intro {
  font-size:   1.0625rem;
  line-height: 1.65;
  max-width:   100%;
  text-align:  justify;
  margin-bottom: 2rem;
}

.subsection-heading {
  font-family:    var(--font-heading);
  font-size:      clamp(1.5rem, 3vw, 2rem);
  font-weight:    600;
  color:          var(--text);
  margin-bottom:  1.25rem;
  margin-top:     3rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position:   fixed;
  top:        0;
  left:       0;
  right:      0;
  height:     var(--nav-h);
  z-index:    1000;
  background: transparent;
  transition: background 0.25s, box-shadow 0.25s;
}

.navbar.scrolled {
  background:      rgba(255,255,255,0.97);
  box-shadow:      0 2px 12px rgba(0,0,0,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 900px) {
  .navbar {
    background:  rgba(255,255,255,0.97) !important;
    box-shadow:  0 1px 0 var(--border);
  }
}

.nav-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  height:          100%;
}

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

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

.navbar:not(.scrolled) .logo-navbar {
  filter: brightness(0) invert(1);
}

.navbar-links {
  display:     flex;
  align-items: center;
  gap:         0.25rem;
  list-style:  none;
  margin:      0;
  padding:     0;
}

.navbar-links a {
  color:           rgba(255,255,255,0.9);
  font-family:     var(--font-body);
  font-size:       1.0625rem;
  font-weight:     600;
  padding:         0.4rem 0.75rem;
  border-radius:   var(--btn-radius);
  text-decoration: none;
  transition:      color 0.2s;
  white-space:     nowrap;
}

.navbar-links a:hover {
  color: #ffffff;
}

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

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

.navbar-links .nav-cta a {
  background:      var(--accent);
  color:           #ffffff;
  font-weight:     700;
  padding:         0.5rem 1.125rem;
  border-radius:   var(--btn-radius);
  text-decoration: none;
  transition:      background 0.2s;
}

.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;
  opacity:        0;
  visibility:     hidden;
}

/* ============================================================
   HAMBURGER
   ============================================================ */
.hamburger {
  display:         none;
  flex-direction:  column;
  justify-content: center;
  align-items:     center;
  gap:             5px;
  width:           44px;
  height:          44px;
  padding:         0;
  background:      transparent;
  border:          none;
  cursor:          pointer;
  flex-shrink:     0;
}

.hamburger-bar {
  display:       block;
  width:         22px;
  height:        2px;
  background:    var(--text);
  border-radius: 2px;
  transition:    background 0.2s;
}

.navbar:not(.scrolled) .hamburger-bar {
  background: #ffffff;
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .navbar-links {
    display: none;
  }
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  display:         none;
  position:        fixed;
  top:             var(--nav-h);
  left:            0;
  right:           0;
  max-height:      calc(100vh - var(--nav-h) - 2rem);
  overflow-y:      auto;
  background:      #ffffff;
  padding:         1.25rem 1.5rem 1.5rem;
  box-shadow:      0 12px 36px rgba(0,0,0,0.14);
  z-index:         999;
  flex-direction:  column;
  border-bottom-left-radius:  var(--btn-radius);
  border-bottom-right-radius: var(--btn-radius);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-close {
  align-self:      flex-end;
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  width:           36px;
  height:          36px;
  padding:         0;
  background:      transparent;
  border:          none;
  font-size:       1.25rem;
  color:           var(--text-muted);
  cursor:          pointer;
  transition:      color 0.2s;
  margin-bottom:   0.75rem;
}

.mobile-menu-close:hover {
  color: var(--accent);
}

.mobile-nav-links {
  list-style: none;
  margin:     0;
  padding:    0;
}

.mobile-nav-links li {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-links li:last-child {
  border-bottom: none;
}

.mobile-nav-links a {
  display:         block;
  padding:         0.875rem 0;
  font-family:     var(--font-body);
  font-size:       1.0625rem;
  font-weight:     600;
  color:           var(--text);
  text-decoration: none;
  transition:      color 0.2s;
}

.mobile-nav-links a:hover {
  color: var(--accent);
}

.menu-backdrop {
  display:         none;
  position:        fixed;
  inset:           var(--nav-h) 0 0 0;
  background:      rgba(17,24,39,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index:         998;
}

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

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

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

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

.hero-overlay {
  position:   absolute;
  inset:      0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.25) 50%,
    rgba(0,0,0,0.15) 100%
  );
}

@media (min-width: 901px) {
  .hero-overlay {
    background: linear-gradient(
      to right,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.30) 60%,
      rgba(0,0,0,0.05) 100%
    );
  }
}

.hero-content {
  position:    relative;
  z-index:     1;
  max-width:   720px;
}

.hero-heading {
  font-family:    var(--font-heading);
  font-size:      clamp(2.5rem, 6vw, 4.5rem);
  font-weight:    600;
  color:          #ffffff;
  line-height:    1.1;
  margin-bottom:  0.75rem;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size:     clamp(1rem, 2vw, 1.25rem);
  color:         rgba(255,255,255,0.88);
  line-height:   1.5;
  margin-bottom: 2.25rem;
  font-weight:   400;
  max-width:     560px;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  padding:         0.875rem 2rem;
  border-radius:   var(--btn-radius);
  font-family:     var(--font-body);
  font-size:       1rem;
  font-weight:     600;
  cursor:          pointer;
  text-decoration: none;
  transition:      background 0.2s, color 0.2s, border-color 0.2s;
  border:          2px solid transparent;
  white-space:     nowrap;
}

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

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

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

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

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

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap:                   2.5rem;
  }
}

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

@media (max-width: 768px) {
  .about-image img {
    height: 280px;
  }
}

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

.quick-facts-inline {
  display:   grid;
  grid-template-columns: 1fr 1fr;
  gap:       0.75rem;
  margin-top: 2rem;
}

@media (max-width: 480px) {
  .quick-facts-inline {
    grid-template-columns: 1fr;
  }
}

.qf-item {
  display:     flex;
  align-items: center;
  gap:         0.625rem;
  font-size:   1rem;
  color:       var(--text-muted);
}

.qf-item i {
  color:      var(--accent);
  font-size:  1rem;
  width:      1.25rem;
  text-align: center;
  flex-shrink: 0;
}

/* ============================================================
   ROOMS SECTION
   ============================================================ */
.section-rooms .section-intro {
  max-width:  680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.villa-grid {
  display:               grid;
  grid-template-columns: 1fr;
  gap:                   2.5rem;
  margin-top:            2.5rem;
}

@media (min-width: 900px) {
  .villa-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.villa-card {
  background:    var(--bg);
  border-radius: var(--img-radius);
  box-shadow:    var(--shadow-md);
  display:       flex;
  flex-direction: column;
  height:        100%;
  overflow:      hidden;
}

/* ============================================================
   CAROUSEL
   ============================================================ */
.carousel {
  position:   relative;
  overflow:   hidden;
  border-radius: var(--img-radius) var(--img-radius) 0 0;
  aspect-ratio: 4/3;
  background: #111;
}

.carousel-track {
  display:    flex;
  height:     100%;
  transition: transform 0.4s ease;
}

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

.carousel-slide img {
  width:       100%;
  height:      100%;
  object-fit:  cover;
  aspect-ratio: 4/3;
  display:     block;
}

.carousel-btn {
  position:        absolute;
  top:             50%;
  transform:       translateY(-50%);
  z-index:         10;
  width:           44px;
  height:          44px;
  background:      rgba(0,0,0,0.5);
  border:          none;
  border-radius:   50%;
  color:           #ffffff;
  font-size:       1rem;
  cursor:          pointer;
  display:         flex;
  align-items:     center;
  justify-content: center;
  opacity:         1;
  transition:      background 0.2s;
}

.carousel-btn.prev {
  left: 0.625rem;
}

.carousel-btn.next {
  right: 0.625rem;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.75);
}

.carousel-dots {
  position:        absolute;
  bottom:          0.625rem;
  left:            50%;
  transform:       translateX(-50%);
  display:         flex;
  gap:             0.375rem;
  z-index:         10;
}

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

.carousel-dot.active {
  background: #ffffff;
}

/* ============================================================
   VILLA CARD CONTENT
   ============================================================ */
.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;
  text-decoration: none;
  transition:      background 0.2s, color 0.2s;
}

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

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

.villa-name {
  font-family:   var(--font-heading);
  font-size:     1.375rem;
  font-weight:   600;
  color:         var(--text);
  margin-bottom: 0.75rem;
}

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

.villa-specs {
  list-style:    none;
  padding:       0;
  margin:        0 0 1.25rem;
  display:       grid;
  grid-template-columns: 1fr 1fr;
  gap:           0.375rem 1rem;
}

.villa-specs li {
  display:     flex;
  align-items: center;
  gap:         0.5rem;
  font-size:   0.9375rem;
  color:       var(--text-muted);
}

.villa-specs li i {
  color:      var(--accent);
  font-size:  0.875rem;
  width:      1rem;
  text-align: center;
  flex-shrink: 0;
}

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

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

/* ============================================================
   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);
  cursor:     pointer;
}

.modal-content {
  position:     relative;
  background:   #ffffff;
  border-radius: var(--img-radius);
  padding:      2rem;
  max-width:    560px;
  width:        100%;
  max-height:   90vh;
  overflow-y:   auto;
  box-shadow:   var(--shadow-lg);
}

.modal-close {
  position:    absolute;
  top:         1rem;
  right:       1rem;
  background:  none;
  border:      none;
  font-size:   1.25rem;
  cursor:      pointer;
  color:       var(--text-muted);
  width:       32px;
  height:      32px;
  display:     flex;
  align-items: center;
  justify-content: center;
  padding:     0;
  transition:  color 0.2s;
}

.modal-close:hover {
  color: var(--accent);
}

.modal-room-name {
  font-family:   var(--font-heading);
  font-size:     1.625rem;
  font-weight:   600;
  color:         var(--text);
  margin-bottom: 1rem;
  padding-right: 2.5rem;
}

.modal-content p {
  font-size:     1.0625rem;
  color:         var(--text-muted);
  margin-bottom: 0.875rem;
}

.modal-highlights {
  list-style:    none;
  padding:       0;
  margin:        1rem 0 1.5rem;
}

.modal-highlights li {
  display:     flex;
  align-items: baseline;
  gap:         0.625rem;
  font-size:   1rem;
  color:       var(--text-muted);
  padding:     0.3rem 0;
}

.modal-highlights li i {
  color:      var(--accent);
  font-size:  0.9375rem;
  flex-shrink: 0;
}

.modal-room-cta {
  margin-top: 0;
  width:      100%;
}

/* ============================================================
   ACTIVITIES SECTION
   ============================================================ */
.activities-banner {
  width:         100%;
  border-radius: var(--img-radius);
  overflow:      hidden;
  margin-bottom: 2.5rem;
  aspect-ratio:  21/9;
}

@media (max-width: 768px) {
  .activities-banner {
    aspect-ratio: 16/9;
  }
}

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

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

@media (max-width: 900px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }
}

.activity-card {
  background:    var(--bg);
  border-radius: var(--img-radius);
  overflow:      hidden;
  box-shadow:    var(--shadow-sm);
  border:        1px solid var(--border);
  padding-bottom: 1.25rem;
}

.activity-card-img {
  aspect-ratio: 4/3;
  overflow:     hidden;
}

.activity-card-img img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.activity-card:hover .activity-card-img img {
  transform: scale(1.04);
}

.activity-card-icon-wrap {
  display:         flex;
  align-items:     center;
  justify-content: center;
  aspect-ratio:    4/3;
  background:      var(--accent-light);
  font-size:       3rem;
  color:           var(--accent);
}

.activity-card h3 {
  font-family:   var(--font-heading);
  font-size:     1.1875rem;
  font-weight:   600;
  color:         var(--text);
  padding:       1rem 1rem 0.5rem;
  margin:        0;
}

.activity-card h3 i {
  color:       var(--accent);
  margin-right: 0.375rem;
}

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

/* ============================================================
   TOUR BLOCKS
   ============================================================ */
.tour-section {
  margin-top: 0;
}

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

.tour-block {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   3.5rem;
  align-items:           center;
  padding:               3rem 0;
  border-top:            1px solid var(--border);
}

.tour-block:first-child {
  border-top: none;
}

@media (max-width: 768px) {
  .tour-block {
    grid-template-columns: 1fr;
    gap:                   1.75rem;
    padding:               2rem 0;
  }
}

.tour-block-reverse .tour-block-image {
  order: 2;
}

.tour-block-reverse .tour-block-content {
  order: 1;
}

@media (max-width: 768px) {
  .tour-block-reverse .tour-block-image {
    order: 0;
  }

  .tour-block-reverse .tour-block-content {
    order: 1;
  }
}

.tour-block-image img {
  width:         100%;
  height:        320px;
  object-fit:    cover;
  border-radius: var(--img-radius);
  box-shadow:    var(--shadow-md);
}

@media (max-width: 768px) {
  .tour-block-image img {
    height: 220px;
  }
}

.tour-block-content h4 {
  font-family:   var(--font-heading);
  font-size:     1.5rem;
  font-weight:   600;
  color:         var(--text);
  margin-bottom: 0.875rem;
}

.tour-block-content p {
  font-size:   1.0625rem;
  color:       var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.tour-highlights {
  list-style:    none;
  padding:       0;
  margin:        1rem 0 0;
}

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

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

/* Sipadan dive sites grid */
.dive-sites-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   0.5rem 1.5rem;
  margin-top:            0.875rem;
}

@media (max-width: 480px) {
  .dive-sites-grid {
    grid-template-columns: 1fr;
  }
}

.dive-sites-grid div {
  font-size:   1rem;
  color:       var(--text-muted);
  line-height: 1.5;
  padding:     0.375rem 0;
  border-bottom: 1px solid var(--border);
}

.dive-sites-grid div:last-child {
  border-bottom: none;
}

.dive-sites-grid div strong {
  display:     block;
  color:       var(--text);
  font-weight: 600;
  font-size:   0.9375rem;
}

/* ============================================================
   GETTING THERE
   ============================================================ */
.getting-there-grid {
  display:               grid;
  grid-template-columns: 1.5fr 1fr;
  gap:                   3.5rem;
  margin-top:            2rem;
}

@media (max-width: 900px) {
  .getting-there-grid {
    grid-template-columns: 1fr;
    gap:                   2rem;
  }
}

.transfer-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom:  1px solid var(--border);
}

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

.transfer-block h3 {
  font-family:   var(--font-heading);
  font-size:     1.25rem;
  font-weight:   600;
  color:         var(--text);
  margin-bottom: 0.75rem;
}

.transfer-block h3 i {
  color:        var(--accent);
  margin-right: 0.5rem;
}

.transfer-block p {
  font-size:   1.0625rem;
  color:       var(--text-muted);
  margin-bottom: 0.75rem;
}

.flight-routes {
  list-style:    none;
  padding:       0;
  margin:        0.75rem 0 0;
}

.flight-routes li {
  display:       flex;
  align-items:   baseline;
  gap:           0.625rem;
  font-size:     1rem;
  color:         var(--text-muted);
  padding:       0.3rem 0;
}

.flight-routes li i {
  color:       var(--accent);
  font-size:   0.5rem;
  width:       0.75rem;
  flex-shrink: 0;
  transform:   translateY(-0.15em);
}

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

.sidebar-image img {
  width:         100%;
  height:        220px;
  object-fit:    cover;
  border-radius: var(--img-radius);
  box-shadow:    var(--shadow-md);
}

.maps-btn {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             0.5rem;
  padding:         0.75rem 1rem;
  background:      var(--accent);
  color:           #ffffff;
  border-radius:   var(--btn-radius);
  font-family:     var(--font-body);
  font-size:       1rem;
  font-weight:     600;
  text-decoration: none;
  transition:      background 0.2s;
  text-align:      center;
}

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

.maps-embed {
  border-radius: var(--img-radius);
  overflow:      hidden;
  box-shadow:    var(--shadow-sm);
}

.maps-embed iframe {
  display: block;
  width:   100%;
  height:  240px;
  border:  0;
}

.travel-tips-card {
  background:    var(--bg);
  border:        1px solid var(--border);
  border-radius: var(--img-radius);
  padding:       1.25rem 1.375rem;
  box-shadow:    var(--shadow-sm);
}

.travel-tips-card h4 {
  font-family:   var(--font-heading);
  font-size:     1.1875rem;
  font-weight:   600;
  color:         var(--text);
  margin-bottom: 1rem;
}

.travel-tips-list {
  list-style: none;
  padding:    0;
  margin:     0;
}

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

.travel-tips-list li:last-child {
  margin-bottom: 0;
}

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

.travel-tips-list li span {
  flex: 1;
}

/* ============================================================
   MEALS SECTION
   ============================================================ */
.meals-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   4rem;
  align-items:           center;
}

@media (max-width: 768px) {
  .meals-grid {
    grid-template-columns: 1fr;
    gap:                   2.5rem;
  }
}

.meals-image img {
  width:         100%;
  height:        460px;
  object-fit:    cover;
  border-radius: var(--img-radius);
  box-shadow:    var(--shadow-lg);
}

@media (max-width: 768px) {
  .meals-image img {
    height: 260px;
  }
}

.meals-body p {
  color:       var(--text-muted);
  margin-bottom: 1.25rem;
}

.meals-breakdown {
  display:        flex;
  flex-direction: column;
  gap:            1.125rem;
  margin:         1.5rem 0;
}

.meal-item {
  display:     flex;
  align-items: flex-start;
  gap:         1rem;
  padding:     1rem 1.125rem;
  background:  var(--bg-alt);
  border-radius: var(--btn-radius);
  border-left: 3px solid var(--accent);
}

.meal-icon {
  width:           2.5rem;
  height:          2.5rem;
  background:      var(--accent);
  border-radius:   50%;
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           #ffffff;
  font-size:       1rem;
  flex-shrink:     0;
}

.meal-detail strong {
  display:     block;
  font-size:   1rem;
  font-weight: 600;
  color:       var(--text);
  margin-bottom: 0.25rem;
}

.meal-detail p {
  font-size:   1rem;
  color:       var(--text-muted);
  margin:      0;
  line-height: 1.55;
}

.meals-note {
  font-size:   1rem;
  color:       var(--text-muted);
  font-style:  italic;
  margin-top:  0.5rem;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display:               grid;
  grid-template-columns: 1.5fr 1fr;
  gap:                   3.5rem;
  margin-top:            2rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap:                   2rem;
  }
}

/* Form Success / Error */
.form-success {
  background:    #f0fdf4;
  border-left:   4px solid var(--accent);
  color:         #14532d;
  padding:       1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: var(--btn-radius);
}

.form-success strong {
  display:       block;
  margin-bottom: 0.25rem;
}

.form-error {
  background:    #fef2f2;
  border-left:   4px solid #dc2626;
  color:         #7f1d1d;
  padding:       1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: var(--btn-radius);
}

.form-error strong {
  display:       block;
  margin-bottom: 0.25rem;
}

.form-error p {
  font-size:   1rem;
  margin:      0;
  color:       #7f1d1d;
}

/* Booking form */
.booking-form {
  display:        flex;
  flex-direction: column;
  gap:            1.125rem;
}

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

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

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

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

.required-asterisk {
  color:       var(--accent);
  margin-left: 0.2rem;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width:         100%;
  padding:       0.6875rem 0.875rem;
  border:        1.5px solid var(--border);
  border-radius: var(--btn-radius);
  font-family:   var(--font-body);
  font-size:     1rem;
  color:         var(--text);
  background:    #ffffff;
  transition:    border-color 0.2s, box-shadow 0.2s;
  outline:       none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow:   0 0 0 3px rgba(5,150,105,0.12);
}

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

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

.btn-submit {
  display:         inline-flex;
  width:           auto;
  align-self:      flex-start;
  padding:         0.875rem 2.25rem;
  background:      var(--accent);
  color:           #ffffff;
  border:          none;
  border-radius:   var(--btn-radius);
  font-family:     var(--font-body);
  font-weight:     600;
  font-size:       1rem;
  cursor:          pointer;
  text-decoration: none;
  transition:      background 0.2s;
}

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

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

.sidebar-card {
  background:    var(--bg);
  border:        1px solid var(--border);
  border-radius: var(--img-radius);
  padding:       1.375rem 1.5rem;
  box-shadow:    var(--shadow-sm);
}

.sidebar-card h4 {
  font-family:   var(--font-heading);
  font-size:     1.125rem;
  font-weight:   600;
  color:         var(--text);
  margin-bottom: 0.625rem;
  display:       flex;
  align-items:   center;
  gap:           0.5rem;
}

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

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

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

.sidebar-list {
  list-style:  none;
  padding:     0;
  margin:      0.5rem 0 0;
}

.sidebar-list li {
  display:       flex;
  align-items:   baseline;
  gap:           0.5rem;
  font-size:     1rem;
  color:         var(--text-muted);
  padding:       0.3rem 0;
}

.sidebar-list li i {
  color:       var(--accent);
  font-size:   0.875rem;
  width:       1rem;
  text-align:  center;
  flex-shrink: 0;
  transform:   translateY(0.1em);
}

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

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

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

.review-card.visible {
  opacity:   1;
  transform: translateY(0);
}

.review-stars {
  color:         var(--accent);
  font-size:     1rem;
  margin-bottom: 0.875rem;
  letter-spacing: 0.1em;
}

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

.review-author {
  display:        flex;
  flex-direction: row;
  align-items:    baseline;
  gap:            0.5rem;
  padding-top:    0.75rem;
  border-top:     1px solid var(--border);
}

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

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

.review-country::before {
  content: "\00B7\0020";
  color:   var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color:      var(--footer-text);
  padding:    4rem 0 1.5rem;
  font-size:  1rem;
}

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

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap:                   2.25rem;
  }
}

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

.footer-description {
  color:       var(--footer-text);
  font-size:   1rem;
  line-height: 1.65;
  max-width:   42rem;
  margin-bottom: 0.875rem;
}

.footer-location {
  color:     var(--footer-text);
  font-size: 1rem;
  margin:    0;
}

.footer-location i {
  color:        var(--accent);
  margin-right: 0.375rem;
}

.footer-col-heading {
  font-size:      1rem;
  font-weight:    700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:          var(--footer-text);
  margin-bottom:  1.25rem;
}

.footer-links {
  list-style: none;
  padding:    0;
  margin:     0;
}

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

.footer-links a {
  color:           var(--footer-head);
  text-decoration: none;
  font-size:       1rem;
  transition:      opacity 0.15s;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-enquiry {
  color:           var(--footer-head);
  font-size:       1rem;
  font-weight:     700;
  text-decoration: none;
  display:         inline-flex;
  align-items:     center;
  gap:             0.4rem;
  margin-bottom:   1.25rem;
}

.footer-enquiry:hover {
  opacity: 0.75;
}

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

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

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

.footer-divider {
  border:     none;
  height:     1px;
  background: var(--footer-line);
  margin:     1.5rem 0;
}

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

/* ============================================================
   UTILITY / DEFENSIVE
   ============================================================ */
.navbar-logo,
.navbar-links a,
.mobile-menu a,
.btn,
.btn-room-cta,
.btn-submit,
.villa-view-link,
.modal-room-cta,
.maps-btn,
.footer-links a,
.footer-enquiry,
.footer-social a {
  text-decoration: none;
}

input[type="date"]:not([value]):not(:focus) {
  color: var(--text-muted);
}

select option[value=""][disabled] {
  color: var(--text-muted);
}

/* Scrollbar styling (webkit) */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background:    var(--border);
  border-radius: 3px;
}

/* ============================================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 600px) {
  :root {
    --section-pad: 48px;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-heading {
    font-size: 2.25rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

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

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

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

  .quick-facts-inline {
    grid-template-columns: 1fr 1fr;
  }

  .villa-specs {
    grid-template-columns: 1fr;
  }

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

  .meals-image img {
    height: 220px;
  }

  .section-heading {
    font-size: 1.875rem;
  }
}

@media (max-width: 480px) {
  .quick-facts-inline {
    grid-template-columns: 1fr;
  }

  .dive-sites-grid {
    grid-template-columns: 1fr;
  }

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

/* Prevent mobile overflow from iframes */
@media (max-width: 900px) {
  .maps-embed iframe {
    height: 200px;
  }

  .getting-there-sidebar {
    order: -1;
  }
}

/* V25 AUDIT FIXES */
.logo-navbar { height: 80px; width: auto; padding: 0 !important; margin: 0 !important; object-fit: contain; }
.navbar:not(.scrolled) .logo-navbar { filter: brightness(0) invert(1); }
.navbar.scrolled .logo-navbar { filter: none !important; }
.navbar, #navbar { padding-left: 125px !important; padding-right: 125px !important; }
@media(max-width:1023px){ .navbar, #navbar { padding-left: 1rem !important; padding-right: 1rem !important; } }

.x22-lang{display:flex;align-items:center;gap:.1rem;margin-left:18px;background:rgba(255,255,255,.1);border-radius:999px;padding:.15rem .25rem;flex-shrink:0}.x22-t{display:flex;align-items:center;justify-content:center;padding:.2rem .5rem;font-size:.875rem;font-weight:700;color:rgba(255,255,255,.45);text-decoration:none;border-radius:999px;transition:color .2s,background .2s;line-height:1}.x22-t:hover{color:rgba(255,255,255,.85)}.x22-t.x22-active{color:#fff;background:rgba(255,255,255,.2)}.navbar.scrolled .x22-lang{background:var(--bg-alt)}.navbar.scrolled .x22-t{color:var(--text-muted)}.navbar.scrolled .x22-t:hover{color:var(--accent)}.navbar.scrolled .x22-t.x22-active{color:var(--text);background:rgba(159,18,57,.08)}@media(max-width:1023px){.x22-lang{display:none}}
.x13-lang{display:flex;align-items:center;gap:0;margin-left:18px;background:rgba(255,255,255,.12);border-radius:999px;padding:.15rem;border:1px solid rgba(159,18,57,.5);flex-shrink:0}.x13-t{display:flex;align-items:center;justify-content:center;padding:.2rem .55rem;font-size:.875rem;font-weight:700;color:rgba(255,255,255,.7);text-decoration:none;border-radius:999px;transition:color .2s,background .2s;line-height:1}.x13-t:hover{color:#fff}.x13-t.x13-active{color:#fff;background:rgba(255,255,255,.22)}.navbar.scrolled .x13-lang{background:var(--bg-alt);border-color:rgba(159,18,57,.3)}.navbar.scrolled .x13-t{color:var(--text-muted)}.navbar.scrolled .x13-t:hover{color:var(--accent)}.navbar.scrolled .x13-t.x13-active{color:var(--text);background:rgba(159,18,57,.08)}@media(max-width:1023px){.x13-lang{display:none}}
.x21-lang{display:flex;align-items:center;gap:.25rem;margin-left:18px;flex-shrink:0}.x21-t{font-size:.9375rem;font-weight:700;text-decoration:none;color:rgba(255,255,255,.45);transition:color .2s;line-height:1}.x21-t:hover{color:rgba(255,255,255,.85)}.x21-t.x21-active{color:#fff}.x21-div{width:1px;height:12px;background:rgba(255,255,255,.3)}.navbar.scrolled .x21-t{color:var(--text-muted)}.navbar.scrolled .x21-t:hover{color:var(--accent)}.navbar.scrolled .x21-t.x21-active{color:var(--text)}.navbar.scrolled .x21-div{background:var(--border)}@media(max-width:1023px){.x21-lang{display:none}}
.xm11-lang{display:none;align-items:center;justify-content:center;gap:.15rem;margin-top:.15rem}.xm11-t{font-size:.6875rem;font-weight:700;color:#555;text-decoration:none;padding:.1rem .2rem;border-radius:3px;line-height:1}.xm11-t.xm11-active{color:#222;background:rgba(0,0,0,.05)}@media(max-width:1023px){.xm11-lang{display:flex}}
.xm12-row{display:none;align-items:center}.xm12-lang{display:flex;align-items:center;gap:.1rem;margin-right:.4rem}.xm12-t{font-size:.6875rem;font-weight:700;color:#555;text-decoration:none;padding:.1rem .25rem;border-radius:3px;line-height:1}.xm12-t.xm12-active{color:#222;background:rgba(0,0,0,.05)}@media(max-width:1023px){.xm12-row{display:flex}}
.xm14-wrap{display:none;flex-direction:column;align-items:center;gap:.1rem}.xm14-lang{display:flex;align-items:center;gap:.1rem}.xm14-t{font-size:.6875rem;font-weight:700;color:#555;text-decoration:none;padding:.1rem .2rem;border-radius:3px;line-height:1}.xm14-t.xm14-active{color:#222;background:rgba(0,0,0,.05)}@media(max-width:1023px){.xm14-wrap{display:flex}}

.footer-lang-text{display:flex;align-items:center;gap:.75rem;margin-top:1.25rem}
.flt-a{display:inline-flex;align-items:center;text-decoration:none;opacity:.75;transition:opacity .2s;line-height:1}
.flt-a:hover{opacity:1}.flt-a.flt-active{opacity:.85}
.flag-svg{width:28px;height:auto;border-radius:2px;box-shadow:0 0 0 1px rgba(255,255,255,.1)}

@media(max-width:1023px){
  .navbar{background:rgba(255,255,255,.97)!important;border-bottom:1px solid var(--border,#e5e5e5)}
  .navbar .logo-navbar{filter:none!important}
  .navbar .hamburger-bar{background:var(--text)!important}
  .navbar-links{display:none!important}
  .hamburger{display:flex!important}
}

/* Modal overlay */
.modal{display:none;position:fixed!important;inset:0!important;z-index:9999!important;overflow-y:auto;padding:2rem}
.modal.open{display:flex!important;align-items:center;justify-content:center}
.modal .modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:0}
.modal .modal-content{position:relative;z-index:1;background:#fff;border-radius:var(--radius,12px);max-width:640px;width:100%;padding:2rem;max-height:90vh;overflow-y:auto}

html{scroll-padding-top:calc(80px + 1rem)}
.carousel-dot{border:none;padding:0}

.hero{padding-top:33vh!important;align-items:flex-start!important}
.hero-content{margin-left:max(100px,6vw);margin-right:200px}
@media(max-width:640px){.hero{padding-top:180px!important}.hero-content{margin-left:1.25rem;margin-right:1.25rem}}

@media(max-width:767px){
  body{font-size:1rem}
  p,li,td,th,dd,dt,label,input,select,textarea{font-size:1rem!important}
  .footer-copyright,.review-country{font-size:0.9375rem!important}
  .xm11-t,.xm12-t,.xm14-t{font-size:0.6875rem!important}
}

/* V25 fixes */
.section-eyebrow { font-size: 1.0625rem !important; }
.footer-brand { font-size: 2rem !important; }

/* Travel tips 3-column full width */
.travel-tips-full { margin-top: 2rem; }
.travel-tips-full .travel-tips-list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; list-style: none; padding: 0;
}
@media(max-width:768px) { .travel-tips-full .travel-tips-list { grid-template-columns: 1fr; } }

/* Tour blocks 4/3 images */
.tour-block { grid-template-columns: 1fr 1fr !important; gap: 2rem !important; align-items: start !important; }
.tour-block-img img { aspect-ratio: 4/3 !important; object-fit: cover !important; height: auto !important; }
img[src*="multi-day"] { aspect-ratio: 1/1 !important; }
@media(max-width:768px) {
  .tour-block { grid-template-columns: 1fr !important; }
  .tour-block-even .tour-block-img { order: 0 !important; }
}

/* Navbar always white */
.navbar, .navbar:not(.scrolled) {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 1px 0 var(--border, #e5e5e5) !important;
}
.navbar:not(.scrolled) .navbar-links a { color: var(--text) !important; }
.navbar:not(.scrolled) .navbar-links a:hover { color: var(--accent) !important; }
.navbar:not(.scrolled) .logo-navbar { filter: none !important; }
.navbar:not(.scrolled) .hamburger-bar { background: var(--text) !important; }
.navbar:not(.scrolled) .nav-cta a { background: var(--accent) !important; color: #fff !important; }
.navbar:not(.scrolled) .x22-t { color: var(--text-muted) !important; }
.navbar:not(.scrolled) .x22-t:hover { color: var(--accent) !important; }
.navbar:not(.scrolled) .x22-t.x22-active { color: var(--text) !important; background: rgba(159,18,57,.08) !important; }
.navbar:not(.scrolled) .x22-lang { background: var(--bg-alt) !important; }

/* ====== PEARL ISLAND V25 DESIGN FIXES ====== */

/* Hero content aligned with logo (left) */
.hero-content { margin-left: 125px !important; }
@media(max-width:768px) { .hero-content { margin-left: 1.25rem !important; } }

/* Villa horizontal layout */
.villa-grid { display: block !important; }
.villa-card-horizontal {
  display: grid !important; grid-template-columns: 1fr 1fr !important;
  gap: 2rem !important; width: 100% !important;
  background: var(--bg-alt, #f9fafb); border-radius: var(--radius, 12px); overflow: hidden;
}
.villa-card-left { display: flex; flex-direction: column; }
.villa-card-left .carousel { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.villa-card-left .carousel img { width: 100%; height: 100%; object-fit: cover; }
.villa-card-right { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem 1.5rem 1.5rem 0; }
.villa-meta { color: var(--text-muted); padding: 0.5rem 0; }
.villa-specs-grid { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.villa-specs-grid li { display: flex; align-items: center; gap: 0.5rem; }
.villa-specs-grid li i { color: var(--accent); flex-shrink: 0; }
.villa-desc { padding-top: 0.5rem; }
.villa-footer { margin-top: auto; }
.villa-footer .btn { width: 100%; }
.room-view-details-row { text-align: center; margin-top: 0.75rem; }
.villa-view-link {
  display: inline-block; padding: 0.4rem 1.25rem;
  border: 1.5px solid var(--accent) !important; border-radius: 8px;
  background: transparent !important; color: var(--accent) !important;
  font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.villa-view-link:hover { background: var(--accent) !important; color: #fff !important; }
@media(max-width:768px) {
  .villa-card-horizontal { grid-template-columns: 1fr !important; }
  .villa-card-right { padding: 1.25rem !important; }
  .villa-specs-grid { grid-template-columns: 1fr; }
}

/* Dive sites: 5-column full width */
.dive-sites-grid {
  display: grid !important; grid-template-columns: repeat(5, 1fr) !important;
  gap: 1rem; margin-top: 1.5rem;
}
.dive-sites-grid > div {
  background: var(--bg-alt, #f5f5f5); border-radius: 10px;
  padding: 1rem; border: 1px solid var(--border, #e5e5e5);
  font-size: 0.9375rem;
}
.dive-sites-grid strong { display: block; margin-bottom: 0.25rem; color: var(--accent); }
@media(max-width:1024px) { .dive-sites-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media(max-width:640px) { .dive-sites-grid { grid-template-columns: 1fr !important; } }

/* Meals: text left, image right */
.meals-grid-reversed { direction: rtl; }
.meals-grid-reversed > * { direction: ltr; }
.meals-grid-reversed .meals-image { order: 2; }
.meals-grid-reversed .meals-body { order: 1; }

/* Snorkeling image: keep original size */
img[src*="snorkeling-sea-turtle"] {
  width: auto !important; max-width: 100%; height: auto; display: block;
}

/* On-site activities: icon-only cards on one line */
.onsite-grid, .onsite-list {
  display: flex !important; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0;
}
.onsite-item, .onsite-card {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--bg-alt); border-radius: 8px; padding: 0.5rem 1rem;
  border: 1px solid var(--border, #e5e5e5);
}
.onsite-item i, .onsite-card i { color: var(--accent); }

/* Travel tips: max-width ~1380px */
.travel-tips-full { max-width: 1380px; margin-left: auto; margin-right: auto; }

/* Footer divider + copyright full width centered */
.footer-divider { width: 100%; border: none; border-top: 1px solid var(--footer-line, rgba(255,255,255,.15)); margin: 2rem 0 1rem; }
.footer-copyright { text-align: center !important; width: 100%; }

/* Country dropdown form-group */
.form-row { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 1.25rem !important; }
@media(max-width:640px) { .form-row { grid-template-columns: 1fr !important; } }

/* 4 Activity cards — image + description, 4-column grid */
.activity-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.activity-cards-grid .activity-card {
  background: #fff;
  border-radius: var(--radius, 12px);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  border: 1px solid var(--border, #e5e5e5);
  overflow: hidden;
}
.activity-cards-grid .activity-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.activity-cards-grid .activity-card-body {
  padding: 1.25rem;
}
.activity-cards-grid .activity-card-body h3 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}
.activity-cards-grid .activity-card-body h3 i {
  color: var(--accent);
  margin-right: 0.35rem;
}
@media(max-width:1024px) { .activity-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:640px) { .activity-cards-grid { grid-template-columns: 1fr; } }

/* On-site activities — icon cards, single row */
.onsite-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
.onsite-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--border, #e5e5e5);
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  font-weight: 500;
}
.onsite-card i { color: var(--accent); }

/* Multi-day image square */
img[src*="island-hopping-packages"] {
  aspect-ratio: 1/1 !important;
  object-fit: cover;
}

/* Dive sites: full section width */
.dive-sites-grid {
  margin-left: 0 !important;
  width: 100% !important;
}

/* Remove meals-grid-reversed CSS — no longer needed */
.meals-grid-reversed { direction: ltr !important; }

/* Snorkeling image original size */
img[src*="snorkeling-sea-turtle"] {
  width: auto !important;
  max-width: 100% !important;
}

/* Multi-day image square */
img[src*="island-hopping-packages-pearl"] {
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  height: auto !important;
}

/* Dive sites — full width below tour blocks */
.dive-sites-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 1rem !important;
  margin-top: 2rem !important;
  margin-bottom: 2rem;
  width: 100% !important;
}
@media(max-width:1024px) { .dive-sites-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media(max-width:640px) { .dive-sites-grid { grid-template-columns: 1fr !important; } }

/* Hero title — 50px more to left */
.hero-content { margin-left: 75px !important; }
@media(max-width:768px) { .hero-content { margin-left: 1.25rem !important; } }

/* View details button align with Make a Reservation */
.villa-card-horizontal {
  align-items: stretch !important;
}
.villa-card-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.room-view-details-row {
  margin-top: auto !important;
  padding-bottom: 0.5rem;
}

/* Travel tips — match section width */
.travel-tips-full {
  max-width: var(--container-max, 1220px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Snorkeling image centered below Ocean Adventures */
.activities-banner {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
}
.activities-banner img {
  width: auto !important;
  max-width: 100% !important;
  height: auto;
  margin: 0 auto;
}

/* Reduce padding above Make a Booking + Culinary by 75px */
#contact { padding-top: calc(var(--section-pad, 80px) - 75px) !important; }
#meals, .section-meals { padding-top: calc(var(--section-pad, 80px) - 75px) !important; }

/* Review country — no bullet dots */
.review-country {
  list-style: none !important;
}
.review-card .review-country::before,
.review-country::marker {
  content: none !important;
  display: none !important;
}
.review-country {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Mobile font floor — comprehensive nuclear */
@media (max-width: 767px) {
  body,
  p, li, td, th, dd, dt, span:not(.hamburger-bar), a, label,
  input, select, textarea, button,
  h4, h5, h6,
  .section-intro, .section-eyebrow,
  .villa-name, .villa-meta, .villa-desc, .villa-specs li,
  .villa-view-link,
  .modal-highlights li, .modal-room-desc,
  .activity-card-body p, .activity-card-body h3,
  .onsite-card,
  .tour-block-content p, .tour-block-content li,
  .dive-sites-grid div,
  .meal-detail p, .meal-detail strong, .meals-note,
  .sidebar-list li, .sidebar-card p,
  .travel-tips-list li,
  .review-text, .review-author, .review-country,
  .form-group label, .form-group input, .form-group select,
  .footer-description, .footer-location,
  .footer-col-heading, .footer-links a,
  .btn, .btn-room-cta, .mobile-nav-cta, .maps-btn {
    font-size: 1rem !important;
  }
  .footer-copyright { font-size: 0.9375rem !important; }
  .xm11-t, .xm12-t, .xm14-t { font-size: 0.6875rem !important; }
  h1 { font-size: clamp(1.75rem, 7vw, 2.5rem) !important; }
  h2 { font-size: clamp(1.5rem, 5vw, 2rem) !important; }
  h3 { font-size: 1.25rem !important; }
  i.fas, i.fa-solid, i.fa-regular, i.fa-brands, i.fab { font-size: inherit !important; }
}

/* Modal book button spacing */
.modal-book-btn-spaced {
  margin-bottom: 1.5rem !important;
}
