/* ============================================
   MAKAI BALI — Design System & Global Styles
   Light & Airy · Tropical Luxury
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Palette */
  --white: #FFFFFF;
  --cream: #FAF8F5;
  --sand: #E8E0D8;
  --sand-dark: #C4956A;
  --ocean: #7FB5BE;
  --ocean-light: #B8D8DE;
  --ocean-dark: #5A9AA3;
  --charcoal: #1A1A1A;
  --text: #2D2926;
  --text-light: #6B6560;
  --text-muted: #9B9590;
  --overlay: rgba(26, 26, 26, 0.4);
  --overlay-light: rgba(26, 26, 26, 0.15);

  /* Villa accent colours */
  --uluwatu-accent: #C4956A;  /* warm sand/gold */
  --kedungu-accent: #7FB5BE;  /* soft teal */

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.4s;
  --duration-slow: 0.8s;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

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

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

h4 {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
}

p {
  max-width: 65ch;
  color: var(--text-light);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sand-dark);
  margin-bottom: var(--space-sm);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

section {
  padding: var(--space-xl) 0;
}

.section--cream {
  background: var(--cream);
}

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

.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--duration) var(--ease);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.nav__logo svg {
  width: 44px;
  height: 44px;
  transition: transform var(--duration) var(--ease);
}

.nav__logo:hover svg {
  transform: scale(1.05);
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white);
  transition: color var(--duration) var(--ease);
}

.nav.scrolled .nav__logo-text {
  color: var(--charcoal);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding-bottom: 2px;
}

.nav.scrolled .nav__links a {
  color: var(--text-light);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--duration) var(--ease);
}

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

.nav__links a:hover {
  color: var(--white);
}

.nav.scrolled .nav__links a:hover {
  color: var(--charcoal);
}

.nav__cta {
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.nav.scrolled .nav__cta {
  border-color: var(--sand-dark);
  color: var(--sand-dark) !important;
}

.nav__cta:hover {
  background: var(--white);
  color: var(--charcoal) !important;
  border-color: var(--white);
}

.nav.scrolled .nav__cta:hover {
  background: var(--sand-dark);
  color: var(--white) !important;
}

/* Mobile Nav Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--duration) var(--ease);
}

.nav.scrolled .nav__toggle span {
  background: var(--charcoal);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

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

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Nav Overlay */
.nav__mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease);
  z-index: 999;
}

.nav__mobile.active {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.nav__mobile-links a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration) var(--ease);
}

.nav__mobile.active .nav__mobile-links a {
  opacity: 1;
  transform: translateY(0);
}

.nav__mobile.active .nav__mobile-links li:nth-child(1) a { transition-delay: 0.1s; }
.nav__mobile.active .nav__mobile-links li:nth-child(2) a { transition-delay: 0.15s; }
.nav__mobile.active .nav__mobile-links li:nth-child(3) a { transition-delay: 0.2s; }
.nav__mobile.active .nav__mobile-links li:nth-child(4) a { transition-delay: 0.25s; }
.nav__mobile.active .nav__mobile-links li:nth-child(5) a { transition-delay: 0.3s; }

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.25) 0%,
    rgba(26, 26, 26, 0.1) 40%,
    rgba(26, 26, 26, 0.35) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 var(--space-md);
  max-width: 800px;
}

.hero__content .eyebrow {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
}

.hero__content h1 {
  color: var(--white);
  margin: var(--space-sm) 0;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.15);
}

.hero__content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0 auto var(--space-md);
  max-width: 500px;
}

.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.7);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

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

@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid;
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}

.btn--primary {
  background: var(--sand-dark);
  color: var(--white);
  border-color: var(--sand-dark);
}

.btn--primary:hover {
  background: #B0845C;
  border-color: #B0845C;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(196, 149, 106, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

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

.btn--outline-dark {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn--outline-dark:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn--whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}

.btn--whatsapp:hover {
  background: #1DA851;
  border-color: #1DA851;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* --- Villa Cards (Homepage) --- */
.villas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.villa-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  group: villa;
}

.villa-card__img {
  position: absolute;
  inset: 0;
}

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

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

.villa-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.7) 0%,
    rgba(26, 26, 26, 0.1) 50%,
    rgba(26, 26, 26, 0.05) 100%
  );
  transition: background var(--duration) var(--ease);
}

.villa-card:hover .villa-card__overlay {
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.8) 0%,
    rgba(26, 26, 26, 0.2) 50%,
    rgba(26, 26, 26, 0.1) 100%
  );
}

.villa-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  color: var(--white);
  z-index: 2;
}

.villa-card__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.villa-card__content h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.villa-card__content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.villa-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  transition: gap var(--duration) var(--ease);
}

.villa-card:hover .villa-card__arrow {
  gap: 1rem;
}

/* --- Photo Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.gallery-grid__item {
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-grid__item:hover img {
  transform: scale(1.08);
}

.gallery-grid__item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-grid__item--wide {
  grid-column: span 2;
}

/* --- Amenity Grid --- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.amenity-item {
  text-align: center;
  padding: var(--space-md);
}

.amenity-item__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-sm);
  color: var(--sand-dark);
}

.amenity-item h4 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
  letter-spacing: 0.08em;
}

.amenity-item p {
  font-size: 0.85rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Feature Split (Text + Image) --- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.feature-split--reverse {
  direction: rtl;
}

.feature-split--reverse > * {
  direction: ltr;
}

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

.feature-split__text h3 {
  margin-bottom: var(--space-sm);
}

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

.feature-split__text ul {
  list-style: none;
  margin-bottom: var(--space-md);
}

.feature-split__text li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
  font-size: 0.95rem;
}

.feature-split__text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand-dark);
}

.feature-split__image {
  border-radius: 4px;
  overflow: hidden;
}

.feature-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* --- Nearby / Location --- */
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.nearby-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.nearby-item__time {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--sand-dark);
  white-space: nowrap;
  min-width: 50px;
}

.nearby-item__name {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 400;
}

/* --- Booking CTA Section --- */
.booking-cta {
  position: relative;
  padding: var(--space-xl) 0;
  text-align: center;
  overflow: hidden;
}

.booking-cta__bg {
  position: absolute;
  inset: 0;
}

.booking-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.55);
}

.booking-cta__content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.booking-cta__content h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.booking-cta__content p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto var(--space-md);
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--sand);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--duration) var(--ease);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sand-dark);
}

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

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

/* --- Footer --- */
.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-lg) 0 var(--space-md);
}

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

.footer__brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
  max-width: 300px;
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.75rem;
  margin-bottom: var(--space-sm);
}

.footer__col ul {
  list-style: none;
}

.footer__col li {
  margin-bottom: 0.5rem;
}

.footer__col a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration) var(--ease);
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--duration) var(--ease);
}

.footer__social a:hover {
  color: var(--white);
}

/* --- Divider --- */
.divider {
  width: 60px;
  height: 1px;
  background: var(--sand-dark);
  margin: var(--space-sm) auto var(--space-md);
}

.divider--left {
  margin-left: 0;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out),
              transform 0.6s var(--ease-out);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* Hero animations */
.hero__content .eyebrow,
.hero__content h1,
.hero__content p,
.hero__content .btn-group {
  opacity: 0;
  transform: translateY(25px);
  animation: heroFadeIn 1s var(--ease-out) forwards;
}

.hero__content .eyebrow { animation-delay: 0.3s; }
.hero__content h1 { animation-delay: 0.5s; }
.hero__content p { animation-delay: 0.7s; }
.hero__content .btn-group { animation-delay: 0.9s; }

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

/* --- Villa Page Hero (shorter) --- */
.hero--villa {
  height: 75vh;
  min-height: 500px;
}

/* --- Inner Page Header --- */
.page-header {
  padding-top: calc(80px + var(--space-lg));
  padding-bottom: var(--space-lg);
  background: var(--cream);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .villas-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .villa-card {
    aspect-ratio: 3/4;
  }

  .feature-split {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .feature-split--reverse {
    direction: ltr;
  }

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

  .gallery-grid__item--tall {
    grid-row: span 1;
  }

  .gallery-grid__item--wide {
    grid-column: span 1;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

  section {
    padding: var(--space-lg) 0;
  }

  .amenities-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

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

  .booking-cta {
    padding: var(--space-lg) 0;
  }
}

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

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

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

  h1 {
    font-size: 2.2rem;
  }

  .hero__content p {
    font-size: 1rem;
  }
}
