/* ============================================================
   Emerald 87 — Components & Layout
   ============================================================ */

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--space-xl);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: var(--border-gold-faint);
  transition: padding var(--transition-base);
}
.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav__logo-img {
  height: 80px;
  width: auto;
  display: block;
  /* White logo on dark nav background */
  /* filter: brightness(0) invert(1); */
  transition: opacity var(--transition-base);
}
.nav__logo:hover .nav__logo-img { opacity: .85; }
.nav__links {
  display: flex;
  gap: 36px;
}
.nav__links a {
  font-size: var(--text-md);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #000;
  transition: color var(--transition-base);
}
.nav__links a:hover { color: var(--color-gold); }
.nav__cta {
  padding: 10px 24px;
  border: var(--border-gold);
  color: var(--color-gold);
  font-size: var(--text-md);
  letter-spacing: .15em;
  text-transform: uppercase;
  background: transparent;
  transition: all var(--transition-base);
}
.nav__cta:hover {
  background: var(--color-gold);
  color: var(--color-forest-deep);
}

/* ── POPUP ── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,43,27,.88);
  z-index: var(--z-popup);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .4s ease;
}
.popup__box {
  background: var(--color-forest);
  border: var(--border-gold);
  max-width: 480px;
  width: 90%;
  padding: 48px 40px;
  position: relative;
  text-align: center;
}
.popup__box::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201,168,76,.25);
  pointer-events: none;
}
.popup__close {
  position: absolute;
  top: 16px; right: 20px;
  color: rgba(255,255,255,.5);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-base);
  background: none;
  border: none;
}
.popup__close:hover { color: var(--color-gold); }
.popup__eyebrow {
  font-size: var(--text-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}
.popup__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}
.popup__subtitle {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gold-light);
  font-size: var(--text-md);
  margin-bottom: 28px;
}
.popup__logo {
  height: 52px;
  width: auto;
  margin: 0 auto 16px;
  /* Invert to white since popup bg is dark green */
  filter: brightness(0) invert(1);
}
.popup__skip {
  margin-top: var(--space-sm);
  font-size: 11px;
  color: rgba(255,255,255,.35);
  cursor: pointer;
  text-decoration: underline;
  letter-spacing: .05em;
  transition: color var(--transition-base);
}
.popup__skip:hover { color: rgba(255,255,255,.6); }

/* ── FORM SHARED ── */
.form__input,
.form__select {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--color-white);
  font-size: 13px;
  transition: border var(--transition-base);
}
.form__input::placeholder { color: rgba(255,255,255,.4); }
.form__input:focus,
.form__select:focus { border-color: var(--color-gold); }
.form__select { color: rgba(255,255,255,.5); }
.form__select option { background: var(--color-forest); color: var(--color-white); }
.form__btn {
  width: 100%;
  padding: 14px;
  background: var(--color-gold);
  color: var(--color-forest-deep);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: background var(--transition-base);
  margin-top: 4px;
}
.form__btn:hover { background: var(--color-gold-light); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--color-forest-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/banner.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(10,20,11,.72) 0%,
      rgba(10,20,11,.55) 35%,
      rgba(10,20,11,.65) 65%,
      rgba(10,20,11,.88) 100%),
    linear-gradient(105deg,
      rgba(201,168,76,.12) 0%,
      transparent 50%,
      rgba(10,20,11,.3) 100%);
}
.hero__lines {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image: repeating-linear-gradient(
    90deg,
    var(--color-gold) 0, var(--color-gold) 1px,
    transparent 0, transparent 120px
  );
}
.hero__content {
  position: relative;
  text-align: center;
  padding: 0 20px;
  max-width: 860px;
}
.hero__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201,168,76,.4);
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.05;
  margin-bottom: var(--space-sm);
  letter-spacing: .02em;
}
.hero__title em {
  font-style: italic;
  color: var(--color-gold-light);
}
.hero__subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: rgba(255,255,255,.55);
  margin-bottom: 48px;
  letter-spacing: .04em;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.3);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── OVERVIEW ── */
.overview {
  background: var(--color-white);
  padding: var(--section-padding);
}
.overview__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.overview__text p {
  font-size: var(--text-md);
  line-height: 1.8;
  color: #4a5a4b;
  margin-top: var(--space-md);
  font-weight: 300;
}
.overview__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(201,168,76,.2);
  border: var(--border-gold-faint);
}
.stat-card {
  background: var(--color-white);
  padding: 32px 28px;
  text-align: center;
  transition: background var(--transition-base);
}
.stat-card:hover { background: var(--color-cream); }
.stat-card__number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-xs);
}
.stat-card__label {
  font-size: var(--text-xs);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── LIFESTYLE ── */
.lifestyle {
  background: var(--color-cream);
  padding: var(--space-2xl) var(--space-xl) var(--space-lg);
}
.lifestyle__inner { max-width: var(--max-width); margin: 0 auto; }
.lifestyle__header { margin-bottom: var(--space-xl); }

/* ── CLUBHOUSE ── */
.clubhouse {
  background: var(--color-forest);
  padding: var(--space-xl);
}

/* ── FLOOR PLAN ── */
.floorplan {
  background: var(--color-forest);
  padding: var(--section-padding);
}
.floorplan__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.floorplan__text p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,.55);
  margin-top: var(--space-sm);
  font-weight: 300;
}
.room-list { margin-top: 36px; }
.room-list__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201,168,76,.15);
  font-size: 13px;
  letter-spacing: .04em;
}
.room-list__name { color: rgba(255,255,255,.65); }
.room-list__dim {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: var(--text-md);
}
.floorplan__img {
  border: 1px solid rgba(201,168,76,.3);
  padding: 8px;
}
.floorplan__img img { width: 100%; display: block; }

/* ── AMENITIES ── */
.amenities {
  background: var(--color-cream-warm);
  padding: var(--section-padding);
}
.amenities__inner { max-width: var(--max-width); margin: 0 auto; }
.amenities__header { margin-bottom: 56px; }
.amenity-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}
.pill {
  padding: 12px 24px;
  border: 1px solid rgba(44,62,45,.2);
  font-size: var(--text-sm);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-forest);
  background: var(--color-white);
  transition: all var(--transition-base);
}
.pill:hover {
  background: var(--color-forest);
  color: var(--color-gold);
  border-color: var(--color-forest);
}

/* ── LOCATION ── */
.location {
  background: var(--color-white);
  padding: var(--section-padding);
}
.location__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.location__map {
  border: var(--border-gold-mid);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.location__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.location__list { margin-top: 36px; }
.location__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(44,62,45,.1);
}
.location__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  margin-top: 6px;
  flex-shrink: 0;
}
.location__item-text {
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-charcoal);
  font-weight: 300;
}
.location__item-text strong {
  font-weight: 500;
  color: var(--color-forest);
}

/* ── CONTACT ── */
.contact {
  background: var(--color-forest-dark);
  padding: var(--section-padding);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201,168,76,.06) 0%, transparent 70%);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}
.contact__title em {
  font-style: italic;
  color: var(--color-gold-light);
}
.contact__sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,.4);
  margin-bottom: 48px;
  letter-spacing: .04em;
  line-height: 1.7;
}
.contact__form { display: flex; flex-direction: column; gap: 12px; }

/* ── FOOTER ── */
.footer {
  background: var(--color-forest-dark);
  padding: 48px var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: var(--border-gold-faint);
  flex-wrap: wrap;
  gap: 20px;
}
.footer__logo {
  display: flex;
  align-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: #fff;
  letter-spacing: .08em;
}
.footer__logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.footer__logo span { color: var(--color-gold); }
.footer__disclaimer {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.25);
  max-width: 600px;
  line-height: 1.6;
  letter-spacing: .02em;
}
.sticky-wht-wrp {
  position:fixed;
  bottom:0;
  z-index:99999!important;
  width:4%;
  left:15px
}
.dlab-title-bx {
  background-color:rgb(114 45 21)
}
.sticky-wht-wrp a {
  display:block;
  margin-bottom:15px;
  position:relative
}
.sticky-wht-wrp a img {
  width:100%;
  background-color:#fff;
  border-radius:50%;
  padding:1px
}
.sticky-wht-wrp a span {
  position:absolute;
  width:127px;
  background-color:#359935;
  color:#fff;
  font-weight:bold;
  padding:5px;
  text-align:center;
  border-radius:20px;
  top:10px;
  left:60px;
  border:1px solid #fff;
  display:none
}
.sticky-wht-wrp a:hover span {
  display:block
}
.circle {
  height:100px;
  width:100px;
  border-radius:50%;
  background-color:#333;
  display:grid;
  place-content:center;
  animation:grow 1s infinite;
  margin:0 auto;
  z-index:9;
  position:relative
}
.circle span {
  color:#eee;
  font-size:50px
}
span.material-icons i {
  position:relative!important;
  margin:10px!important
}
@keyframes grow {
  from {
    box-shadow:0px 0px 1em #000
  }
  to {
    box-shadow:0px 0px 3em #000
  }
}
.ab-image {
  animation:bounce-y 10s infinite linear
}
@keyframes bounce-y {
  0% {
    transform:translateY(0)
  }
  50% {
    transform:translateY(-30px)
  }
  100% {
    transform:translateY(0)
  }
}