/* =====================================================================
   [Community Name] — Placeholder Landing Page
   Light, airy, luxury real-estate aesthetic. Generous white space.
   Edit colors in the :root block below.
   ===================================================================== */

@property --ba {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes border-travel {
  from { --ba: 0deg; }
  to   { --ba: 360deg; }
}

:root {
  /* Brand palette — light theme, real-estate feel */
  --bg:           #ffffff;
  --bg-alt:       #faf8f3;  /* warm off-white for alternating sections */
  --surface:      #ffffff;
  --text:         #1a1a1a;
  --text-muted:   #6b6b6b;
  --accent:       #b8893b;  /* deeper warm gold — reads well on white */
  --accent-hover: #9c7430;
  --border:       rgba(0,0,0,0.08);
  --border-strong:rgba(0,0,0,0.15);

  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --max-width: 1200px;
  --max-width-narrow: 720px;
  --radius: 2px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- helpers ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: var(--max-width-narrow); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 24px;
  font-weight: 600;
}

.section {
  padding: 140px 0;  /* extra generous vertical space */
}
.section--alt {
  background: var(--bg-alt);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.section__lede {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 64px;
  line-height: 1.75;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(184,137,59,0.25);
}
.btn--full { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav__logo {
  height: 56px;
  width: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(60%) sepia(60%) saturate(500%) hue-rotate(5deg) brightness(95%);
}
.nav__name {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav__cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 3px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius);
  transition: all 0.25s ease;
}
.nav__cta:hover {
  background: var(--accent);
  color: #fff;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-image: url('img/bg-hero.png');
  background-size: cover;
  background-position: center;
  padding: 160px 32px 100px;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.15) 100%);
  z-index: 0;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: none;  /* hidden until logo is clicked */
}
.hero.video-mode .hero__video {
  display: block;
}
.hero__content {
  position: relative;
  z-index: 1;  /* stays above the video */
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow-box {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 0 32px;
}
.hero__eyebrow {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  background: #ffffff;
  padding: 10px 20px;
  font-weight: 600;
}

/* neon coming soon */
@keyframes neon-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow:
      0 0 4px #fff,
      0 0 12px #f5a623,
      0 0 28px #f5a623,
      0 0 50px #ff6a00;
    opacity: 1;
  }
  20%, 24%, 55% {
    text-shadow: none;
    opacity: 0.7;
  }
}
.neon-soon {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #ffe8a3;
  background: transparent;
  border-left: 1.5px solid rgba(255, 255, 255, 0.85);
  padding: 10px 20px;
  text-shadow:
    0 0 4px #fff,
    0 0 12px #f5a623,
    0 0 28px #f5a623,
    0 0 50px #ff6a00;
  animation: neon-flicker 6s infinite;
}
.hero__title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 32px;
  max-width: 900px;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero__title-accent {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}
.hero__sub {
  font-family: 'Roboto', sans-serif;
  font-size: 1.25rem;
  color: #ffffff;
  max-width: 560px;
  margin: 0 0 48px;
  line-height: 1.7;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* ---------- split (text + image) ---------- */
.vision__inner {
  display: grid;
  grid-template-columns: minmax(320px, 560px) 1fr;
  align-items: center;
  gap: 0;
  padding-left: max(32px, calc((100vw - 1200px) / 2 + 32px));
  padding-right: 0;
  overflow: hidden;
}
.split__text {
  padding-right: 64px;
  padding-left: 0;
}
.split__text .section__lede {
  margin-bottom: 0;
}
.split__image {
  position: relative;
  min-height: 520px;
  overflow: visible;
}
.split__img-map {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  position: relative;
  z-index: 1;
  box-shadow: none;
}
.split__img-vision {
  width: 52%;
  height: auto;
  position: absolute;
  bottom: -32px;
  right: 0;
  z-index: 2;
  border-radius: 0;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
}

/* ---------- map lightbox (mobile tap-to-zoom) ---------- */
.map-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px;
}
.map-lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.map-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.map-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.map-lightbox__close:hover {
  background: var(--accent);
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .vision__inner {
    grid-template-columns: 1fr;
    padding-left: 24px;
    padding-right: 0;
  }
  .split__text { padding-right: 24px; }
  .split__image { min-height: 320px; }
  .split__img-map { width: 90%; }
  .split__img-vision { width: 50%; bottom: -16px; }
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---------- features grid ---------- */
/* amenities section background */
#amenities::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 0;
}
#amenities .container {
  position: relative;
  z-index: 1;
}
.amenities-eyebrow {
  color: var(--accent) !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
}
.amenities-title {
  color: #ffffff !important;
  text-align: center;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}

/* slideshow */
.amenities-slideshow {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.amenities-slideshow__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.amenities-slideshow__img.active {
  opacity: 1;
}
.amenities-slideshow__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
  padding: 0;
}
.slideshow-dot.active {
  background: var(--accent);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  margin-top: 64px;
}
.feature {
  background: #ffffff1f;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 48px 36px;
  cursor: default;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 1;
}
.feature::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: conic-gradient(
    from var(--ba),
    transparent 0deg,
    #c9a84c 20deg,
    #f0d080 35deg,
    #c9a84c 50deg,
    transparent 75deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.feature.border-active::after {
  opacity: 1;
  animation: border-travel 2s linear;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  border-color: var(--accent);
}
.feature:hover::before {
  transform: scaleX(1);
}
.feature__icon {
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.25s ease;
}
.feature:hover .feature__icon {
  transform: scale(1.2);
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 30px;
  margin: 0 0 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature__icon-fa {
  color: var(--accent);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.feature p {
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.7;
  font-size: 0.95rem;
}
.feature__sub {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
}
.feature__loc-icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.gallery__item {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  transition: transform 0.5s ease, box-shadow 0.4s ease;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery__item:hover::before {
  opacity: 1;
}
.gallery__item:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}
.gallery__label {
  position: absolute;
  bottom: 16px;
  left: 20px;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery__item:hover .gallery__label {
  opacity: 1;
  transform: translateY(0);
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox__img {
  max-width: 88vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.lightbox__label {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 4rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  line-height: 1;
  padding: 0 24px;
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

.gallery__logo {
  height: 56px;
  width: auto;
  margin: 0 auto 24px;
  filter: brightness(0) saturate(100%) invert(60%) sepia(60%) saturate(500%) hue-rotate(5deg) brightness(95%);
}
@media (min-width: 641px) {
  .gallery__logo { display: none; }
}

/* ---------- form ---------- */
.section--form {
  background: var(--bg-alt);
}
.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form__row--3 {
  grid-template-columns: 2fr 1fr 1fr;
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 0;
  padding: 0;
  margin: 0;
}
.form__field label,
.form__field legend {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.form__field input[type="text"],
.form__field input[type="email"],
.form__field input[type="tel"],
.form__field textarea {
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form__field textarea {
  resize: vertical;
  min-height: 120px;
}
.form__error {
  display: block;
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 4px;
  min-height: 1em;
}
.form__char-count {
  float: right;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}
.form__fineprint {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 12px 0 0;
  text-align: center;
}
.form__success {
  text-align: center;
  padding: 64px 32px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  margin-top: 32px;
  background: #fff;
}
.form__success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 500;
}
.form__success p {
  color: var(--text-muted);
  margin: 0;
}

/* ---------- footer ---------- */
.footer {
  padding: 64px 0 48px;
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--bg);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}
.footer__logo {
  height: 36px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(60%) sepia(60%) saturate(500%) hue-rotate(5deg) brightness(95%);
}
.footer__name {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.footer__meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 4px 0;
}
.footer__bottom {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin: 16px 0 0;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.footer__credit-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.footer__credit-link:hover {
  border-bottom-color: var(--accent);
}

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

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .container { padding: 0 16px; }
  .form__row,
  .form__row--3 { grid-template-columns: 1fr; }
  .nav__cta { padding: 9px 16px; font-size: 11px; }
  .nav__inner { padding: 20px 16px; }
  .hero { padding: 140px 16px 80px; }
  .amenities-grid { grid-template-columns: 1fr; gap: 16px; }

  /* prevent horizontal scroll on mobile */
  html, body { overflow-x: hidden; }

  /* nav: hide middle text, keep logo + cta */
  .nav__name { display: none; }

  /* hero: center everything */
  .hero { text-align: center; }
  .hero__content { text-align: center; }
  .hero__eyebrow-box {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero__eyebrow,
  .neon-soon {
    text-align: center;
    padding: 10px 20px;
  }
  .neon-soon {
    border-left: none;
    border-top: 1.5px solid rgba(255, 255, 255, 0.85);
  }
  .hero__title { margin-left: auto; margin-right: auto; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero .btn--primary {
    display: block;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  /* collection / gallery: 2 x 3 grid */
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* footer: allow wrapping so it does not push horizontal scroll */
  .footer__bottom { white-space: normal; }

  /* uniform 16px side padding across the whole site on mobile */
  .vision__inner { padding-left: 16px; padding-right: 16px; }
  .split__text { padding-right: 16px; padding-left: 16px; }

  /* bigger, tap-to-zoom map on mobile */
  .split__image { min-height: 0; margin-top: 24px; }
  .split__img-map {
    width: 100%;
    cursor: zoom-in;
  }

  /* center all section header content on mobile */
  .eyebrow,
  .section__title,
  .section__lede {
    text-align: center;
  }
  .section__lede {
    margin-left: auto;
    margin-right: auto;
  }
}
