/* ============================================================
   MOUANA RESORT - Premium Tropical Resort Stylesheet
   Luxury Pool Villa Resort | Phuket, Thailand
   ============================================================
   Table of Contents:
   1.  Google Fonts Import
   2.  CSS Custom Properties (:root)
   3.  Reset & Base Styles
   4.  Utility Classes
   5.  Typography
   6.  Navigation
   7.  Hero Section & Slides
   8.  Section Commons
   9.  About Section
   10. Communities Section
   11. Testimonials Section
   12. Villa Cards
   13. Community Pages
   14. Villa Detail Pages
   15. Footer
   16. Decorative Elements
   17. Animations & Keyframes
   18. Responsive — 480px
   19. Responsive — 768px
   20. Responsive — 1024px
   21. Responsive — 1200px
   ============================================================ */


/* ==========================================================
   1. GOOGLE FONTS IMPORT
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Inter:wght@300;400;500;600;700&display=swap');


/* ==========================================================
   2. CSS CUSTOM PROPERTIES
   ========================================================== */
:root {
  /* ── Primary Palette ── */
  --color-green-deep:     #1a3c34;
  --color-green-medium:   #2d5e4f;
  --color-green-light:    #3d7a66;
  --color-green-pale:     #e8f0ec;

  --color-gold:           #c9a96e;
  --color-gold-light:     #dfc697;
  --color-gold-dark:      #a8893f;
  --color-gold-shimmer:   #e4d4a5;

  --color-white-warm:     #faf8f5;
  --color-white:          #ffffff;

  --color-charcoal:       #1a1a1a;
  --color-charcoal-light: #2c2c2c;
  --color-gray-dark:      #3a3a3a;
  --color-gray:           #6b6b6b;
  --color-gray-medium:    #999999;
  --color-gray-light:     #c4c4c4;
  --color-gray-pale:      #e8e8e8;

  --color-ocean:          #2a7f9e;
  --color-ocean-light:    #3da3c6;
  --color-ocean-dark:     #1d5f78;
  --color-ocean-pale:     #e4f3f8;

  /* ── Semantic Colors ── */
  --color-bg-primary:     var(--color-white-warm);
  --color-bg-secondary:   var(--color-white);
  --color-bg-dark:        var(--color-green-deep);
  --color-bg-card:        var(--color-white);
  --color-text-primary:   var(--color-charcoal);
  --color-text-secondary: var(--color-gray);
  --color-text-light:     var(--color-white-warm);
  --color-text-gold:      var(--color-gold);
  --color-accent:         var(--color-gold);
  --color-accent-hover:   var(--color-gold-dark);
  --color-link:           var(--color-ocean);
  --color-link-hover:     var(--color-ocean-dark);
  --color-star:           var(--color-gold);
  --color-overlay:        rgba(26, 60, 52, 0.65);
  --color-overlay-dark:   rgba(26, 26, 26, 0.70);

  /* ── Typography ── */
  --font-heading:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-subheading: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --fs-display:    clamp(2.8rem, 6vw, 5.5rem);
  --fs-h1:         clamp(2.2rem, 4.5vw, 4rem);
  --fs-h2:         clamp(1.8rem, 3.5vw, 3rem);
  --fs-h3:         clamp(1.4rem, 2.5vw, 2rem);
  --fs-h4:         clamp(1.15rem, 2vw, 1.5rem);
  --fs-h5:         clamp(1rem, 1.5vw, 1.25rem);
  --fs-body-lg:    1.125rem;
  --fs-body:       1rem;
  --fs-body-sm:    0.9375rem;
  --fs-caption:    0.875rem;
  --fs-small:      0.8125rem;
  --fs-tiny:       0.75rem;

  --lh-heading:    1.2;
  --lh-body:       1.7;

  --fw-light:      300;
  --fw-regular:    400;
  --fw-medium:     500;
  --fw-semibold:   600;
  --fw-bold:       700;
  --fw-extrabold:  800;

  --ls-wide:       0.15em;
  --ls-wider:      0.25em;
  --ls-widest:     0.35em;

  /* ── Spacing ── */
  --space-xxs:     0.25rem;
  --space-xs:      0.5rem;
  --space-sm:      0.75rem;
  --space-md:      1rem;
  --space-lg:      1.5rem;
  --space-xl:      2rem;
  --space-2xl:     3rem;
  --space-3xl:     4rem;
  --space-4xl:     6rem;
  --space-5xl:     8rem;
  --space-6xl:     10rem;

  --section-py:    clamp(4rem, 8vw, 8rem);
  --section-px:    clamp(1rem, 5vw, 2rem);

  /* ── Layout ── */
  --container-xs:  540px;
  --container-sm:  720px;
  --container-md:  960px;
  --container-lg:  1140px;
  --container-xl:  1320px;
  --container-max: 1440px;

  --nav-height:    80px;
  --nav-height-scrolled: 64px;

  /* ── Border Radius ── */
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     12px;
  --radius-xl:     20px;
  --radius-full:   50%;
  --radius-pill:   9999px;

  /* ── Shadows ── */
  --shadow-xs:     0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-sm:     0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md:     0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg:     0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl:     0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-gold:   0 4px 20px rgba(201, 169, 110, 0.25);
  --shadow-card:   0 2px 12px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12), 0 16px 40px rgba(0, 0, 0, 0.06);

  /* ── Transitions ── */
  --transition-fast:   0.2s ease;
  --transition-base:   0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow:   0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Z-Index Scale ── */
  --z-behind:      -1;
  --z-base:        1;
  --z-dropdown:    100;
  --z-sticky:      200;
  --z-nav:         500;
  --z-overlay:     600;
  --z-modal:       700;
  --z-toast:       800;
  --z-top:         999;
}


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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

body.no-scroll {
  overflow: hidden;
}

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

img {
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

ul,
ol {
  list-style: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

::selection {
  background: var(--color-gold);
  color: var(--color-white);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-white-warm);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-dark);
}


/* ==========================================================
   4. UTILITY CLASSES
   ========================================================== */

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container-lg);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--section-px);
  padding-right: var(--section-px);
}

.container--narrow {
  max-width: var(--container-md);
}

.container--wide {
  max-width: var(--container-xl);
}

.container--full {
  max-width: var(--container-max);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.grid {
  display: grid;
}

/* ── Text ── */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-gold {
  color: var(--color-gold);
}

.text-white {
  color: var(--color-white);
}

.text-ocean {
  color: var(--color-ocean);
}

.text-green {
  color: var(--color-green-deep);
}

.text-muted {
  color: var(--color-text-secondary);
}

/* ── Spacing Utilities ── */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-3xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-3xl); }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: var(--space-xs); }
.pt-2 { padding-top: var(--space-md); }
.pt-3 { padding-top: var(--space-lg); }
.pt-4 { padding-top: var(--space-xl); }
.pt-5 { padding-top: var(--space-3xl); }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: var(--space-xs); }
.pb-2 { padding-bottom: var(--space-md); }
.pb-3 { padding-bottom: var(--space-lg); }
.pb-4 { padding-bottom: var(--space-xl); }
.pb-5 { padding-bottom: var(--space-3xl); }

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

.hidden {
  display: none !important;
}

.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

/* ── Overflow ── */
.overflow-hidden {
  overflow: hidden;
}


/* ==========================================================
   5. TYPOGRAPHY
   ========================================================== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  color: var(--color-text-primary);
}

h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); }
h4, .h4 { font-size: var(--fs-h4); }
h5, .h5 { font-size: var(--fs-h5); }

.display-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.subheading {
  font-family: var(--font-subheading);
  font-weight: var(--fw-light);
  font-style: italic;
  letter-spacing: var(--ls-wide);
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--color-green-deep);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-family: var(--font-subheading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-light);
  font-style: italic;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin-bottom: var(--space-2xl);
}

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

.body-large {
  font-size: var(--fs-body-lg);
  line-height: 1.8;
}

p {
  margin-bottom: var(--space-md);
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 2.25rem;
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-fast),
    box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Gold filled */
.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-white);
  border: 2px solid var(--color-gold);
}

.btn-primary:hover {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-gold);
}

/* Gold outline */
.btn-outline {
  background-color: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
}

.btn-outline:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  box-shadow: var(--shadow-gold);
}

/* White outline (for dark backgrounds) */
.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-green-deep);
  border-color: var(--color-white);
}

/* Dark green filled */
.btn-dark {
  background-color: var(--color-green-deep);
  color: var(--color-white-warm);
  border: 2px solid var(--color-green-deep);
}

.btn-dark:hover {
  background-color: var(--color-green-medium);
  border-color: var(--color-green-medium);
  color: var(--color-white);
}

/* Ocean blue filled */
.btn-ocean {
  background-color: var(--color-ocean);
  color: var(--color-white);
  border: 2px solid var(--color-ocean);
}

.btn-ocean:hover {
  background-color: var(--color-ocean-dark);
  border-color: var(--color-ocean-dark);
  color: var(--color-white);
}

/* Button sizes */
.btn-sm {
  padding: 0.625rem 1.5rem;
  font-size: var(--fs-small);
}

.btn-lg {
  padding: 1.1rem 3rem;
  font-size: var(--fs-body);
}

/* Ripple hover effect */
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}


/* ==========================================================
   6. NAVIGATION
   ========================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: var(--z-nav);
  transition:
    background-color var(--transition-smooth),
    height var(--transition-smooth),
    box-shadow var(--transition-smooth),
    backdrop-filter var(--transition-smooth);
  /* Transparent on hero */
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(26, 60, 52, 0.97);
  height: var(--nav-height-scrolled);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

/* ── Logo ── */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: calc(var(--z-nav) + 1);
}

.navbar__logo-img {
  height: 42px;
  width: auto;
  transition: height var(--transition-smooth);
}

.navbar.scrolled .navbar__logo-img {
  height: 34px;
}

.navbar__logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: 0.05em;
  transition: font-size var(--transition-smooth);
}

.navbar.scrolled .navbar__logo-text {
  font-size: 1.35rem;
}

.navbar__logo-text span {
  display: block;
  font-family: var(--font-subheading);
  font-size: 0.65rem;
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: -2px;
}

/* ── Nav Links ── */
.navbar__menu {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.navbar__link {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-base);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--transition-smooth);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--color-gold);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

/* ── CTA in Nav ── */
.navbar__cta {
  padding: 0.55rem 1.5rem;
  font-size: var(--fs-tiny);
}

/* ── Hamburger ── */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: calc(var(--z-nav) + 2);
  position: relative;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition:
    transform var(--transition-base),
    opacity var(--transition-base),
    background-color var(--transition-base);
  position: absolute;
}

.navbar__hamburger span:nth-child(1) {
  transform: translateY(-7px);
}

.navbar__hamburger span:nth-child(3) {
  transform: translateY(7px);
}

/* Hamburger active (X) */
.navbar__hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* ── Mobile Menu Overlay ── */
.navbar__mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(
    160deg,
    var(--color-green-deep) 0%,
    #142e28 50%,
    var(--color-charcoal) 100%
  );
  z-index: var(--z-nav);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-smooth),
    visibility var(--transition-smooth);
}

.navbar__mobile-overlay.open {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.navbar__mobile-overlay .navbar__link {
  font-size: var(--fs-h4);
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(20px);
  opacity: 0;
  animation: mobileNavFadeIn 0.4s ease forwards;
}

.navbar__mobile-overlay .navbar__link:nth-child(1) { animation-delay: 0.1s; }
.navbar__mobile-overlay .navbar__link:nth-child(2) { animation-delay: 0.15s; }
.navbar__mobile-overlay .navbar__link:nth-child(3) { animation-delay: 0.2s; }
.navbar__mobile-overlay .navbar__link:nth-child(4) { animation-delay: 0.25s; }
.navbar__mobile-overlay .navbar__link:nth-child(5) { animation-delay: 0.3s; }
.navbar__mobile-overlay .navbar__link:nth-child(6) { animation-delay: 0.35s; }
.navbar__mobile-overlay .navbar__link:nth-child(7) { animation-delay: 0.4s; }

@keyframes mobileNavFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================================================
   7. HERO SECTION & SLIDES
   ========================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
}

/* ── Slide Container ── */
.hero__slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}

.hero__slide.active {
  opacity: 1;
}

.hero__slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero__slide.active .hero__slide-image {
  transform: scale(1);
}

/* Parallax on single-image hero */
.hero--parallax .hero__slide-image {
  transform: translateZ(0);
  will-change: transform;
}

/* ── Overlay ── */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(26, 60, 52, 0.3) 0%,
    rgba(26, 60, 52, 0.55) 50%,
    rgba(26, 26, 26, 0.7) 100%
  );
  z-index: 2;
}

/* ── Hero Content ── */
.hero__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  padding: var(--nav-height) var(--section-px) var(--space-3xl);
}

.hero__label {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeInDown 1s ease 0.3s forwards;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1.1;
  max-width: 900px;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}

.hero__subtitle {
  font-family: var(--font-subheading);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: var(--fw-light);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  max-width: 650px;
  margin-bottom: var(--space-2xl);
  opacity: 0;
  animation: fadeInUp 1s ease 0.7s forwards;
}

.hero__buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 1s ease 0.9s forwards;
}

/* ── Gold Separator Line under hero ── */
.hero__separator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-gold) 20%,
    var(--color-gold-light) 50%,
    var(--color-gold) 80%,
    transparent 100%
  );
  z-index: 4;
}

/* ── Scroll Indicator ── */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}

.hero__scroll-indicator span {
  font-family: var(--font-body);
  font-size: var(--fs-tiny);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: rgba(255, 255, 255, 0.6);
}

.hero__scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── Hero Slide Indicators (dots) ── */
.hero__indicators {
  position: absolute;
  bottom: 2rem;
  right: var(--section-px);
  display: flex;
  gap: var(--space-xs);
  z-index: 4;
}

.hero__indicator {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-base);
}

.hero__indicator.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: scale(1.2);
}


/* ==========================================================
   8. SECTION COMMONS
   ========================================================== */
.section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.section--bg-white {
  background-color: var(--color-bg-secondary);
}

.section--bg-warm {
  background-color: var(--color-bg-primary);
}

.section--bg-dark {
  background-color: var(--color-bg-dark);
}

.section--bg-dark .section-label {
  color: var(--color-gold-light);
}

.section--bg-dark .section-title {
  color: var(--color-white);
}

.section--bg-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.section--bg-dark p {
  color: rgba(255, 255, 255, 0.8);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

/* ── Gold Separator ── */
.gold-separator {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  margin: var(--space-lg) auto;
  border: none;
}

.gold-separator--left {
  margin-left: 0;
}

.gold-separator--wide {
  width: 100px;
}

.gold-separator--short {
  width: 40px;
}

/* ── Animated reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }


/* ==========================================================
   9. ABOUT SECTION
   ========================================================== */
.about {
  position: relative;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about__image {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-slow);
}

.about__image-wrapper:hover .about__image {
  transform: scale(1.03);
}

/* Gold frame accent */
.about__image-wrapper::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.5;
}

/* Experience badge */
.about__badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--color-gold);
  color: var(--color-white);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about__badge-number {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: 1;
}

.about__badge-text {
  font-family: var(--font-body);
  font-size: var(--fs-tiny);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-top: 2px;
}

.about__content {
  padding: var(--space-md) 0;
}

.about__text {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  font-size: var(--fs-body-lg);
  line-height: 1.8;
}

/* Feature list */
.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.about__feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-body-sm);
  color: var(--color-text-primary);
}

.about__feature-item::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: var(--radius-full);
}


/* ==========================================================
   10. COMMUNITIES SECTION
   ========================================================== */
.communities__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.community-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
  cursor: pointer;
}

.community-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.community-card__image-wrapper {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.community-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.community-card:hover .community-card__image {
  transform: scale(1.08);
}

.community-card__image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.6), transparent);
}

.community-card__location {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xxs);
  padding: var(--space-xxs) var(--space-sm);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  color: var(--color-white);
  font-size: var(--fs-tiny);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.community-card__body {
  padding: var(--space-lg) var(--space-xl);
}

.community-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--color-green-deep);
  margin-bottom: var(--space-xs);
}

.community-card__description {
  font-size: var(--fs-body-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.community-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-gray-pale);
}

.community-card__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-xxs);
  font-size: var(--fs-caption);
  color: var(--color-gray);
}

.community-card__meta-item strong {
  color: var(--color-text-primary);
  font-weight: var(--fw-semibold);
}

.community-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-top: var(--space-md);
  transition: gap var(--transition-base), color var(--transition-base);
}

.community-card__cta::after {
  content: '\2192';
  transition: transform var(--transition-base);
}

.community-card:hover .community-card__cta::after {
  transform: translateX(4px);
}


/* ==========================================================
   10b. PHUKET MAP SECTION
   ========================================================== */
.map-section {
  background: linear-gradient(135deg, #0f2440 0%, #1a3c34 50%, #0f2440 100%);
  overflow: hidden;
}

.phuket-map-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  gap: 0;
  min-height: 500px;
  position: relative;
}

/* --- Map Cards --- */
.map-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xl);
  z-index: 2;
}

.map-cards--left {
  justify-content: space-between;
  padding: var(--space-xl) 0;
}

.map-cards--right {
  justify-content: center;
  padding: var(--space-xl) 0;
}

.map-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  cursor: pointer;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
}

.map-cards--right .map-card {
  flex-direction: row-reverse;
  text-align: right;
}

.map-card:hover,
.map-card.active {
  background: rgba(201,169,110,0.12);
  border-color: rgba(201,169,110,0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.map-card-image {
  width: 90px;
  height: 70px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

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

.map-card:hover .map-card-image img,
.map-card.active .map-card-image img {
  transform: scale(1.1);
}

.map-card-info h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin: 0 0 4px;
  line-height: 1.3;
}

.map-card-info p {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  color: var(--color-gold);
  margin: 0;
  letter-spacing: 0.05em;
}

/* --- Center Map --- */
.map-center {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phuket-map-svg {
  width: 100%;
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}

.map-island-shadow {
  display: none;
}

.map-island {
  fill: #1a5c6e;
  stroke: #2a8fa8;
  stroke-width: 1.5;
  transition: fill 0.3s ease;
}

.map-road {
  fill: none;
  stroke: rgba(42,143,168,0.35);
  stroke-width: 1.2;
  stroke-dasharray: 4 3;
}

.map-beach {
  fill: none;
  stroke: rgba(201,169,110,0.3);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.map-runway {
  fill: rgba(255,255,255,0.15);
}

/* --- Map Markers --- */
.map-marker {
  cursor: pointer;
}

.map-marker-pulse {
  fill: rgba(201,169,110,0.15);
  animation: mapPulse 2.5s ease-in-out infinite;
}

.map-marker-dot {
  fill: rgba(201,169,110,0.3);
  stroke: rgba(201,169,110,0.5);
  stroke-width: 1;
  transition: all 0.3s ease;
}

.map-marker-core {
  fill: #c9a96e;
  transition: all 0.3s ease;
}

.map-marker.active .map-marker-pulse,
.map-marker:hover .map-marker-pulse {
  fill: rgba(201,169,110,0.3);
  animation: mapPulseActive 1.5s ease-in-out infinite;
}

.map-marker.active .map-marker-dot,
.map-marker:hover .map-marker-dot {
  fill: rgba(201,169,110,0.5);
  stroke: #c9a96e;
  stroke-width: 2;
  r: 9;
}

.map-marker.active .map-marker-core,
.map-marker:hover .map-marker-core {
  fill: #e4d4a5;
  r: 5;
}

.map-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  fill: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  pointer-events: none;
}

/* --- Connection Lines --- */
.map-lines-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.map-line {
  stroke: rgba(201,169,110,0.2);
  stroke-width: 0.3;
  stroke-dasharray: 2 2;
  transition: all 0.4s ease;
}

.map-line.active {
  stroke: rgba(201,169,110,0.6);
  stroke-width: 0.5;
  stroke-dasharray: none;
}

@keyframes mapPulse {
  0%, 100% { opacity: 0.4; r: 14; }
  50% { opacity: 0.8; r: 18; }
}

@keyframes mapPulseActive {
  0%, 100% { opacity: 0.5; r: 16; }
  50% { opacity: 1; r: 22; }
}

/* --- Map responsive --- */
@media (max-width: 768px) {
  .phuket-map-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: var(--space-xl);
    min-height: auto;
  }

  .map-cards--left {
    order: 2;
    flex-direction: row;
    gap: var(--space-md);
  }

  .map-cards--right {
    order: 3;
  }

  .map-cards--right .map-card {
    flex-direction: row;
    text-align: left;
  }

  .map-center {
    order: 1;
  }

  .phuket-map-svg {
    max-width: 180px;
  }

  .map-lines-svg {
    display: none;
  }

  .map-card-image {
    width: 70px;
    height: 55px;
  }

  .map-card-info h4 {
    font-size: var(--fs-caption);
  }
}

@media (max-width: 480px) {
  .map-cards--left {
    flex-direction: column;
  }
}


/* ==========================================================
   11. TESTIMONIALS SECTION
   ========================================================== */
.testimonials {
  background-color: var(--color-green-deep);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.06), transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(42, 127, 158, 0.05), transparent 60%);
  pointer-events: none;
}

.testimonials__carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-card {
  flex: 0 0 100%;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

/* Large quotation mark */
.testimonial-card__quote-icon {
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.4;
  margin-bottom: var(--space-md);
}

.testimonial-card__text {
  font-family: var(--font-subheading);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-style: italic;
  font-weight: var(--fw-light);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.testimonial-card__author-image {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--color-gold);
  margin-bottom: var(--space-xs);
}

.testimonial-card__author-name {
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
}

.testimonial-card__author-origin {
  font-size: var(--fs-caption);
  color: var(--color-gold-light);
  letter-spacing: var(--ls-wide);
}

.testimonial-card__stars {
  margin-bottom: var(--space-md);
}

/* ── Carousel Controls ── */
.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.testimonials__arrow {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.testimonials__arrow:hover {
  border-color: var(--color-gold);
  background-color: var(--color-gold);
  color: var(--color-white);
}

.testimonials__dots {
  display: flex;
  gap: var(--space-xs);
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-base);
}

.testimonials__dot.active {
  background: var(--color-gold);
  width: 24px;
  border-radius: var(--radius-pill);
}


/* ==========================================================
   12. VILLA CARDS (Shared Component)
   ========================================================== */
.villa-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
  cursor: pointer;
}

.villa-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

/* ── Image area ── */
.villa-card__image-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.villa-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.villa-card:hover .villa-card__image {
  transform: scale(1.1);
}

/* Image overlay with gradient */
.villa-card__image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.75), transparent);
  z-index: 1;
  transition: opacity var(--transition-base);
}

/* Name on image */
.villa-card__overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-lg);
  z-index: 2;
}

.villa-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-h5);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--space-xxs);
}

/* Star rating on image */
.villa-card__rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.villa-card__star {
  color: var(--color-star);
  font-size: 0.85rem;
}

.villa-card__star--empty {
  color: rgba(255, 255, 255, 0.35);
}

/* Bedrooms badge */
.villa-card__bedrooms {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xxs);
  padding: var(--space-xxs) var(--space-sm);
  background: rgba(26, 60, 52, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  color: var(--color-white);
  font-size: var(--fs-tiny);
  font-weight: var(--fw-medium);
  z-index: 2;
}

/* Favorite / wishlist heart */
.villa-card__favorite {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 2;
  transition: all var(--transition-base);
}

.villa-card__favorite:hover,
.villa-card__favorite.active {
  background: rgba(201, 169, 110, 0.9);
  color: var(--color-white);
}

/* ── Card body ── */
.villa-card__body {
  padding: var(--space-lg);
}

.villa-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.villa-card__feature {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xxs);
  font-size: var(--fs-tiny);
  color: var(--color-gray);
  padding: var(--space-xxs) var(--space-xs);
  background: var(--color-gray-pale);
  border-radius: var(--radius-sm);
}

.villa-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-xxs);
  margin-top: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-gray-pale);
}

.villa-card__price-from {
  font-size: var(--fs-tiny);
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.villa-card__price-amount {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--color-green-deep);
}

.villa-card__price-period {
  font-size: var(--fs-caption);
  color: var(--color-gray);
}

/* ── Villa Grid ── */
.villa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}


/* ==========================================================
   13. COMMUNITY PAGES (Individual Community Hero + Layout)
   ========================================================== */

/* ── Community Page Hero Banner ── */
.community-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
}

.community-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(26, 60, 52, 0.2) 0%,
    rgba(26, 60, 52, 0.5) 60%,
    rgba(26, 26, 26, 0.7) 100%
  );
}

.community-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-3xl) var(--section-px);
  z-index: 2;
}

.community-hero__content .container {
  padding: 0;
}

.community-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, 0.7);
}

.community-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.community-hero__breadcrumb a:hover {
  color: var(--color-gold);
}

.community-hero__breadcrumb .separator {
  color: var(--color-gold);
}

.community-hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.community-hero__tagline {
  font-family: var(--font-subheading);
  font-size: var(--fs-h5);
  font-style: italic;
  color: var(--color-gold-light);
}

/* ── Community Description ── */
.community-description {
  padding: var(--section-py) 0;
}

.community-description__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

.community-description__text {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.community-description__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.community-highlight {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-green-pale);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.community-highlight:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.community-highlight__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: 1rem;
}

.community-highlight__text {
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
  color: var(--color-green-deep);
}

/* ── Villas Section in Community Pages ── */
.community-villas {
  background-color: var(--color-bg-primary);
}

.community-villas__filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  justify-content: center;
}

.filter-btn {
  padding: var(--space-xs) var(--space-lg);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-gray);
  border: 1px solid var(--color-gray-pale);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--color-white);
  background: var(--color-green-deep);
  border-color: var(--color-green-deep);
}


/* ==========================================================
   14. VILLA DETAIL PAGES
   ========================================================== */

/* ── Image Gallery (grid) ── */
.villa-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xs);
  margin-bottom: var(--space-3xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.villa-gallery__main {
  position: relative;
  height: 300px;
  overflow: hidden;
  cursor: pointer;
}

.villa-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.villa-gallery__main:hover img {
  transform: scale(1.03);
}

.villa-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xs);
}

.villa-gallery__thumb {
  position: relative;
  height: 100px;
  overflow: hidden;
  cursor: pointer;
}

.villa-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base), filter var(--transition-base);
}

.villa-gallery__thumb:hover img {
  transform: scale(1.05);
}

/* "View all photos" overlay on last thumb */
.villa-gallery__thumb--more::after {
  content: 'View All';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  cursor: pointer;
}

/* ── Villa Detail Layout ── */
.villa-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-4xl);
}

.villa-detail__main {
  order: 1;
}

.villa-detail__sidebar {
  order: 2;
}

/* ── Villa Header ── */
.villa-detail__header {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-gray-pale);
}

.villa-detail__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--color-green-deep);
  margin-bottom: var(--space-xs);
}

.villa-detail__location {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-body-sm);
  color: var(--color-gray);
  margin-bottom: var(--space-md);
}

.villa-detail__quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.villa-detail__info-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-body-sm);
  color: var(--color-text-primary);
}

.villa-detail__info-item .icon {
  color: var(--color-gold);
  font-size: 1.1rem;
}

/* ── Description Panels ── */
.villa-panel {
  margin-bottom: var(--space-2xl);
}

.villa-panel__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--color-green-deep);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.villa-panel__title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--color-gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.villa-panel__content {
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ── Amenities List ── */
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-md);
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-white-warm);
  border-radius: var(--radius-md);
  font-size: var(--fs-body-sm);
  color: var(--color-text-primary);
  transition: all var(--transition-base);
}

.amenity-item:hover {
  background: var(--color-green-pale);
  transform: translateX(4px);
}

.amenity-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ocean);
  font-size: 1rem;
}

.amenity-item--premium {
  background: linear-gradient(135deg, var(--color-green-pale), var(--color-ocean-pale));
}

.amenity-item--premium .amenity-item__icon {
  color: var(--color-gold);
}

/* ── Booking CTA Sidebar ── */
.booking-card {
  position: sticky;
  top: calc(var(--nav-height-scrolled) + var(--space-xl));
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-gray-pale);
}

.booking-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-gray-pale);
}

.booking-card__price-amount {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--color-green-deep);
}

.booking-card__price-period {
  font-size: var(--fs-body-sm);
  color: var(--color-gray);
}

.booking-card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.booking-card__rating-score {
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
}

.booking-card__rating-count {
  font-size: var(--fs-caption);
  color: var(--color-gray);
}

/* Date inputs */
.booking-card__dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-gray-pale);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.booking-card__date-field {
  padding: var(--space-sm) var(--space-md);
}

.booking-card__date-field:first-child {
  border-right: 1px solid var(--color-gray-pale);
}

.booking-card__date-field label {
  display: block;
  font-size: var(--fs-tiny);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-text-primary);
  margin-bottom: var(--space-xxs);
}

.booking-card__date-field input {
  width: 100%;
  font-size: var(--fs-body-sm);
  color: var(--color-gray);
  cursor: pointer;
}

/* Guests selector */
.booking-card__guests {
  border: 1px solid var(--color-gray-pale);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-lg);
}

.booking-card__guests label {
  display: block;
  font-size: var(--fs-tiny);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-text-primary);
  margin-bottom: var(--space-xxs);
}

.booking-card__guests select {
  width: 100%;
  font-size: var(--fs-body-sm);
  color: var(--color-gray);
  cursor: pointer;
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right center;
  padding-right: var(--space-lg);
}

.booking-card__cta {
  width: 100%;
  margin-bottom: var(--space-md);
}

.booking-card__note {
  text-align: center;
  font-size: var(--fs-caption);
  color: var(--color-gray);
}

/* ── Price Breakdown ── */
.booking-card__breakdown {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-gray-pale);
}

.booking-card__breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-xs) 0;
  font-size: var(--fs-body-sm);
}

.booking-card__breakdown-row span:first-child {
  color: var(--color-gray);
}

.booking-card__breakdown-row--total {
  border-top: 1px solid var(--color-gray-pale);
  margin-top: var(--space-xs);
  padding-top: var(--space-md);
  font-weight: var(--fw-bold);
  font-size: var(--fs-body);
}

.booking-card__breakdown-row--total span:first-child {
  color: var(--color-text-primary);
}


/* ==========================================================
   15. FOOTER
   ========================================================== */
.footer {
  background-color: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}

/* Tropical accent at top of footer */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-green-deep),
    var(--color-gold),
    var(--color-ocean),
    var(--color-gold),
    var(--color-green-deep)
  );
}

.footer__top {
  padding: var(--space-4xl) 0 var(--space-3xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

/* ── Footer Brand Column ── */
.footer__brand {
  max-width: 320px;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.footer__brand-name span {
  display: block;
  font-family: var(--font-subheading);
  font-size: var(--fs-tiny);
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: 2px;
}

.footer__brand-description {
  font-size: var(--fs-body-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: all var(--transition-base);
}

.footer__social-link:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ── Footer Link Columns ── */
.footer__column-title {
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer__column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-gold);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--fs-body-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer__link:hover {
  color: var(--color-gold);
  padding-left: var(--space-xs);
}

/* ── Footer Contact ── */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--fs-body-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer__contact-item .icon {
  color: var(--color-gold);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── Footer Bottom ── */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.footer__copyright {
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer__bottom-links a {
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-fast);
}

.footer__bottom-links a:hover {
  color: var(--color-gold);
}


/* ==========================================================
   16. DECORATIVE ELEMENTS
   ========================================================== */

/* ── Gold Separator Lines ── */
.separator-gold {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  border: none;
}

.separator-gold--center {
  margin: var(--space-lg) auto;
}

.separator-gold--left {
  margin: var(--space-lg) auto var(--space-lg) 0;
}

/* ── Star Ratings ── */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.stars__icon {
  width: 1em;
  height: 1em;
  color: var(--color-star);
}

.stars__icon--half {
  position: relative;
}

.stars__icon--empty {
  color: var(--color-gray-light);
}

/* CSS-only star using clip-path */
.star-shape {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--color-star);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.star-shape--empty {
  background: var(--color-gray-light);
}

.star-shape--sm {
  width: 12px;
  height: 12px;
}

.star-shape--lg {
  width: 18px;
  height: 18px;
}

/* ── Tropical Leaf Decorative (CSS Shapes) ── */
.leaf-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
}

/* Large palm leaf shape */
.leaf-decor--palm {
  width: 300px;
  height: 300px;
  background: var(--color-green-deep);
  border-radius: 0 100% 0 100%;
  transform: rotate(-30deg);
}

.leaf-decor--palm-right {
  width: 250px;
  height: 250px;
  background: var(--color-green-deep);
  border-radius: 100% 0 100% 0;
  transform: rotate(30deg);
}

/* Monstera-inspired leaf */
.leaf-decor--monstera {
  width: 200px;
  height: 200px;
  background: var(--color-green-medium);
  border-radius: 50% 0 50% 50%;
  transform: rotate(-45deg);
}

.leaf-decor--monstera::before {
  content: '';
  position: absolute;
  width: 60%;
  height: 40%;
  top: 30%;
  left: 20%;
  background: var(--color-bg-primary);
  border-radius: 50%;
  transform: rotate(15deg);
}

/* Slim tropical leaf / fern */
.leaf-decor--fern {
  width: 120px;
  height: 400px;
  background: var(--color-green-light);
  border-radius: 50% 50% 0 0;
  transform: rotate(-15deg);
}

/* Gold tropical accent */
.leaf-decor--gold {
  width: 180px;
  height: 180px;
  background: var(--color-gold);
  border-radius: 0 80% 0 80%;
  transform: rotate(20deg);
  opacity: 0.04;
}

/* Positioning helpers for decorative leaves */
.leaf-decor--top-left {
  top: -60px;
  left: -80px;
}

.leaf-decor--top-right {
  top: -60px;
  right: -80px;
}

.leaf-decor--bottom-left {
  bottom: -60px;
  left: -80px;
}

.leaf-decor--bottom-right {
  bottom: -60px;
  right: -80px;
}

/* ── Dot Pattern Texture ── */
.dot-pattern {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(
    var(--color-gold) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  opacity: 0.08;
}

/* ── Wave Divider (between sections) ── */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.wave-divider--flip {
  top: -1px;
  bottom: auto;
  transform: rotate(180deg);
}


/* ==========================================================
   17. ANIMATIONS & KEYFRAMES
   ========================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes goldGlow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(201, 169, 110, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(201, 169, 110, 0.5);
  }
}

/* ── Animation Utility Classes ── */
.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-down {
  animation: fadeInDown 0.8s ease forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 169, 110, 0.2) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s ease-in-out infinite;
}

.animate-gold-glow {
  animation: goldGlow 2s ease-in-out infinite;
}

/* ── Animation Delays ── */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-1000 { animation-delay: 1.0s; }

/* ── Parallax Helper ── */
.parallax-layer {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ── Loading Skeleton ── */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-gray-pale) 25%,
    #f0f0f0 50%,
    var(--color-gray-pale) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

.skeleton--text {
  height: 1em;
  margin-bottom: var(--space-xs);
}

.skeleton--title {
  height: 1.5em;
  width: 60%;
  margin-bottom: var(--space-sm);
}

.skeleton--image {
  height: 200px;
  border-radius: var(--radius-lg);
}


/* ==========================================================
   18. RESPONSIVE — 480px (Large phones)
   ========================================================== */
@media (min-width: 480px) {
  .villa-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .villa-gallery__main {
    height: 350px;
  }

  .villa-gallery__thumb {
    height: 120px;
  }

  .hero__buttons {
    flex-direction: row;
  }

  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}


/* ==========================================================
   19. RESPONSIVE — 768px (Tablets)
   ========================================================== */
@media (min-width: 768px) {
  /* ── About ── */
  .about__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about__image {
    min-height: 450px;
  }

  /* ── Communities ── */
  .communities__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Full-width feature card */
  .communities__grid .community-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 600px;
    justify-self: center;
  }

  /* ── Villa Gallery ── */
  .villa-gallery {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto;
  }

  .villa-gallery__main {
    height: 400px;
    grid-row: 1 / 2;
  }

  .villa-gallery__thumbs {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
  }

  .villa-gallery__thumb {
    height: auto;
  }

  /* ── Villa Detail ── */
  .villa-detail {
    grid-template-columns: 1fr 380px;
  }

  .villa-detail__main {
    order: 1;
  }

  .villa-detail__sidebar {
    order: 2;
  }

  /* ── Community Page ── */
  .community-description__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ── Footer ── */
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  /* ── Amenities ── */
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ==========================================================
   20. RESPONSIVE — 1024px (Landscape tablets / small laptops)
   ========================================================== */
@media (min-width: 1024px) {
  /* ── Navigation: Show full menu, hide hamburger ── */
  .navbar__hamburger {
    display: none;
  }

  .navbar__menu {
    display: flex;
  }

  /* ── Communities ── */
  .communities__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .communities__grid .community-card:last-child:nth-child(odd) {
    max-width: none;
    grid-column: auto;
    justify-self: auto;
  }

  /* ── Villa Grid ── */
  .villa-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ── Villa Gallery ── */
  .villa-gallery__main {
    height: 480px;
  }

  /* ── Footer ── */
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
  }

  /* ── Amenities ── */
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ==========================================================
   21. RESPONSIVE — Below 1024px (Mobile menu)
   ========================================================== */
@media (max-width: 1023px) {
  .navbar__menu {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__mobile-overlay {
    display: flex;
  }
}


/* ==========================================================
   22. RESPONSIVE — 1200px+ (Large screens)
   ========================================================== */
@media (min-width: 1200px) {
  .about__grid {
    gap: var(--space-4xl);
  }

  .about__image {
    min-height: 550px;
  }

  .community-hero {
    height: 65vh;
    max-height: 700px;
  }

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

  .villa-gallery__main {
    height: 520px;
  }

  .villa-detail {
    grid-template-columns: 1fr 420px;
    gap: var(--space-4xl);
  }

  .testimonial-card {
    padding: var(--space-3xl) var(--space-xl);
  }

  /* ── Decorative leaves visible on large screens ── */
  .leaf-decor {
    opacity: 0.05;
  }
}


/* ==========================================================
   PRINT STYLES
   ========================================================== */
@media print {
  .navbar,
  .hero__scroll-indicator,
  .hero__indicators,
  .testimonials__controls,
  .booking-card,
  .footer__social,
  .leaf-decor,
  .dot-pattern {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .hero {
    height: auto;
    min-height: 0;
    page-break-after: always;
  }

  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .btn {
    border: 1px solid #000;
    background: none;
    color: #000;
  }
}
