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

:root {
  --sand:        #f5f0e8;
  --sand-dark:   #ede5d4;
  --green:       #4a7c59;
  --green-dark:  #3a6146;
  --forest:      #2d5c3e;
  --forest-dark: #1f4430;
  --ink:         #1a1a1a;
  --ink-muted:   #555;
  --white:       #ffffff;
  --radius:      4px;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--sand);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

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

/* ============================================================
   Site Header
   ============================================================ */
.site-header {
  background-color: var(--forest);
  color: var(--white);
  text-align: center;
  padding: 7rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(192, 102, 74, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

.header-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.header-address {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 1.5rem;
}

.site-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.site-title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}

.site-tagline {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.85;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-scroll {
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.8;
}

.cta-scroll:hover {
  opacity: 1;
  border-color: var(--white);
}

/* ============================================================
   Property Section
   ============================================================ */
.property {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

/* Hero image */
.property-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--sand-dark);
  margin-bottom: 3rem;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.property-hero:hover .hero-img {
  transform: scale(1.02);
}

.property-hero-label {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}

.property-number {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
  background-color: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

/* Placeholder hero (no images yet) */
.hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d4c9b8 0%, #c8bfad 100%);
  color: var(--ink-muted);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

/* Property header row */
.property-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.property-name {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
}

.property-name em {
  font-style: italic;
  color: var(--forest);
}

/* Book button */
.btn-book {
  display: inline-block;
  background-color: var(--green);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background-color 0.2s, transform 0.15s;
  flex-shrink: 0;
  align-self: center;
}

.btn-book:hover {
  background-color: var(--green-dark);
  transform: translateY(-1px);
}

.btn-book--large {
  font-size: 0.9rem;
  padding: 1rem 2.5rem;
}

/* Description */
.property-description {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ink-muted);
  max-width: 680px;
  line-height: 1.8;
  margin-bottom: 3rem;
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery {
  margin-bottom: 3.5rem;
}

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

.gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.gallery-img:hover {
  opacity: 0.9;
  transform: scale(1.01);
}

.gallery--placeholder {
  background-color: var(--sand-dark);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
}

.gallery-placeholder-text {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-muted);
  font-size: 1.1rem;
}

/* ============================================================
   Amenities
   ============================================================ */
.amenities {
  margin-bottom: 3.5rem;
}

.amenities-title {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.amenities-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.amenity {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--forest);
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  background-color: transparent;
}

.amenity-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  stroke: var(--forest);
  stroke-width: 1.75;
}

/* ============================================================
   Book Section
   ============================================================ */
.book-section {
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--forest);
  border-radius: var(--radius);
  color: var(--white);
}

.book-tagline {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

/* ============================================================
   Divider
   ============================================================ */
.divider {
  max-width: 1100px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--sand-dark), transparent);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background-color: var(--ink);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 3rem 2rem;
}

.footer-address {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.8);
}

.footer-note {
  font-size: 0.78rem;
}

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

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

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1.5rem;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 700px) {
  .site-header {
    padding: 5rem 1.5rem 4rem;
  }

  .property {
    padding: 3rem 1.25rem;
  }

  .property-hero {
    aspect-ratio: 4 / 3;
  }

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

  .property-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-book {
    align-self: flex-start;
  }

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

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

}
