/* ============================================================
   Patrick Lower Photography — Global Stylesheet
   Clean & Minimal / Light aesthetic
   Fonts: Cormorant Garamond (display) + Jost (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --cream:    #f9f7f4;
  --white:    #ffffff;
  --ink:      #1a1a18;
  --ink-mid:  #4a4a46;
  --ink-light:#9a9a94;
  --rule:     #e2e0da;
  --accent:   #c8a96e;          /* warm gold — subtle, not loud */
  --nav-h:    72px;
}

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

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

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ── NAVIGATION ─────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(249,247,244,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.nav-brand span {
  font-weight: 300;
  font-style: italic;
  color: var(--ink-mid);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: all 0.3s;
}

/* ── PAGE WRAPPER ────────────────────────────────────── */
.page-body { padding-top: var(--nav-h); }

/* ── SCROLL REVEAL ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── SECTION LABEL ───────────────────────────────────── */
.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

/* ── FOOTER ──────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 3.5rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--ink-mid);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color 0.2s;
}

.footer-social a:hover { color: var(--ink); }

.footer-social svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--ink-light);
  letter-spacing: 0.05em;
}

/* ── LIGHTBOX ────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(249,247,244,0.97);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.12);
}

.lightbox-close {
  position: absolute;
  top: 2rem; right: 2.5rem;
  font-size: 1.8rem;
  color: var(--ink-mid);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--ink); }

.lightbox-caption {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-mid);
  letter-spacing: 0.04em;
}

.lb-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 2rem;
  color: var(--ink-light);
  cursor: pointer;
  transition: color 0.2s;
  user-select: none;
  padding: 1rem;
}
.lb-nav:hover { color: var(--ink); }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    padding: 1rem 0;
    transform: translateY(-110%);
    transition: transform 0.35s ease;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    pointer-events: all;
  }

  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 0.9rem 0; font-size: 0.82rem; }

  .site-footer { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
