@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --cream: #FAF7F2;
  --warm-white: #FFFDF9;
  --tan: #E8DFD0;
  --brown: #8B6F47;
  --dark-brown: #4A3728;
  --text: #2C2118;
  --muted: #7A6A5A;
  --accent: #C4903D;
  --border: #D9CFC2;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  min-height: 100vh;
}

/* ── NAV ── */
nav {
  background: var(--dark-brown);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  color: #F5EFE4;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: #C9BBA8;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.1);
  color: #FAF0E0;
}

/* ── HERO ── */
.hero {
  background: var(--dark-brown);
  color: #F5EFE4;
  padding: 3.5rem 2rem 3rem;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero-sub {
  color: #C9BBA8;
  font-size: 1rem;
  font-weight: 300;
}

/* ── MAIN CONTENT ── */
.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* ── SECTION HEADINGS ── */
.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── OVERVIEW CARD ── */
.overview-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 3rem;
}

.overview-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--dark-brown);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.detail-item {
  background: var(--cream);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
}

.detail-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.detail-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-brown);
}

/* ── PHOTO GALLERY ── */
.gallery-section {
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.gallery-placeholder {
  background: var(--tan);
  border-radius: 8px;
  border: 2px dashed var(--border);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  gap: 0.5rem;
}

.gallery-placeholder svg {
  opacity: 0.4;
  width: 40px;
  height: 40px;
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 18, 10, 0.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open { display: flex; }

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

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

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

/* ── VIDEO SECTION ── */
.video-section {
  margin-bottom: 3rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #1a1a1a;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── NOTES ── */
.notes-section {
  margin-bottom: 3rem;
}

.notes-box {
  background: var(--warm-white);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  white-space: pre-line;
}

/* ── DOCUMENTS ── */
.docs-section {
  margin-bottom: 3rem;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.doc-item {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s;
}

.doc-item:hover { background: var(--tan); }

.doc-icon {
  width: 36px;
  height: 36px;
  background: var(--tan);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brown);
}

.doc-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.doc-type {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── HOME INDEX ── */
.home-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.home-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}

.home-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.home-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--tan);
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.home-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.home-card-number {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.home-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--dark-brown);
  margin-bottom: 0.5rem;
}

.home-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--brown);
  font-weight: 700;
  margin-top: 0.75rem;
}

/* ── FOOTER ── */
footer {
  background: var(--dark-brown);
  color: #9A8A7A;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  margin-top: 4rem;
}

footer strong { color: #C9BBA8; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  nav { padding: 0 1rem; }
  .nav-brand { font-size: 0.95rem; }
  .nav-links a { font-size: 0.85rem; padding: 0.4rem 0.6rem; }
  .page-container { padding: 2rem 1.25rem 4rem; }
  .hero { padding: 2.5rem 1.25rem 2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
