/* ==========================================================================
   Cedar Point Association — Blizzard of February 2013 photo archive
   Recovered from the Wayback Machine snapshot of cedarpointassociation.com
   ========================================================================== */

:root {
  --ink:        #0d1a29;
  --ink-soft:   #1b2c40;
  --slate:      #3d5a75;
  --ice:        #9dc0d8;
  --ice-pale:   #dce9f2;
  --paper:      #f5f2ec;
  --paper-warm: #ece6db;
  --brass:      #c08a3e;
  --brass-lite: #dfae6a;
  --line:       rgba(13, 26, 41, 0.12);

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display-serif {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* --- Navbar --------------------------------------------------------------- */

.navbar-cp {
  background: rgba(13, 26, 41, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(157, 192, 216, 0.18);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.navbar-cp .navbar-brand {
  font-family: var(--serif);
  color: var(--paper);
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.navbar-cp .navbar-brand span {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ice);
  font-weight: 500;
  margin-top: 2px;
}

.navbar-cp .nav-link {
  color: var(--ice-pale);
  font-size: 0.83rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  transition: color 0.2s ease;
}

.navbar-cp .nav-link:hover,
.navbar-cp .nav-link:focus { color: var(--brass-lite); }

.navbar-cp .navbar-toggler {
  border-color: rgba(157, 192, 216, 0.4);
  padding: 0.3rem 0.55rem;
}

.navbar-cp .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(157, 192, 216, 0.25); }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #16283c url('img/IMG_2392.webp') center 42% / cover no-repeat;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.04) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.10) 45%, rgba(0, 0, 0, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 2.75rem 2rem 3rem;
  margin: 0 1rem;
  background: rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 3px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1.1rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.04;
  color: #fff;
  margin-bottom: 1.1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-title em {
  font-style: italic;
  color: var(--brass-lite);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: #fff;
  font-weight: 400;
  max-width: 44ch;
  margin: 0 auto 0.65rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-tagline {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice-pale);
  margin-bottom: 2rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}

.btn-brass {
  background: var(--brass);
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 0.85rem 2.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.btn-brass:hover,
.btn-brass:focus {
  background: var(--brass-lite);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Section furniture ---------------------------------------------------- */

.section { padding: 6rem 0; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin-bottom: 1.4rem;
}

.lede {
  font-size: 1.08rem;
  color: var(--slate);
  max-width: 62ch;
}

.rule {
  width: 56px;
  height: 2px;
  background: var(--brass);
  margin-bottom: 1.6rem;
}

/* --- Intro / context ------------------------------------------------------ */

.intro { background: var(--paper); }

.fact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  padding: 1.6rem 1.5rem;
  height: 100%;
}

.fact-card i {
  font-size: 1.3rem;
  color: var(--slate);
  display: block;
  margin-bottom: 0.7rem;
}

.fact-card h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.fact-card p {
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0;
}

/* --- Gallery -------------------------------------------------------------- */

.gallery-section {
  background: var(--ink);
  color: var(--paper);
}

.gallery-section .section-title { color: #fff; }
.gallery-section .lede { color: var(--ice); }
.gallery-section .section-label { color: var(--brass-lite); }

.masonry {
  column-count: 3;
  column-gap: 1.15rem;
  margin-top: 3rem;
}

@media (max-width: 991px) { .masonry { column-count: 2; } }
@media (max-width: 575px) { .masonry { column-count: 1; } }

.shot {
  break-inside: avoid;
  margin-bottom: 1.15rem;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--ink-soft);
  overflow: hidden;
  cursor: zoom-in;
  border-radius: 2px;
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.shot:hover img,
.shot:focus-visible img {
  transform: scale(1.035);
  opacity: 0.92;
}

.shot:focus-visible { outline: 2px solid var(--brass-lite); outline-offset: 3px; }

.shot-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 1.6rem 0.9rem 0.7rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice-pale);
  text-align: left;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.shot:hover .shot-tag,
.shot:focus-visible .shot-tag { opacity: 1; }

/* --- Lightbox ------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(6, 12, 20, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-meta {
  position: absolute;
  bottom: 1.4rem;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--ice);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(157, 192, 216, 0.3);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lb-btn:hover { background: rgba(255, 255, 255, 0.2); }
.lb-prev  { left: 1.2rem;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-close { right: 1.2rem; top: 1.2rem; }

/* --- About / archive note ------------------------------------------------- */

.about { background: var(--paper-warm); }

.note-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 2.4rem 2.2rem;
}

.note-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.note-card p:last-child { margin-bottom: 0; }

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.contact-line:last-child { border-bottom: none; }

.contact-line i {
  color: var(--brass);
  font-size: 1rem;
  margin-top: 0.25rem;
}

.contact-line a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brass); }
.contact-line a:hover { color: var(--brass); }

/* --- Footer --------------------------------------------------------------- */

.footer {
  background: var(--ink);
  color: var(--ice-pale);
  padding: 3.5rem 0 2rem;
}

.footer h4 {
  font-family: var(--serif);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer p { font-size: 0.9rem; color: var(--ice); margin-bottom: 0.3rem; }

.footer a { color: var(--ice-pale); text-decoration: none; }
.footer a:hover { color: var(--brass-lite); }

.footer-bottom {
  border-top: 1px solid rgba(157, 192, 216, 0.18);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(157, 192, 216, 0.75);
}

.powered {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(157, 192, 216, 0.1);
  border: 1px solid rgba(157, 192, 216, 0.22);
  border-radius: 2px;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.powered a { color: var(--brass-lite); font-weight: 600; }

@media (max-width: 767px) {
  .section { padding: 4rem 0; }
  .hero { min-height: 68vh; }
  .hero-content { padding: 2rem 1.25rem 2.25rem; }
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
}
