/* ============================================================
   LAKE LOTAWANA ESTATE — STYLES  (light theme)
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Backgrounds */
  --bg:         #ffffff;
  --bg-subtle:  #f8f4ef;
  --bg-form:    #f4f0ea;

  /* Typography */
  --navy-deep:  #0a1628;   /* primary headings */
  --navy:       #1c3050;   /* secondary headings */

  /* Gold — two strengths */
  --gold:       #c9a84c;   /* decorative: lines, buttons, large type */
  --gold-text:  #8c6e18;   /* small readable text on white */
  --gold-light: #d9bc6a;   /* hover tint */
  --gold-dark:  #6a5010;   /* active / darkest */

  /* Body text */
  --text-body:  #2c3a4a;
  --text-muted: #6a7a8a;

  /* Borders & dividers */
  --divider:    rgba(184, 146, 42, 0.20);
  --border:     #e4ddd0;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(10, 22, 40, 0.07);
  --shadow-md:  0 4px 28px rgba(10, 22, 40, 0.11);

  --radius:     3px;
  --max-width:  1100px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text-body);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.7;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: Georgia, serif;
  font-weight: normal;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

a {
  color: var(--gold-text);
  text-decoration: none;
}

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

/* ---- Utility ---- */

.hidden { display: none !important; }


/* ============================================================
   LANDING PAGE
   ============================================================ */

.landing-page {
  background: linear-gradient(160deg, #fdfcf8 0%, #ffffff 55%, #faf7f1 100%);
}

.landing-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
}

.landing-brand {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-text);
  opacity: 0.85;
  margin-bottom: 2rem;
}

.landing-logo {
  width: 200px;
  max-width: 60vw;
  display: block;
  margin: 0 auto 2rem;
}

.landing-footer-logo {
  width: 140px;
  max-width: 50vw;
  display: block;
  margin: 0 auto 1rem;
  opacity: 0.85;
}

.landing-ornament {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.5em;
  margin-bottom: 2rem;
  opacity: 0.55;
}

.landing-headline {
  font-size: clamp(1.75rem, 5vw, 3rem);
  color: var(--navy-deep);
  margin-bottom: 0.7rem;
  letter-spacing: 0.03em;
}

.landing-subheadline {
  font-size: clamp(0.95rem, 2.2vw, 1.35rem);
  color: var(--gold-text);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.landing-property-info {
  margin-bottom: 1.5rem;
}

.landing-address {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.landing-price {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--navy-deep);
  letter-spacing: 0.04em;
}

.landing-divider {
  width: 90px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 1.75rem auto;
}

.landing-exclusivity {
  max-width: 460px;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2rem;
  font-style: italic;
}

.landing-dates {
  font-size: 0.93rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2rem;
}

/* ---- Countdown ---- */

.countdown {
  margin: 0.5rem 0 2.25rem;
}

.countdown-label-text {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.countdown-timer {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: flex-start;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}

.countdown-value {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy-deep);
  line-height: 1;
  letter-spacing: 0.04em;
}

.countdown-lbl {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-top: 0.35rem;
}

.countdown-sep {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold);
  opacity: 0.4;
  margin-top: 0.1rem;
  line-height: 1.15;
}

.countdown-ended {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-style: italic;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--divider);
  display: inline-block;
}

/* Compact countdown (listing header) */

.countdown-compact .countdown-timer {
  display: inline-flex;
  gap: 0.5rem;
  align-items: baseline;
}

.countdown-compact .countdown-unit {
  flex-direction: row;
  align-items: baseline;
  gap: 0.12rem;
  min-width: auto;
}

.countdown-compact .countdown-value {
  font-size: 0.88rem;
  color: var(--navy);
  line-height: 1;
}

.countdown-compact .countdown-lbl {
  font-size: 0.58rem;
  color: var(--text-muted);
  text-transform: lowercase;
  letter-spacing: 0;
  margin-top: 0;
}

.countdown-compact .countdown-sep {
  font-size: 0.7rem;
  margin-top: 0;
}

.countdown-compact .countdown-ended {
  font-size: 0.72rem;
  border: none;
  padding: 0;
  letter-spacing: 0.04em;
}

/* ---- Access Form ---- */

.access-form-container {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
}

.access-form-container form {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2rem 2rem 1.75rem;
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.45rem;
}

.form-group input {
  width: 100%;
  background: var(--bg-form);
  border: 1px solid var(--border);
  color: var(--navy-deep);
  padding: 0.72rem 0.9rem;
  font-size: 0.93rem;
  font-family: Georgia, serif;
  outline: none;
  transition: border-color 0.2s;
  border-radius: var(--radius);
}

.form-group input:focus {
  border-color: var(--gold);
  background: var(--bg);
}

.form-group input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-error {
  display: block;
  font-size: 0.76rem;
  color: #c0392b;
  margin-top: 0.3rem;
  min-height: 1em;
  font-style: italic;
  font-family: Georgia, serif;
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #ffffff;
  border: none;
  padding: 0.82rem 2rem;
  font-size: 0.7rem;
  font-family: Georgia, serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  border-radius: var(--radius);
  margin-top: 0.5rem;
  font-weight: bold;
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-primary:active {
  transform: translateY(1px);
}

/* ---- Landing Footer ---- */

.landing-footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--divider);
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.landing-footer p {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.85;
  letter-spacing: 0.03em;
}

.landing-footer .contact-name {
  color: var(--navy-deep);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.1rem;
}

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

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


/* ============================================================
   LISTING PAGE
   ============================================================ */

.listing-page {
  background: var(--bg);
}

/* ---- Listing Header ---- */

.listing-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.listing-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.listing-header-address {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}

.listing-header-price {
  font-size: 1.3rem;
  color: var(--navy-deep);
  letter-spacing: 0.03em;
}

.listing-header-center {
  text-align: center;
  flex: 1;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.listing-header-center .showing-label {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.2rem;
}

.listing-header-right {
  text-align: right;
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.listing-header-logo {
  width: 150px;
  max-width: 30vw;
  display: block;
  margin-left: auto;
  margin-bottom: 0.35rem;
}

.listing-header-right strong {
  color: var(--navy-deep);
  font-weight: normal;
}

.listing-header-right a {
  color: var(--gold-text);
}

.listing-header-right a:hover {
  color: var(--gold);
}

/* ---- Listing Main ---- */

.listing-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* ---- Hero Video ---- */

.hero-video-section {
  margin-bottom: 3.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  background: var(--navy-deep);
}

.hero-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.5rem 1rem;
  background: linear-gradient(transparent, rgba(6, 15, 30, 0.6));
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ---- Section Headings ---- */

.section-heading-container {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--divider);
}

.section-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.4rem;
}

.section-heading {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  color: var(--navy-deep);
  letter-spacing: 0.04em;
}

/* ---- Property Details ---- */

.property-details-section {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--divider);
}

.property-details-content {
  max-width: 760px;
}

.property-details-content h1,
.property-details-content h2,
.property-details-content h3 {
  color: var(--navy-deep);
  margin: 1.75rem 0 0.7rem;
}

.property-details-content h1 { font-size: 1.7rem; }
.property-details-content h2 { font-size: 1.3rem; color: var(--navy); }
.property-details-content h3 { font-size: 1.05rem; letter-spacing: 0.04em; }

.property-details-content p {
  margin-bottom: 1rem;
  color: var(--text-body);
  line-height: 1.85;
}

.property-details-content ul,
.property-details-content ol {
  margin: 0.75rem 0 1rem 1.5rem;
}

.property-details-content li {
  margin-bottom: 0.35rem;
  color: var(--text-body);
  line-height: 1.75;
}

.property-details-content strong {
  color: var(--navy-deep);
}

.property-details-content em {
  color: var(--text-muted);
}

.property-details-content hr {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 2rem 0;
}

/* ---- Gallery ---- */

.gallery-section {
  margin-bottom: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--divider);
}

.gallery-section:last-child {
  border-bottom: none;
}

.gallery-section-heading {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--navy-deep);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--divider);
}

/* Featured (first) image */

.gallery-featured-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-featured-img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s;
}

.gallery-featured-wrap:hover .gallery-featured-img {
  transform: scale(1.02);
  opacity: 0.95;
}

/* Image grid */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.gallery-grid-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-grid-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.2s;
}

.gallery-grid-wrap:hover .gallery-grid-img {
  transform: scale(1.04);
  opacity: 0.9;
}

/* Video grid */

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.video-wrapper video {
  width: 100%;
  display: block;
  background: var(--navy-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.video-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  letter-spacing: 0.05em;
  text-transform: capitalize;
}

/* ---- Lightbox (stays dark for photo viewing) ---- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 20, 0.97);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-inner {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.85);
  display: block;
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.65;
  line-height: 1;
  transition: opacity 0.2s;
  z-index: 1001;
  padding: 0.2rem 0.4rem;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.7rem 0.9rem;
  opacity: 0.75;
  transition: opacity 0.2s, background 0.2s;
  z-index: 1001;
  line-height: 1;
}

.lightbox-nav:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.14);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-counter {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  z-index: 1001;
  background: rgba(6, 15, 30, 0.5);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

/* ---- Contact Section ---- */

.contact-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--divider);
}

.contact-heading {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--navy-deep);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  text-align: center;
}

.contact-intro {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 2.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  background: var(--bg-form);
  border: 1px solid var(--border);
  color: var(--navy-deep);
  padding: 0.68rem 0.9rem;
  font-size: 0.9rem;
  font-family: Georgia, serif;
  outline: none;
  transition: border-color 0.2s;
  border-radius: var(--radius);
}

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

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  border-color: var(--gold);
  background: var(--bg);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.contact-form .btn-primary {
  width: auto;
  padding: 0.72rem 2.5rem;
  margin-top: 0.25rem;
}

.direct-contact {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius);
}

.direct-contact--centered {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.direct-contact--centered .contact-item {
  justify-content: center;
}

.agents-row {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

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

.agent-name {
  font-size: 1.2rem;
  color: var(--navy-deep);
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.team-name {
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-body);
}

.contact-item a {
  color: var(--text-body);
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--gold-text);
}

.contact-icon {
  font-size: 0.85rem;
  opacity: 0.55;
  flex-shrink: 0;
  width: 1.1rem;
  text-align: center;
}

/* ---- Listing Footer ---- */

.listing-footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding: 1.4rem 2rem;
  text-align: center;
  margin-top: 4rem;
}

.listing-footer p {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 860px) {
  .listing-header {
    padding: 0.5rem 1rem;
  }

  .listing-header-inner {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .listing-header-center {
    display: none;
  }

  .listing-header-right {
    text-align: right;
    font-size: 0.65rem;
  }

  .header-email {
    display: none;
  }

  .listing-header-address {
    font-size: 0.6rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .listing-main {
    padding: 2rem 1.25rem 3.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .listing-footer {
    padding: 1.25rem;
  }

  .hero-video-section {
    border-radius: 0;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
  }
}

@media (max-width: 480px) {
  .landing-main {
    padding: 3rem 1.25rem;
  }

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

  .countdown-timer {
    gap: 0.75rem;
  }

  .countdown-unit {
    min-width: 46px;
  }

  .access-form-container form {
    padding: 1.5rem 1.25rem;
  }

  .lightbox-prev { left: 0.35rem; }
  .lightbox-next { right: 0.35rem; }
}
