@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');
@import 'reset.css';
@import 'variables.css';
@import 'utilities.css';

/* ─────────────────────────────────────────────
   BASE
───────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-white);
}

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.logo img {
  height: 66px;
  width: auto;
}
.logo-text {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-dark);
  line-height: 1.3;
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-dark);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.nav-phone:hover { color: var(--color-gold); }
@media (max-width: 599px) {
  .nav-phone { font-size: 0.7rem; }
  .nav-phone svg { width: 11px; height: 11px; }
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 16px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--color-dark);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.25px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.25px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: var(--color-white);
  padding: var(--space-lg) var(--container-pad);
  z-index: 99;
  flex-direction: column;
  gap: var(--space-sm);
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-dark);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--color-gold); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.hero-content {
  padding: var(--space-2xl) var(--container-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Large decorative "T" watermark */
.hero-content::before {
  content: 'W';
  position: absolute;
  right: -0.1em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: min(60vw, 420px);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1;
  pointer-events: none;
  z-index: -1;
  user-select: none;
}

.hero-eyebrow {
  margin-bottom: var(--space-md);
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, var(--text-5xl));
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: var(--space-md);
  max-width: 14ch;
}

.hero-body {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-mid);
  line-height: 1.8;
  max-width: 46ch;
  margin-bottom: var(--space-lg);
}

/* Hero image column */
.hero-image-wrap {
  position: relative;
  min-height: 320px;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Book-a-tour card */
.hero-card {
  background: var(--color-card-bg);
  padding: var(--space-lg) var(--space-md);
  margin: 0 var(--container-pad) calc(-1 * var(--space-lg));
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-card);
}

.hero-card-headline {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
  margin-bottom: var(--space-md);
}

.hero-card-sub {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-label);
  margin-bottom: var(--space-sm);
}

.bedroom-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.bedroom-options label {
  display: flex;
  align-items: center;
  gap: 0.35em;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  cursor: pointer;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.5em 0.85em;
  transition: border-color var(--transition), background var(--transition);
  user-select: none;
}
.bedroom-options input[type="checkbox"] { display: none; }
.bedroom-options input[type="checkbox"]:checked + span,
.bedroom-options label:has(input:checked) {
  border-color: var(--color-dark);
  background: var(--color-dark);
  color: var(--color-white);
}
.bedroom-options label:hover { border-color: var(--color-dark); }

.hero-card-footer {
  display: flex;
  justify-content: flex-end;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - var(--header-height));
  }

  .hero-content {
    padding: var(--space-3xl) var(--space-xl);
    max-width: 640px;
    margin-left: auto;
  }

  .hero-image-wrap {
    min-height: 100%;
    height: 100%;
  }

  .hero-card {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    width: min(420px, 90%);
    margin: 0;
  }
}

/* ─────────────────────────────────────────────
   ABOUT / RESIDENCES
───────────────────────────────────────────── */
.about {
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

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

.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 10px;
}

.about-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.about-gallery img:first-child {
  grid-row: 1 / 3;
}

.about-content {
  padding: 0 0 var(--space-sm);
}

.about-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, var(--text-3xl));
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-dark);
  margin-bottom: var(--space-md);
  max-width: 20ch;
}

.about-body {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-mid);
  line-height: 1.85;
  margin-bottom: var(--space-lg);
  max-width: 52ch;
}

@media (min-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr 1fr;
  }
  .about-gallery {
    grid-template-rows: 280px 280px;
  }
}

/* ─────────────────────────────────────────────
   GALLERY STRIP (Destination Slider)
───────────────────────────────────────────── */
.gallery-strip {
  position: relative;
  background: var(--color-dark);
}

.gallery-track-wrap {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-track img {
  flex: 0 0 calc(100vw / 1.2);
  max-width: none;
  width: calc(100vw / 1.2);
  height: 320px;
  object-fit: cover;
  scroll-snap-align: start;
}

.gallery-strip-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--container-pad);
  background: var(--color-dark);
}

.gallery-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  flex: 1;
  text-align: center;
}

.gallery-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--color-white);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}
.gallery-btn:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.1);
}

@media (min-width: 900px) {
  .gallery-track img {
    flex: 0 0 calc(100vw / 4);
    width: calc(100vw / 4);
    height: 400px;
  }
}

/* ─────────────────────────────────────────────
   FLOOR PLANS
───────────────────────────────────────────── */
.floor-plans {
  background: var(--color-cream);
  padding: var(--space-2xl) 0;
}

.floor-plans-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.floor-plans-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, var(--text-3xl));
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

.floor-plans-desc {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-mid);
  line-height: 1.8;
  max-width: 60ch;
  margin-inline: auto;
}

/* Plan cards */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

@media (min-width: 640px)  { .plans-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px)  { .plans-grid { grid-template-columns: repeat(3, 1fr); } }

.plan-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-slow);
}
.plan-card:hover { box-shadow: var(--shadow-md); }

.plan-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.plan-card-body {
  padding: var(--space-md);
}

.plan-card-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: var(--space-xs);
}

.plan-card-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.plan-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: var(--text-xs);
  color: var(--color-text-mid);
  font-weight: 500;
}

.plan-meta-item img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.plan-price {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.plan-avail {
  font-size: var(--text-xs);
  color: var(--color-label);
}

/* ─────────────────────────────────────────────
   FEE TABLE
───────────────────────────────────────────── */
.fee-table-wrap {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.fee-disclaimer {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-mid);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  max-width: 70ch;
}

.fee-table {
  width: 100%;
  font-size: var(--text-xs);
}

.fee-section-header {
  background: var(--color-dark);
  color: var(--color-white);
}
.fee-section-header td {
  padding: 0.65em 1em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.65rem;
  font-family: var(--font-body);
}

.fee-table tbody tr:not(.fee-section-header) {
  border-bottom: 1px solid var(--color-border);
}
.fee-table tbody tr:not(.fee-section-header):last-child { border-bottom: none; }

.fee-table td {
  padding: 0.75em 1em;
  vertical-align: middle;
  color: var(--color-text);
  line-height: 1.5;
}

.fee-table td:nth-child(2),
.fee-table td:nth-child(3) {
  white-space: nowrap;
  color: var(--color-text-mid);
}

.fee-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25em 0.6em;
  border-radius: 2px;
}
.fee-badge-req {
  background: rgba(42,31,22,0.08);
  color: var(--color-dark);
}
.fee-badge-opt {
  background: rgba(154,133,114,0.12);
  color: var(--color-label);
}

.fee-table-footer {
  text-align: center;
  padding: var(--space-xl) 0 0;
}

@media (max-width: 639px) {
  .fee-table thead { display: none; }
  .fee-table, .fee-table tbody, .fee-table tr, .fee-table td {
    display: block;
    width: 100%;
  }
  .fee-table tr:not(.fee-section-header) {
    padding: 0.75em 1em;
    border-bottom: 1px solid var(--color-border);
  }
  .fee-table td { padding: 0.2em 0; }
  .fee-table td::before {
    content: attr(data-label) ': ';
    font-weight: 600;
    color: var(--color-text-mid);
  }
  .fee-section-header td::before { content: none; }
}

/* ─────────────────────────────────────────────
   TOUR CTA
───────────────────────────────────────────── */
.tour-cta {
  background: var(--color-dark-mid);
  padding: var(--space-xl) 0;
}

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

.tour-cta-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.tour-cta-content { text-align: center; }

.tour-cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, var(--text-3xl));
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: var(--space-md);
  max-width: 22ch;
  margin-inline: auto;
}

.tour-cta-body {
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  max-width: 48ch;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .tour-cta-inner {
    grid-template-columns: 280px 1fr;
  }
  .tour-cta-img { max-height: 340px; }
  .tour-cta-content { text-align: left; }
  .tour-cta-heading,
  .tour-cta-body { margin-inline: 0; }
}

/* ─────────────────────────────────────────────
   NEIGHBORHOOD / MAP
───────────────────────────────────────────── */
.neighborhood {
  padding: var(--space-2xl) 0;
}

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

.neighborhood-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, var(--text-3xl));
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: var(--space-md);
  max-width: 20ch;
}

.neighborhood-body {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-mid);
  line-height: 1.85;
  margin-bottom: var(--space-lg);
  max-width: 52ch;
}

.neighborhood-map {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.neighborhood-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (min-width: 900px) {
  .neighborhood-inner {
    grid-template-columns: 1fr 1fr;
  }
  .neighborhood-map { height: 440px; }
}

/* ─────────────────────────────────────────────
   GALLERY PEEK (Take a Peek Inside)
───────────────────────────────────────────── */
.gallery-peek {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.peek-images {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 480px;
}

.peek-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.peek-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,20,14,0.62);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--container-pad);
}

.peek-eyebrow {
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-md);
}

.peek-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, var(--text-3xl));
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  max-width: 22ch;
}

.peek-body {
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 52ch;
  margin-bottom: var(--space-lg);
}

.peek-nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.peek-nav-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: border-color var(--transition), background var(--transition);
}
.peek-nav-btn:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.12);
}

@media (min-width: 900px) {
  .gallery-peek,
  .peek-images { min-height: 580px; height: 580px; }
}

/* ─────────────────────────────────────────────
   FINAL CTA
───────────────────────────────────────────── */
.final-cta {
  background: var(--color-dark);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.final-cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, var(--text-3xl));
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.final-cta-body {
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer {
  background: var(--color-dark);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}

@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: var(--space-lg); }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-md);
}
.footer-logo img { height: 38px; width: auto; filter: brightness(0) invert(1); }
.footer-logo-text {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 1.4;
}

.footer-address {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
  font-style: normal;
  margin-bottom: var(--space-md);
}

.footer-hours {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
}

.footer-col-heading {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer-contact a,
.footer-hours-text {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.4em;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--color-white); }

.footer-nav-list a {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.55em;
  transition: color var(--transition);
}
.footer-nav-list a:hover { color: var(--color-white); }

.footer-book-text {
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: var(--space-md) 0;
}

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

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom-logos {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.footer-bottom-logos img { height: 28px; width: auto; opacity: 0.6; }
.footer-bottom-logos img:hover { opacity: 1; }

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

.social-link {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  transition: border-color var(--transition), color var(--transition);
}
.social-link:hover {
  border-color: var(--color-white);
  color: var(--color-white);
}

.footer-copy {
  font-size: 0.625rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}
