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

:root {
  --gold: #C9A96E;
  --gold-light: #E8D5B0;
  --dark: #0A0A0A;
  --dark-2: #111111;
  --dark-3: #1A1A1A;
  --dark-4: #242424;
  --muted: #666;
  --text: #E8E2D9;
  --text-dim: #A09890;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Josefin Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.04em;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid rgba(201,169,110,0.12);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-decoration: none;
  line-height: 1.2;
}
.nav-logo span {
  display: block;
  font-size: 0.6rem;
  font-family: var(--sans);
  font-weight: 200;
  letter-spacing: 0.25em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); border-bottom-color: rgba(201,169,110,0.5); }

.nav-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; background: none; border: none; padding: 0; }
.nav-toggle span { width: 24px; height: 1px; background: var(--text-dim); display: block; }

/* PAGE HEADER (for inner pages) */
.page-header {
  padding: 10rem 3rem 5rem;
  background: var(--dark-2);
  border-bottom: 1px solid rgba(201,169,110,0.08);
}
.page-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.page-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.page-title em { font-style: italic; color: var(--gold-light); }
.divider { width: 60px; height: 1px; background: rgba(201,169,110,0.4); margin: 1.5rem 0; }
.page-desc {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.8;
}

/* SECTION SHARED */
section { padding: 5rem 3rem; }
.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--gold-light); }

/* GALLERY GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 3rem;
}
.gallery-grid.two-col { grid-template-columns: repeat(2, 1fr); }

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark-3);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.photo-slot {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--dark-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: transform 0.5s ease;
  position: relative;
}
.gallery-item.tall .photo-slot { aspect-ratio: 3/4; }
.gallery-item.wide .photo-slot { aspect-ratio: 16/7; }

.photo-slot-icon {
  width: 36px; height: 36px; opacity: 0.18;
}
.photo-slot-icon svg { width: 100%; height: 100%; stroke: var(--gold); fill: none; stroke-width: 1; }
.photo-slot-label {
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 0 1rem;
  line-height: 1.8;
}

/* Real photo: replace .photo-slot contents with:
   <img src="your-photo.jpg" alt="description" style="width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.5s;">
   and remove the icon/label divs */

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .photo-slot { transform: scale(1.04); }
.gallery-item:hover img { transform: scale(1.04); }

.gallery-caption { font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--gold-light); line-height: 1.3; }
.gallery-caption small { display: block; font-family: var(--sans); font-size: 0.55rem; letter-spacing: 0.15em; color: var(--text-dim); font-style: normal; margin-top: 0.25rem; }

/* FOOTER */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(201,169,110,0.1);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer p { font-size: 0.6rem; letter-spacing: 0.15em; color: var(--muted); }
.footer-logo { font-family: var(--serif); font-size: 1rem; color: var(--gold); letter-spacing: 0.1em; }

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* MOBILE */
@media (max-width: 768px) {
  nav { padding: 1.25rem 1.5rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--dark-2);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; letter-spacing: 0.15em; }
  .nav-toggle { display: flex; z-index: 101; }
  .page-header { padding: 8rem 1.5rem 3rem; }
  section { padding: 4rem 1.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid.two-col { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.wide .photo-slot { aspect-ratio: 4/3; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
}
