/* ==========================================================================
   Camp 1387 Lee & Jackson Dinner — site styles
   Palette: deep navy, Confederate gray, antique gold, parchment
   ========================================================================== */

:root {
  --navy: #1f2f4a;
  --navy-deep: #15213a;
  --gray: #6b7280;
  --gold: #b8912f;
  --gold-light: #d9b85c;
  --parchment: #f6f1e7;
  --paper: #fffdf8;
  --ink: #23272f;
  --ink-soft: #4b5563;
  --rule: #e3dccb;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;

  --max: 1120px;
  --radius: 6px;
  --shadow: 0 8px 28px rgba(21, 33, 58, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); }
a:hover { color: var(--gold); }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-deep);
  border-bottom: 3px solid var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: #fff;
}

.brand span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--gold);
  color: #fff;
  font: inherit;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
}

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

.nav-links a {
  display: block;
  padding: 0.5rem 0.9rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.15s;
}

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

.nav-links a[aria-current="page"] {
  color: var(--gold-light);
  box-shadow: inset 0 -3px 0 var(--gold);
  border-radius: 0;
}

.nav-links .cta a {
  background: var(--gold);
  color: var(--navy-deep);
  margin-left: 0.5rem;
}
.nav-links .cta a:hover { background: var(--gold-light); }

@media (max-width: 760px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-block; }
  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none;
    padding-bottom: 0.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links .cta a { margin: 0.25rem 0 0; text-align: center; }
}

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

.hero {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: var(--navy-deep) url("../images/banner.jpg") center/cover no-repeat;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21, 33, 58, 0.55) 0%, rgba(21, 33, 58, 0.75) 100%);
  z-index: -1;
}

.hero .container { padding: 4rem 0; }

.hero .eyebrow { color: var(--gold-light); }

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.5vw, 4.25rem);
  margin: 0 0 0.35em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

.hero .lede {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  max-width: 44ch;
  margin: 0 auto 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero .date {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--gold-light);
  margin-bottom: 1.75rem;
}

.hero--short { min-height: 340px; }
.hero--short .container { padding: 3rem 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform 0.15s, background 0.15s, color 0.15s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy-deep); }

.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy-deep); }

.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.2rem; }

.btn-row { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--tint { background: var(--parchment); }
.section--navy { background: var(--navy-deep); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a { color: var(--gold-light); }
.section--navy .btn-primary { color: var(--navy-deep); }
.section--navy .btn-primary:hover { color: var(--navy-deep); }

.section-head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }

.rule {
  width: 72px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Invitation block: portraits either side of the text */
.invite {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 2.2fr) minmax(160px, 1fr);
  gap: 2rem;
  align-items: center;
}

.portrait {
  text-align: center;
}

.portrait img {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
  outline: 1px solid var(--rule);
}

.portrait figcaption {
  font-family: var(--font-display);
  margin-top: 0.75rem;
  color: var(--ink-soft);
}

.invite-text { text-align: center; }
.invite-text h2 { margin-bottom: 0.4em; }
.invite-text .subtitle {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

@media (max-width: 860px) {
  .invite { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .invite-text { grid-column: 1 / -1; order: -1; }
  .portrait img { max-width: 100%; }
}

/* Details cards */
.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: 0 2px 10px rgba(21, 33, 58, 0.05);
}

.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card .big {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.2em;
}

/* Feature list (what's included) */
.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem 2rem;
  max-width: 980px;
  margin-inline: auto;
}

.features li {
  padding-left: 1.9rem;
  position: relative;
}

.features li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--gold);
}

.notice {
  background: #fff8e6;
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 2rem;
}

/* Two-column media blocks (speaker, venue) */
.media {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: start;
}

.media--flip { grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); }
.media--flip .media-img { order: 2; }

.media-img img {
  border: 6px solid #fff;
  box-shadow: var(--shadow);
  outline: 1px solid var(--rule);
}

.media-body h2 { margin-bottom: 0.2em; }
.media-body .subtitle {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.address {
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

@media (max-width: 760px) {
  .media, .media--flip { grid-template-columns: 1fr; }
  .media--flip .media-img { order: 0; }
  .media-img img { max-width: 360px; margin: 0 auto; }
}

/* Pricing */
.prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.price {
  text-align: center;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
}

.price .amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.3em;
}

.price .label {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.price p:last-child { margin: 0.75rem 0 0; color: var(--ink-soft); font-size: 1rem; }

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 1rem;
}

.steps li {
  position: relative;
  padding-left: 3rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* Call-to-action band */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band p { max-width: 55ch; margin: 0 auto 1.5rem; }

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

.site-footer {
  background: var(--navy-deep);
  color: #cfd5e1;
  border-top: 3px solid var(--gold);
  padding: 2rem 0;
  font-size: 0.95rem;
  text-align: center;
}

.site-footer p { margin: 0.25rem 0; }
.site-footer a { color: var(--gold-light); }
