/* Skill round 5.9.1 | Anyu Pool Villa Resort | style.css */
/* Font: Clash Display + DM Sans | Accent: #059669 Forest Emerald */

/* ===== CSS CUSTOM PROPERTIES ===== */
html {
  scroll-padding-top: 96px;
}

:root {
  --accent:       #059669;
  --accent-hover: #047857;
  --accent-dark:  #00160f;
  --accent-light: #ecfdf5;
  --text-primary:   #111827;
  --text-secondary: #374151;
  --text-muted:     #6b7280;
  --bg-white:    #ffffff;
  --bg-light:    #f9fafb;
  --bg-section:  #f3f4f6;
  --border:      #e5e7eb;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg:   0 8px 24px rgba(0,0,0,0.16);
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --font-heading: 'Clash Display', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --max-width:    1200px;
  --section-pad:  80px 24px;
  --section-pad-sm: 48px 20px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-size: 1.0625rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.05rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1em;
}

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

/* ===== SECTION UTILITIES ===== */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad);
}

.section-label {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  display: block;
}

.section-label-light {
  color: rgba(255,255,255,0.85);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 max(1.5rem, 3vw) 0 max(75px, 5vw);
  height: var(--navbar-h, 70px);
  display: flex;
  align-items: center;
}

.nav-logo {
  margin-right: auto;
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 1.0625rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  transition: color 0.2s ease;
  white-space: nowrap;
}

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

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

.nav-links .nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.nav-links .nav-cta:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.hamburger:hover {
  background: rgba(0,0,0,0.07);
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.92);
  border-radius: 2px;
  transition: background 0.2s ease;
}

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

.nav-sentinel {
  height: 70px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--bg-white);
  z-index: 950;
  padding: 80px 28px 40px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.mobile-menu-close:hover {
  background: var(--bg-section);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-links li a {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}

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

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 940;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

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

@media (min-width: 1024px) {
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.3) 0%,
      rgba(0,0,0,0.42) 50%,
      rgba(0,0,0,0.55) 100%
    );
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
}

.hero-eyebrow {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.8rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.15s ease;
  display: inline-block;
}

.btn-hero-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease;
  display: inline-block;
  backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.9);
  color: #fff;
}

/* ===== ABOUT ===== */
.about {
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

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

.about-text-col h2 {
  margin-bottom: 1.2rem;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1.8rem 0;
}

.fact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

.fact-item i {
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
  width: 14px;
}

.btn-about-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  transition: background 0.2s ease;
}

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

/* ===== ACTIVITIES ===== */
.activities {
  background: var(--bg-light);
}

.activities-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
}

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

.activities-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 100%);
  display: flex;
  align-items: center;
}

.activities-banner-title {
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 700;
  margin-top: 0.4rem;
}

.activities-intro {
  font-size: 1rem;
  max-width: 820px;
  color: var(--text-secondary);
  padding-top: 40px;
  padding-bottom: 0;
}

.activities-intro + .section-container,
.section-container + .section-container {
  padding-top: 32px;
}

.activities-subheading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 1.6rem;
}

/* Core Cards */
.core-cards {
  display: grid;
  gap: 24px;
}

.core-cards-6 {
  grid-template-columns: repeat(3, 1fr);
}

.core-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.core-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.core-card-img-wrap {
  height: 200px;
  overflow: hidden;
}

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

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

.core-card-body {
  padding: 20px;
}

.core-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.core-card-body h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.core-card-body p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Tour Blocks */
.tour-blocks {
  background: var(--bg-white);
}

.tour-block {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.tour-block:last-child {
  border-bottom: none;
}

.tour-block-img-left {
  grid-template-columns: 1fr 1fr;
}

.tour-block-img-right {
  grid-template-columns: 1fr 1fr;
}

.tour-block-img-right .tour-block-text-col {
  min-width: 0;
  overflow-wrap: break-word;
  order: 1;
}

.tour-block-img-right .tour-block-img-col {
  order: 2;
}

.tour-block-img-col {
  min-width: 0;
  overflow: hidden;
}

.tour-block-img-col img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.tour-block-label {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.tour-block-text-col h3 {
  margin-bottom: 1rem;
}

.tour-block-text-col p {
  font-size: 1.0625rem;
}

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

.tour-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

.tour-highlights li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.btn-tour {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1.0625rem;
  margin-top: 0.5rem;
  transition: background 0.2s ease, color 0.2s ease;
}

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

/* On-Site Activities */
.onsite-activities {
  padding-top: 48px;
  padding-bottom: 60px;
  margin-bottom: 3rem;
}

.onsite-intro {
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}

.onsite-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.onsite-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

.onsite-list li i {
  color: var(--accent);
  font-size: 1.0625rem;
}

/* ===== ROOMS / VILLAS ===== */
.rooms {
  background: var(--bg-section);
}

.rooms > .section-container:first-child {
  padding-bottom: 0;
}

.rooms-intro {
  max-width: 680px;
  margin-top: 0.6rem;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding-top: 36px;
}

.room-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.room-card:hover {
  box-shadow: var(--shadow-md);
}

.room-card-body {
  padding: 20px 22px 24px;
}

.room-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.room-card-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.room-card-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.villa-view-link {
  background: none;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1.0625rem;
  transition: background 0.2s ease, color 0.2s ease;
}

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

.btn-room-cta {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1.0625rem;
  transition: background 0.2s ease;
}

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

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  background: #000;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

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

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

.modal-carousel .carousel-slide img {
  height: 340px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 5;
  transition: background 0.2s ease, opacity 0.2s ease;
  opacity: 0.7;
}

.carousel-btn:hover {
  background: rgba(255,255,255,1);
  opacity: 1;
}

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

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

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

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

/* ===== MODALS ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

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

.modal-content {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal.open .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--bg-section);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease;
}

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

.modal-content h2 {
  padding: 20px 22px 0;
  font-size: 1.3rem;
}

.modal-details {
  padding: 16px 22px 24px;
}

.modal-details p {
  font-size: 1.0625rem;
  margin-bottom: 1rem;
}

.modal-amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1rem 0;
}

.modal-amenities li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

.modal-amenities li i {
  color: var(--accent);
  width: 14px;
  flex-shrink: 0;
}

.modal-cta {
  text-align: center;
  margin-top: 1.2rem;
}

/* ===== MEALS ===== */
.meals {
  background: var(--bg-white);
}

.meals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.meals-image-col {
  order: 1;
}

.meals-text-col {
  order: 2;
}

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

.meals-text-col h2 {
  margin-bottom: 1rem;
}

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

.meal-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.meal-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 2px;
}

.meal-detail strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.meal-detail p {
  font-size: 1.0625rem;
  line-height: 1.6;
  margin: 0;
}

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

/* ===== GETTING THERE ===== */
.getting-there {
  background: var(--bg-light);
}

.getting-there > .section-container:first-child {
  padding-bottom: 0;
}

.getting-there-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  padding-top: 40px;
}

.getting-there-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 90px;
}

.getting-there-content-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.transfer-card,
.location-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.transfer-card-icon,
.location-card-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
}

.transfer-card-body h3,
.location-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.transfer-card-body p,
.location-card-body p {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #fff;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: background 0.2s ease;
}

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

.travel-tips {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.travel-tips h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.travel-tips dl {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.travel-tips dt {
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text-primary);
}

.travel-tips dd {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  border-left: 2px solid var(--accent-light);
}

/* ===== CONTACT FORM ===== */
.contact {
  background: var(--bg-white);
}

.contact-intro {
  max-width: 580px;
  margin-bottom: 2rem;
}

.form-error-banner {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.booking-form {
  max-width: 800px;
}

.form-row {
  margin-bottom: 1.2rem;
}

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

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

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

.required {
  color: #ef4444;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--text-primary);
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  width: 100%;
}

.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);
  background: var(--bg-white);
}

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

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

.form-submit {
  margin-top: 1.5rem;
}

.btn-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.9rem 2.8rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ===== REVIEWS ===== */
.reviews {
  background: var(--bg-section);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2rem;
}

.review-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-stars {
  color: #f59e0b;
  font-size: 0.9375rem;
  display: flex;
  gap: 3px;
}

.review-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: normal;
  flex: 1;
}

.review-footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
}

.review-author {
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text-primary);
}

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

/* ===== FOOTER ===== */
.site-footer {
  background: var(--accent-dark);
  color: rgba(255,255,255,0.8);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

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

.footer-location {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.55);
  margin-top: 1rem;
}

.footer-location i {
  margin-right: 0.35rem;
}

.footer-enquiry-link {
  display: inline-block;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-enquiry-link:hover {
  text-decoration: underline;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: rgba(255,255,255,0.95);
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: rgba(255,255,255,1);
}

.footer-contact p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact p i {
  color: var(--accent);
  width: 14px;
}

.footer-contact a {
  color: rgba(255,255,255,0.65);
}

.footer-contact a:hover {
  color: rgba(255,255,255,1);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin: 1.2rem 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
}

.btn-footer-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: background 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 18px 24px;
}

.footer-bottom p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

/* ===== RESPONSIVE: TABLET (max 900px) ===== */
@media (max-width: 900px) {
  html {
  scroll-padding-top: 96px;
}

:root {
    --section-pad: 56px 20px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .about-grid,
  .meals-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-img,
  .meals-img {
    height: 340px;
  }

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

  .tour-block {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 20px;
  }

  .tour-block-img-right .tour-block-text-col {
    order: 2;
  }

  .tour-block-img-right .tour-block-img-col {
    order: 1;
  }

  .tour-block-img-col {
  min-width: 0;
  overflow: hidden;
}

.tour-block-img-col img {
    height: auto;
  }

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

  .getting-there-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .getting-there-img {
    height: 280px;
    position: static;
  }

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

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

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

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

/* ===== RESPONSIVE: MOBILE (max 600px) ===== */
@media (max-width: 600px) {
  html {
  scroll-padding-top: 96px;
}

:root {
    --section-pad: 44px 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

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

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

  .activities-banner {
    height: 220px;
  }

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

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

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

  .modal-amenities {
    grid-template-columns: 1fr;
  }

  .room-card-actions {
    flex-direction: column;
  }

  .villa-view-link,
  .btn-room-cta {
    width: 100%;
    text-align: center;
  }

  .carousel-slide img {
    height: 200px;
  }

  .hero {
    min-height: 90vh;
  }
}

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

/* CTA stays white on scroll */
.navbar.scrolled .nav-cta {
  color: #fff !important;
}

/* =========================================================
   LANGUAGE SWITCHER
   ========================================================= */

/* --- x13: pill + border --- */
.x13-lang {
  display: flex; align-items: center; gap: 0; margin-left: 18px;
  background: rgba(255,255,255,0.12); border-radius: 999px; padding: 0.15rem;
  border: 1px solid rgba(var(--accent-rgb, 5,150,105),0.5); flex-shrink: 0;
}
.x13-t {
  display: flex; align-items: center; justify-content: center;
  padding: 0.2rem 0.55rem; font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.03em;
  color: rgba(255,255,255,0.7); text-decoration: none; border-radius: 999px;
  transition: color 0.2s, background 0.2s; line-height: 1;
}
.x13-t:hover { color: #fff; }
.x13-t.x13-active { color: #fff; background: rgba(255,255,255,0.22); }
.navbar.scrolled .x13-lang { background: var(--bg-alt, #f5f5f5); border-color: rgba(var(--accent-rgb, 5,150,105),0.3); }
.navbar.scrolled .x13-t { color: var(--text-muted, #6b7280); }
.navbar.scrolled .x13-t:hover { color: var(--accent); }
.navbar.scrolled .x13-t.x13-active { color: var(--text-primary, #1a1a1a); background: rgba(var(--accent-rgb, 5,150,105),0.08); }
@media (max-width: 1023px) { .x13-lang { display: none; } }

/* --- x21: divider --- */
.x21-lang { display: flex; align-items: center; gap: 0.25rem; margin-left: 18px; flex-shrink: 0; }
.x21-t { font-size: 0.9375rem; font-weight: 700; text-decoration: none; color: rgba(255,255,255,0.45); transition: color 0.2s; line-height: 1; }
.x21-t:hover { color: rgba(255,255,255,0.85); }
.x21-t.x21-active { color: #fff; }
.x21-div { width: 1px; height: 12px; background: rgba(255,255,255,0.3); }
.navbar.scrolled .x21-t { color: var(--text-muted, #6b7280); }
.navbar.scrolled .x21-t:hover { color: var(--accent); }
.navbar.scrolled .x21-t.x21-active { color: var(--text-primary, #1a1a1a); }
.navbar.scrolled .x21-div { background: var(--border, #e5e7eb); }
@media (max-width: 1023px) { .x21-lang { display: none; } }

/* --- x22: pill + bg --- */
.x22-lang { display: flex; align-items: center; gap: 0.1rem; margin-left: 18px; background: rgba(255,255,255,0.1); border-radius: 999px; padding: 0.15rem 0.25rem; flex-shrink: 0; }
.x22-t { display: flex; align-items: center; justify-content: center; padding: 0.2rem 0.5rem; font-size: 0.9375rem; font-weight: 700; color: rgba(255,255,255,0.45); text-decoration: none; border-radius: 999px; transition: color 0.2s, background 0.2s; line-height: 1; }
.x22-t:hover { color: rgba(255,255,255,0.85); }
.x22-t.x22-active { color: #fff; background: rgba(255,255,255,0.2); }
.navbar.scrolled .x22-lang { background: var(--bg-alt, #f5f5f5); }
.navbar.scrolled .x22-t { color: var(--text-muted, #6b7280); }
.navbar.scrolled .x22-t:hover { color: var(--accent); }
.navbar.scrolled .x22-t.x22-active { color: var(--text-primary, #1a1a1a); background: rgba(var(--accent-rgb, 5,150,105),0.08); }
@media (max-width: 1023px) { .x22-lang { display: none; } }

/* --- Mobile: xm11 below hamburger --- */
.xm11-wrap { display: none; }
.xm11-lang { display: flex; align-items: center; gap: 0.1rem; margin-top: 0.15rem; }
.xm11-t { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.03em; color: rgba(255,255,255,0.5); text-decoration: none; padding: 0.1rem 0.25rem; border-radius: 3px; line-height: 1; transition: color 0.2s, background 0.2s; }
.xm11-t:hover { color: rgba(255,255,255,0.85); }
.xm11-t.xm11-active { color: #fff; background: rgba(255,255,255,0.15); }
.navbar.scrolled .xm11-t { color: var(--text-muted, #6b7280); }
.navbar.scrolled .xm11-t.xm11-active { color: var(--text-primary, #1a1a1a); background: var(--bg-alt, #f5f5f5); }
@media (max-width: 1023px) { .xm11-wrap { display: flex; flex-direction: column; align-items: center; } }

/* --- Mobile: xm12 left of hamburger --- */
.xm12-row { display: none; }
.xm12-lang { display: flex; align-items: center; gap: 0.1rem; margin-right: 0.4rem; }
.xm12-t { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.03em; color: rgba(255,255,255,0.5); text-decoration: none; padding: 0.1rem 0.25rem; border-radius: 3px; line-height: 1; transition: color 0.2s, background 0.2s; }
.xm12-t:hover { color: rgba(255,255,255,0.85); }
.xm12-t.xm12-active { color: #fff; background: rgba(255,255,255,0.15); }
.navbar.scrolled .xm12-t { color: var(--text-muted, #6b7280); }
.navbar.scrolled .xm12-t.xm12-active { color: var(--text-primary, #1a1a1a); background: var(--bg-alt, #f5f5f5); }
@media (max-width: 1023px) { .xm12-row { display: flex; align-items: center; } }

/* --- Mobile: xm14 above hamburger --- */
.xm14-wrap { display: none; }
.xm14-lang { display: flex; align-items: center; gap: 0.1rem; margin-bottom: 0.15rem; }
.xm14-t { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.03em; color: rgba(255,255,255,0.5); text-decoration: none; padding: 0.1rem 0.25rem; border-radius: 3px; line-height: 1; transition: color 0.2s, background 0.2s; }
.xm14-t:hover { color: rgba(255,255,255,0.85); }
.xm14-t.xm14-active { color: #fff; background: rgba(255,255,255,0.15); }
.navbar.scrolled .xm14-t { color: var(--text-muted, #6b7280); }
.navbar.scrolled .xm14-t.xm14-active { color: var(--text-primary, #1a1a1a); background: var(--bg-alt, #f5f5f5); }
@media (max-width: 1023px) { .xm14-wrap { display: flex; flex-direction: column; align-items: center; } }

/* --- Footer flags --- */
.footer-lang-text { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; }
.flt-a { display: inline-flex; align-items: center; text-decoration: none; opacity: 0.75; transition: opacity 0.2s; line-height: 1; }
.flt-a:hover { opacity: 1; }
.flt-a.flt-active { opacity: 0.85; }
.flt-sep { display: none; }
.flag-svg { width: 28px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,0.1); }
@media (max-width: 767px) {
  .footer-lang-text { justify-content: flex-start; gap: 1rem; }
  .flt-a { opacity: 0.9; }
  .flt-a.flt-active { opacity: 1; }
  .flag-svg { width: 32px; }
}

@media (max-width: 1023px) {
  .nav-container {
    padding: 0 var(--gutter, 1.25rem);
  }
}

/* Logo white on transparent navbar */
.logo-img {
  transition: filter 0.3s;
  filter: brightness(0) invert(1);
}
.navbar.scrolled .logo-img {
  filter: none;
}

.fact-item span {
  font-size: 1.0625rem;
}

/* Room card text floor */
.room-card p, .room-card .room-desc, .room-card .room-info {
  font-size: 1.0625rem;
}

/* Form select custom arrow */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
}

/* Contact grid: form left, sidebar right */
.contact-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

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

.contact-sidebar .info-card {
  background: var(--bg-alt, #f8f9fa);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.contact-sidebar .info-card h4 {
  font-size: 1.1875rem;
  margin-bottom: 0.75rem;
}

.contact-sidebar .info-card h4 i {
  color: var(--accent);
  margin-right: 0.4rem;
}

.quick-facts-list {
  list-style: none;
  padding: 0;
}

.quick-facts-list li {
  padding: 0.35rem 0;
  font-size: 1.0625rem;
}

.quick-facts-list li i {
  color: var(--accent);
  width: 1.25rem;
  margin-right: 0.5rem;
}

.location-card-body p {
  font-size: 1.0625rem;
}
.travel-tips dt, .travel-tips dd, .travel-tips-list li {
  font-size: 1.0625rem;
}

/* Mobile font floor */
@media (max-width: 767px) {
  body { font-size: 1rem; }
  .nav-links a, .mobile-nav-links a { font-size: 1rem; }
  .fact-item span, .room-card p, .meals-note, 
  .location-card-body p, .travel-tips-list li,
  .review-text, .modal-details p, .modal-amenities li,
  .form-group label, .form-group input, .form-group select, .form-group textarea,
  .quick-facts-list li, .onsite-list li, .tour-highlights li,
  .tour-block-text-col p, .core-card-body p { 
    font-size: 1rem; 
  }
}

/* Getting Here: 2-column layout - main left, sidebar right */
.getting-there-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.getting-there-main .getting-there-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.getting-there-sidebar {
  position: sticky;
  top: calc(var(--navbar-h, 80px) + 1.5rem);
}

.getting-there-sidebar .location-card {
  background: var(--bg-alt, #f8f9fa);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.getting-there-sidebar .maps-iframe-wrap {
  margin-bottom: 1rem;
}

.getting-there-sidebar .travel-tips {
  background: var(--bg-alt, #f8f9fa);
  border-radius: 12px;
  padding: 1.5rem;
}

@media (max-width: 767px) {
  .getting-there-grid {
    grid-template-columns: 1fr;
  }
  .getting-there-sidebar {
    position: static;
  }
}

.getting-there-sidebar-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.getting-there-sidebar .btn-maps {
  display: inline-block;
  margin-bottom: 1rem;
}

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

.transfer-card-body .travel-tips-list li {
  padding: 0.4rem 0;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.transfer-card-body .travel-tips-list li i {
  color: var(--accent);
  width: 1.25rem;
  margin-right: 0.5rem;
}
