/* ============================================================
   Shannon & Sean — shared stylesheet
   Matches Weebly design: mint/sage header, Bebas title, Lato body
   ============================================================ */

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

:root {
  --mint:   rgb(219, 232, 223);
  --title:  rgb(98, 98, 98);
  --nav:    rgb(98, 98, 98);
  --nav-hover: #4a4a4a;
  --white:  #fff;
  --body-bg: #fff;
  --gap: 6px;
}

body {
  font-family: 'Lato', Arial, sans-serif;
  background: var(--body-bg);
  color: var(--title);
}

/* ── HEADER ── */
#site-header {
  background: var(--mint);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

#site-title {
  font-family: 'Bebas Neue', 'Bebas', Impact, sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--title);
  text-decoration: none;
  letter-spacing: 0.04em;
}

#site-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

#site-nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nav);
  text-decoration: none;
  transition: color 0.2s;
}

#site-nav a:hover,
#site-nav a.active {
  color: #333;
}

/* mobile nav toggle */
#nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
#nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--title);
  border-radius: 2px;
}

@media (max-width: 640px) {
  #site-header { flex-wrap: wrap; padding: 16px 20px; }
  #nav-toggle { display: flex; }
  #site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    padding: 16px 0 8px;
    align-items: flex-start;
  }
  #site-nav.open { display: flex; }
}

/* ── HOMEPAGE HERO ── */
.hero-photo {
  width: 100%;
  height: calc(100vh - 80px);
  object-fit: cover;
  display: block;
}

/* ── PHOTO GRID ── */
.page-content {
  max-width: 1100px;
  margin: 40px auto 60px;
  padding: 0 20px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }

.photo-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.2s;
}
.photo-grid img:hover { opacity: 0.88; }

/* ── LIGHTBOX ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 8px 48px rgba(0,0,0,0.7);
}
#lightbox-close {
  position: fixed;
  top: 20px; right: 28px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.8;
  line-height: 1;
}
#lightbox-close:hover { opacity: 1; }
#lightbox-prev, #lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 48px;
  cursor: pointer;
  padding: 12px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
#lightbox-prev:hover, #lightbox-next:hover { opacity: 1; }
#lightbox-prev { left: 16px; }
#lightbox-next { right: 16px; }

/* ── VISION BOARD WRAPPER ── */
#vb-frame {
  display: block;
  width: 100%;
  border: none;
  min-height: calc(100vh - 80px);
}
