/* ==========================================================
   RESPIRO RESIDENCE — Main Stylesheet
   ========================================================== */
/* Fonts are loaded via <link> in HTML — no @import needed here */

/* ----------------------------------------------------------
   1. VARIABLES & RESET
   ---------------------------------------------------------- */
:root {
  --gold: #c4a35a;
  --gold-dark: #9b7c3a;
  --gold-light: #e8d5a3;
  --dark: #0e130f;
  --dark-green: #1a2b1c;
  --mid-green: #2c4430;
  --cream: #f7f2ea;
  --off-white: #fafaf8;
  --charcoal: #1c1c1c;
  --gray: #6b6b6b;
  --gray-light: #e5e1d9;
  --white: #ffffff;
  --nav-height: 88px;
  --radius: 4px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.18);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

/* Offset anchor scroll to account for fixed navbar */
section[id] {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

body {
  font-family: "Jost", sans-serif;
  color: var(--charcoal);
  background: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ----------------------------------------------------------
   2. SCROLLBAR
   ---------------------------------------------------------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

/* ----------------------------------------------------------
   3. TYPOGRAPHY
   ---------------------------------------------------------- */
.heading-serif {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.section-tag {
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--dark-green);
}
.section-title.light {
  color: var(--white);
}
.section-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--gray);
  font-weight: 300;
}

/* ----------------------------------------------------------
   4. UTILITIES
   ---------------------------------------------------------- */
.section-pad {
  padding: 100px 0;
}
.section-pad-lg {
  padding: 130px 0;
}
.text-gold {
  color: var(--gold) !important;
}
.bg-cream {
  background: var(--cream);
}
.bg-dark-green {
  background: var(--dark-green);
}

.btn-gold {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  background: var(--gold);
  color: var(--dark);
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  transition: all 0.35s var(--ease);
  cursor: pointer;
  border-radius: var(--radius);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}
.btn-outline {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  background: transparent;
  color: var(--white);
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, 0.65);
  transition: all 0.35s var(--ease);
  cursor: pointer;
  border-radius: var(--radius);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark-green);
  border-color: var(--white);
}
.btn-outline-dark {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  background: transparent;
  color: var(--dark-green);
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 2px solid var(--dark-green);
  transition: all 0.35s var(--ease);
  cursor: pointer;
  border-radius: var(--radius);
}
.btn-outline-dark:hover {
  background: var(--dark-green);
  color: var(--white);
}

/* divider */
.divider {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 1.4rem 0 2rem;
}
.divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================
   INDEX PAGE — Complex Hero & Villas Chooser
   ========================================================== */

/* Full-screen complex hero on the landing page */
.index-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Inline stats bar inside the hero */
.index-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.8rem auto 2.8rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(196, 163, 90, 0.3);
  border-radius: var(--radius);
  padding: 1.2rem 0;
  max-width: 540px;
  width: 100%;
}
.ihs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0 2rem;
}
.ihs-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.ihs-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.ihs-divider {
  width: 1px;
  height: 36px;
  background: rgba(196, 163, 90, 0.3);
  flex-shrink: 0;
}

/* ==========================================================
   INDEX — ESTATE BENEFITS SECTION
   ========================================================== */
.index-estate-section {
  background: var(--dark);
  padding: 6rem 2rem;
  border-top: 1px solid rgba(196, 163, 90, 0.15);
  border-bottom: 1px solid rgba(196, 163, 90, 0.15);
}
.index-estate-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.index-estate-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.index-estate-header .section-title {
  color: var(--white);
}
.index-estate-header p {
  color: rgba(255, 255, 255, 0.5);
  max-width: 560px;
  margin: 1rem auto 0;
  font-size: 0.93rem;
  line-height: 1.75;
  font-weight: 300;
}
.index-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-bottom: 3.5rem;
}
.index-benefit-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(196, 163, 90, 0.2);
  border-radius: 8px;
  padding: 2rem 1.4rem;
  text-align: center;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}
.index-benefit-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  transform: translateY(-5px);
}
.ibc-icon {
  width: 54px;
  height: 54px;
  background: rgba(196, 163, 90, 0.12);
  border: 1px solid rgba(196, 163, 90, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--gold);
  font-size: 1.2rem;
  transition: background 0.3s ease;
}
.index-benefit-card:hover .ibc-icon {
  background: rgba(196, 163, 90, 0.22);
}
.ibc-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}
.ibc-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.7;
  font-weight: 300;
}
.index-estate-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.index-estate-cta-note {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}

/* Pulse animation on main estate CTA */
@keyframes ctaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(196, 163, 90, 0.55);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(196, 163, 90, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(196, 163, 90, 0);
  }
}
.btn-gold-pulse {
  animation: ctaPulse 2.5s ease infinite;
}
.btn-gold-lg {
  padding: 1.05rem 3.2rem;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .index-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .index-benefits-grid {
    grid-template-columns: 1fr;
  }
  .index-estate-section {
    padding: 4rem 1.5rem;
  }
}

/* Section below the hero where individual villas are chosen */
.index-villas-section {
  background: var(--dark);
}
.index-villas-header {
  text-align: center;
  padding: 4.5rem 2rem 3rem;
}
.index-villas-header .section-title {
  color: var(--white);
  margin-top: 0.5rem;
}

/* Villas row inside the chooser section (fixed height, not 100vh) */
.index-villas-row {
  height: 80vh;
  min-height: 500px;
  display: flex;
}

/* "Best Value" badge on the Both Villas radio option */
.villa-choice-badge {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--dark);
  padding: 0.18rem 0.55rem;
  border-radius: 2px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ==========================================================
   LANDING PAGE (legacy — kept for .villas-row base styles)
   ========================================================== */

.landing-page {
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--dark);
}

/* top brand bar */
.landing-brand {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 2rem 1rem;
  pointer-events: none;
}
.landing-brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}
.landing-brand-name span {
  color: var(--gold);
  letter-spacing: 0.12em;
}

/* villas row */
.villas-row {
  display: flex;
  flex: 1;
  height: 100vh;
}

/* individual villa card */
.villa-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  transition: flex 0.6s var(--ease);
}
.villa-card:hover {
  flex: 1.25;
}

.villa-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s linear;
  transform: scale(1.05);
}
.villa-card:hover .villa-card-bg {
  transform: scale(1.12);
}

.villa-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 18, 11, 0.85) 0%,
    rgba(10, 18, 11, 0.35) 50%,
    rgba(10, 18, 11, 0.15) 100%
  );
  transition: background 0.5s var(--ease);
}
.villa-card:hover .villa-card-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 18, 11, 0.78) 0%,
    rgba(10, 18, 11, 0.25) 50%,
    rgba(10, 18, 11, 0.08) 100%
  );
}

/* divider line */
.villas-divider {
  width: 1px;
  background: rgba(196, 163, 90, 0.45);
  flex-shrink: 0;
  z-index: 10;
}

.villa-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 3rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.villa-number {
  font-family: "Jost", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.villa-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.04em;
}
.villa-tagline {
  font-size: 0.88rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.4rem;
}
.villa-enter {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.4s var(--ease);
  transition-delay: 0.05s;
}
.villa-enter::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.villa-card:hover .villa-enter {
  opacity: 1;
  transform: translateY(0);
}
.villa-card:hover .villa-enter::after {
  width: 48px;
}

/* landing scroll hint */
.landing-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}
.landing-scroll-hint span {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  writing-mode: horizontal-tb;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLineAnim 1.8s ease-in-out infinite;
}
@keyframes scrollLineAnim {
  0% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
  100% {
    opacity: 0;
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

/* ==========================================================
   NAVBAR
   ========================================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition:
    background 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    height 0.4s var(--ease);
  background: transparent;
}
#navbar.scrolled {
  background: rgba(10, 18, 11, 0.97);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.22);
  height: 68px;
}

.nav-inner {
  width: 100%;
  height: 100%; /* stretch to full navbar height so align-items: center works correctly */
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.14rem;
  z-index: 1001;
}
.nav-logo-main {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
}
.nav-logo-sub {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: right;
}

/* nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
}
.nav-links li a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s var(--ease);
  position: relative;
  padding-bottom: 0.2rem;
}
.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--white);
}
.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-book-btn {
  background: var(--gold);
  color: var(--dark) !important;
  border-radius: var(--radius);
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease) !important;
}
/* Higher specificity than .nav-links li a — fixes padding-bottom & text centering */
.nav-links li a.nav-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  line-height: 1;
}
.nav-book-btn:hover {
  background: var(--gold-dark) !important;
  color: var(--white) !important;
}
.nav-book-btn::after {
  display: none !important;
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 0.4rem;
  background: none;
  border: none;
  outline: none;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
}
.hamburger span:nth-child(1) {
  width: 28px;
}
.hamburger span:nth-child(2) {
  width: 20px;
}
.hamburger span:nth-child(3) {
  width: 28px;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  width: 28px;
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  width: 28px;
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 8, 0.97);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--white);
  transition: color 0.3s var(--ease);
}
.mobile-menu a:hover {
  color: var(--gold);
}
.mobile-menu .mobile-book-btn {
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.9rem 2.8rem;
  background: var(--gold);
  color: var(--dark);
  border-radius: var(--radius);
  margin-top: 1rem;
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroPan 18s ease-in-out infinite alternate;
}
@keyframes heroPan {
  from {
    transform: scale(1.06) translateX(0);
  }
  to {
    transform: scale(1.06) translateX(-2%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(10, 18, 11, 0.75) 0%,
    rgba(10, 18, 11, 0.45) 55%,
    rgba(10, 18, 11, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 880px;
}
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.4rem;
}
.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.72);
  margin: 1.4rem 0 2.8rem;
  letter-spacing: 0.06em;
}
.hero-cta {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: bounce 2.4s ease-in-out infinite;
}
.hero-scroll i {
  font-size: 0.9rem;
  margin-top: 0.2rem;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ==========================================================
   ABOUT SECTION
   ========================================================== */
.about-section {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-text .section-body {
  margin-bottom: 1.6rem;
}

.about-img-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: 168px 145px 145px;
  gap: 12px;
}
.about-img-grid .img-main {
  grid-row: 1 / 4; /* spans all 3 rows for 4-image layout */
  overflow: hidden;
  border-radius: var(--radius);
}
.about-img-grid .img-sm {
  overflow: hidden;
  border-radius: var(--radius);
}
.about-img-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.about-img-grid img:hover {
  transform: scale(1.04);
}

/* features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 5rem;
  border-top: 1px solid var(--gray-light);
  border-left: 1px solid var(--gray-light);
}
.feature-item {
  padding: 2.2rem 1.4rem;
  border-right: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  text-align: center;
  transition: background 0.3s var(--ease);
}
.feature-item:hover {
  background: var(--cream);
}
.feature-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.feature-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark-green);
  margin-bottom: 0.3rem;
}
.feature-desc {
  font-size: 0.78rem;
  color: var(--gray);
  letter-spacing: 0.04em;
}

/* ==========================================================
   GALLERY SECTION
   ========================================================== */
.gallery-section {
  background: var(--cream);
}

.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* filter buttons */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.4rem;
}
.filter-btn {
  padding: 0.55rem 1.4rem;
  background: transparent;
  border: 1px solid var(--gray-light);
  border-radius: 100px;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

/* gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--gray-light);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.gallery-item.hidden {
  display: none;
}
.gallery-item.gallery-over-limit {
  display: none;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.07);
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 11, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
.gallery-item-overlay i {
  font-size: 1.6rem;
  color: var(--white);
  transform: scale(0.8);
  transition: transform 0.35s var(--ease);
}
.gallery-item:hover .gallery-item-overlay i {
  transform: scale(1);
}

/* ==========================================================
   AMENITIES SECTION (complex.html)
   ========================================================== */
.amenities-section {
  background: var(--dark-green);
}

.amenities-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.amenity-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(196, 163, 90, 0.18);
  border-radius: 6px;
  padding: 1.8rem 1.6rem;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
  cursor: pointer;
}
.amenity-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(196, 163, 90, 0.4);
}

.ac-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
  transition:
    padding-bottom 0.35s ease,
    margin-bottom 0.35s ease,
    border-color 0.35s ease;
}
.ac-header i {
  color: var(--gold);
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.ac-header span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}
.ac-chevron {
  margin-left: auto;
  color: var(--gold);
  font-size: 0.6rem;
  opacity: 0.7;
  transition: transform 0.35s ease;
  flex-shrink: 0;
}
.amenity-card.is-open .ac-chevron {
  transform: rotate(180deg);
}
.amenity-card.is-open .ac-header {
  padding-bottom: 0.85rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(196, 163, 90, 0.18);
}

.ac-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.amenity-card.is-open .ac-list {
  max-height: 600px;
}
.ac-list li {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 300;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.ac-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* "Show All Photos" button below gallery grid */
.gallery-show-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 2.4rem auto 0;
  padding: 0.9rem 2.8rem;
  background: transparent;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold-dark);
  font-family: "Jost", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.gallery-show-more-btn:hover {
  background: var(--gold);
  color: var(--dark);
}
.gallery-show-more-btn i {
  font-size: 1rem;
}
.gsm-count {
  background: var(--gold);
  color: var(--dark);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  letter-spacing: 0.1em;
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease);
}
.gallery-show-more-btn:hover .gsm-count {
  background: var(--dark);
  color: var(--gold);
}

/* ==========================================================
   CONTACT SECTION
   ========================================================== */
.contact-section {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--cream);
  border: 1px solid var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
}
.contact-detail-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.contact-detail-value {
  font-size: 0.96rem;
  color: var(--charcoal);
  line-height: 1.6;
  margin: 0;
}
.contact-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
  display: inline-block;
}
.contact-link:hover {
  color: var(--gold);
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.3) contrast(1.1);
}

/* ==========================================================
   BOOKING SECTION
   ========================================================== */
.booking-section {
  background: var(--dark-green);
}
.booking-section .section-title {
  color: var(--white);
}
.booking-section .section-tag {
  color: var(--gold);
}
.booking-section .section-body {
  color: rgba(255, 255, 255, 0.6);
}

.booking-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.booking-form-wrapper {
  background: var(--white);
  border-radius: 8px;
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 960px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}
.form-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.form-row-full {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark-green);
}
.form-control,
.form-select {
  padding: 0.82rem 1.1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: "Jost", sans-serif;
  font-size: 0.94rem;
  color: var(--charcoal);
  background: var(--off-white);
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  outline: none;
  width: 100%;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.14);
  background: var(--white);
}
.form-control::placeholder {
  color: #b0a898;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* villa choice */
.villa-choice-group {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.2rem;
}
.villa-choice-label {
  flex: 1;
  position: relative;
  cursor: pointer;
}
.villa-choice-label input[type="radio"] {
  display: none;
}
.villa-choice-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.2rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  background: var(--off-white);
}
.villa-choice-label input:checked + .villa-choice-box {
  border-color: var(--gold);
  background: rgba(196, 163, 90, 0.08);
}
.villa-choice-check {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.villa-choice-label input:checked + .villa-choice-box .villa-choice-check {
  border-color: var(--gold);
  background: var(--gold);
}
.villa-choice-label
  input:checked
  + .villa-choice-box
  .villa-choice-check::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
}
.villa-choice-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-green);
}
.villa-choice-info {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  flex: 1;
}
.villa-choice-cap {
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(30, 45, 32, 0.45);
  letter-spacing: 0.04em;
}
.villa-choice-label--featured .villa-choice-box {
  border-color: rgba(196, 163, 90, 0.5);
  background: rgba(196, 163, 90, 0.06);
}
.villa-choice-label--featured .villa-choice-cap {
  color: var(--gold);
  font-weight: 500;
}

/* form section title */
.form-section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark-green);
  letter-spacing: 0.05em;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 1.4rem;
  margin-top: 1rem;
}

.form-submit-row {
  text-align: center;
  margin-top: 2.4rem;
}
.form-submit-btn {
  display: inline-block;
  padding: 1rem 3.5rem;
  background: var(--gold);
  color: var(--dark);
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.form-submit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--dark);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
}
.form-submit-btn:hover {
  color: var(--white);
}
.form-submit-btn:hover::before {
  transform: translateY(0);
}
.form-submit-btn span {
  position: relative;
  z-index: 1;
}

/* success message */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.form-success i {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.form-success h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  color: var(--dark-green);
  margin-bottom: 0.5rem;
}
.form-success p {
  color: var(--gray);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: var(--dark);
  padding: 3.5rem 0 2rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}
.footer-logo-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-logo-sub {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-top: 0.2rem;
}
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer-copy {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  margin: 0;
}
.footer-social {
  display: flex;
  gap: 1.1rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  transition: all 0.3s var(--ease);
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.footer-links {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s var(--ease);
}
.footer-links a:hover {
  color: var(--gold);
}

/* ==========================================================
   SCROLL TO TOP
   ========================================================== */
#scrollTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.35s var(--ease);
  border: none;
}
#scrollTop.visible {
  opacity: 1;
  transform: translateY(0);
}
#scrollTop:hover {
  background: var(--gold-dark);
  color: var(--white);
}

@media (max-width: 992px) {
  #scrollTop {
    display: none !important;
  }
}

/* ==========================================================
   GLIGHTBOX OVERRIDES
   ========================================================== */
.glightbox-clean .gslide-description {
  background: var(--dark-green);
}
.glightbox-clean .gnext,
.glightbox-clean .gprev {
  background: rgba(196, 163, 90, 0.2);
  border: 1px solid var(--gold);
}

/* ==========================================================
   ANIMATIONS (AOS supplement)
   ========================================================== */
[data-aos] {
  transition-duration: 0.7s !important;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* 1200px */
@media (max-width: 1200px) {
  .about-grid {
    gap: 4rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 992px */
@media (max-width: 992px) {
  :root {
    --nav-height: 72px;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-img-grid {
    grid-template-rows: 164px 138px 138px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-map {
    height: 320px;
  }

  .booking-form-wrapper {
    padding: 2.5rem 2rem;
  }
  .form-row-3 {
    grid-template-columns: 1fr 1fr;
  }
}

/* 768px */
@media (max-width: 768px) {
  .hero-bg--north {
    background-image: url('../photos/poolandjacuzzi/DSC_8324-Edit.webp') !important;
  }

  .hero-bg--south {
    background-image: url('../photos/poolandjacuzzi/DSC_8275-Edit.webp') !important;
  }

  .nav-inner {
    padding: 0 1.25rem;
  }

  .section-pad {
    padding: 70px 0;
  }
  .section-pad-lg {
    padding: 90px 0;
  }

  /* index hero stats */
  .index-hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 90%;
    padding: 1rem 0;
  }
  .ihs-divider {
    display: none;
  }
  .ihs-item {
    padding: 0 1rem;
  }

  /* index villas chooser */
  .index-villas-row {
    flex-direction: column;
    height: auto;
    min-height: 160vw;
  }

  /* landing */
  .villas-row {
    flex-direction: column;
  }
  .villa-card {
    flex: 1;
  }
  .villas-divider {
    width: 100%;
    height: 1px;
  }
  .villa-card:hover {
    flex: 1;
  }
  .villa-name {
    font-size: 3.5rem;
  }
  .villa-enter {
    opacity: 1;
    transform: translateY(0);
  }
  .villa-card-content {
    padding: 2rem 2rem 2.8rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .form-row-3 {
    grid-template-columns: 1fr;
  }
  .villa-choice-group {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ==========================================================
   STATS COUNTER ROW
   ========================================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 5rem;
  border-top: 1px solid var(--gray-light);
  border-left: 1px solid var(--gray-light);
}
.stat-item {
  padding: 2.6rem 1.2rem;
  text-align: center;
  border-right: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  transition: background 0.3s var(--ease);
}
.stat-item:hover {
  background: var(--cream);
}
.stat-number {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}
.stat-suffix {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold-dark);
}
.stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
}

/* ==========================================================
   PRICE PREVIEW (booking form)
   ========================================================== */
.price-preview {
  background: var(--cream);
  border: 1.5px solid var(--gold-light);
  border-radius: 6px;
  padding: 1.4rem 1.6rem;
  margin-top: 1rem;
  transition: all 0.3s var(--ease);
}
.price-preview-header {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.price-nights-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--dark-green);
  margin-bottom: 0.7rem;
}
.price-breakdown-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--gray);
  padding: 0.22rem 0;
}
.price-breakdown-line.peak {
  color: var(--gold-dark);
  font-weight: 500;
}
.price-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-green);
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--gray-light);
}
.price-total-line span {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold-dark);
}
.price-note {
  font-size: 0.72rem;
  color: var(--gray);
  margin-top: 0.6rem;
  font-style: italic;
}
.min-nights-warning-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(196, 163, 90, 0.1);
  border: 1px solid var(--gold-light);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 500;
}
.min-nights-warning-box i {
  flex-shrink: 0;
}

.min-nights-note {
  font-size: 0.72rem;
  color: var(--gray);
  margin-top: 0.5rem;
  font-style: italic;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  flex-wrap: wrap;
  line-height: 1.6;
}
.min-nights-note i {
  color: var(--gold);
  font-size: 0.7rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .min-nights-note {
    display: block;
    padding-left: 1.2rem;
    position: relative;
  }
  .min-nights-note i {
    position: absolute;
    left: 0;
    top: 0.22rem;
  }
}

/* ==========================================================
   WHATSAPP FLOAT BUTTON
   ========================================================== */
/* WhatsApp float — hidden everywhere (link remains in contact section) */
.whatsapp-float {
  display: none !important;
}

/* ==========================================================
   STICKY MOBILE BOOK BUTTON
   ========================================================== */
@media (max-width: 992px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================
   GLIGHTBOX — hide caption / description bar
   ========================================================== */
.gslide-description,
.gslide-title,
.gdesc-inner {
  display: none !important;
}

/* ==========================================================
   FLATPICKR BRAND OVERRIDES
   ========================================================== */
.flatpickr-calendar {
  font-family: "Jost", sans-serif !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18) !important;
  border: 1px solid var(--gray-light) !important;
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--dark) !important;
}
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--gold-dark) !important;
  border-color: var(--gold-dark) !important;
  color: var(--white) !important;
}
.flatpickr-day.inRange {
  background: rgba(196, 163, 90, 0.18) !important;
  border-color: rgba(196, 163, 90, 0.18) !important;
  box-shadow: none !important;
}
.flatpickr-day.today:not(.selected) {
  border-color: var(--gold) !important;
  color: var(--gold-dark) !important;
  font-weight: 600;
}
.flatpickr-months,
.flatpickr-month,
.flatpickr-weekdays,
span.flatpickr-weekday {
  background: var(--dark-green) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  fill: rgba(255, 255, 255, 0.85) !important;
}
.flatpickr-current-month input.cur-year,
.flatpickr-current-month .flatpickr-monthDropdown-months {
  color: var(--white) !important;
}
.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  fill: var(--white) !important;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  background: rgba(200, 50, 50, 0.06) !important;
  color: #bbb !important;
  text-decoration: line-through !important;
  cursor: not-allowed !important;
}
/* Make the alt (visible) input look like our form-control */
.flatpickr-input.flatpickr-alt-input {
  width: 100%;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C4A35A'%3E%3Cpath d='M8 2v3M16 2v3M3 8h18M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 16px;
  padding-right: 2.4rem !important;
}

/* 576px */
@media (max-width: 576px) {
  .nav-inner {
    padding: 0 1.4rem;
  }
  .hero-title {
    font-size: 3.8rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-filters {
    gap: 0.4rem;
  }
  .filter-btn {
    padding: 0.45rem 1rem;
    font-size: 0.65rem;
  }
  .booking-form-wrapper {
    padding: 1.8rem 1.2rem;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 380px — very small phones */
@media (max-width: 380px) {
  .hero-title {
    font-size: 3rem !important;
  }
}

/* ==========================================================
   GALLERY FILTER ANIMATION (JS-triggered)
   ========================================================== */
.gallery-item.filter-entering {
  animation: filterFadeIn 0.45s ease forwards;
}
@keyframes filterFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ==========================================================
   REDUCED MOTION — only disable infinite/looping animations
   (scroll-triggered & hover animations are kept intact)
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* only kill infinite looping animations that can trigger motion sickness */
  .hero-bg {
    animation: none !important;
    transform: scale(1) !important;
  }
  .hero-scroll {
    animation: none !important;
  }
  .scroll-line {
    animation: none !important;
  }

  /* ensure AOS elements are visible if library is disabled */
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================
   SKIP TO CONTENT (accessibility)
   ========================================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--dark);
  padding: 0.6rem 1.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 9999;
  transition: top 0.2s var(--ease);
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}
