/* steveandlizwedding.com — rebuilt from the Divi theme settings: Open Sans (light body),
   uppercase 600 nav with 1px tracking, white header, starry title banners, dark footer bar. */
:root {
  --ink: #333;
  --text: #666;
  --muted: #999;
  --line: #e0e0e0;
  --dark: #171717;
  --accent: #7ebec5;
  --red: #b3261e;
  --max: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 300 15px/1.7 "Open Sans", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
h1, h2, h3 { color: var(--ink); font-weight: 400; line-height: 1.25; margin: 0 0 12px; }
p { margin: 0 0 14px; }
strong { font-weight: 600; color: var(--ink); }
.container { width: 80%; max-width: var(--max); margin: 0 auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

/* Header */
.site-header { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.1); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 96px; }
.logo img { height: 52px; width: auto; }
.site-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.site-menu a {
  text-decoration: none; text-transform: uppercase; font-weight: 600; font-size: 14px;
  letter-spacing: 1px; color: rgba(0,0,0,.6); transition: color .2s;
}
.site-menu a:hover, .site-menu a[aria-current="page"] { color: #000; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: #000; margin: 4px 0; }

/* Home */
.hero { background: #000; }
.hero img, .hero-photo img { width: 100%; }
.blurbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 70px 0; }
.blurb { display: flex; flex-direction: column; align-items: center; gap: 30px; text-decoration: none; }
.blurb-icon {
  width: 104px; height: 104px; border-radius: 50%; border: 3px solid var(--line); background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.blurb-icon svg { width: 48px; height: 48px; fill: none; stroke: #000; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.blurb-icon svg .fill { fill: #000; stroke: none; }
.blurb-icon.dark { background: #020101; border-color: #020101; margin-bottom: 24px; }
.blurb-icon.dark svg { stroke: #fff; }
.blurb-title { color: var(--ink); font-weight: 400; font-size: 18px; text-transform: uppercase; }
.blurb:hover .blurb-icon { border-color: #bbb; }

/* Inner page banner (Divi fullwidth slider with starsbanner3.jpg) */
.banner {
  background: #231f20 url("/assets/img/starsbanner3.jpg") center / cover no-repeat;
  min-height: 130px; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.banner h1 { color: #fff; font-weight: 300; font-size: 46px; text-transform: uppercase; margin: 0; text-align: center; }

/* Two columns (Details, Accommodations, Addresses) */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5.5%; padding: 64px 0; align-items: start; }
.two-col h2 { font-size: 30px; }
.text a { color: var(--ink); }
.map { padding: 0 0 64px; }
.map iframe { width: 100%; height: 440px; border: 0; display: block; }

/* Gallery */
.gallery { list-style: none; margin: 0; padding: 64px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 5.5%; }
.gallery a { display: block; }
.gallery img { width: 100%; transition: opacity .2s; }
.gallery a:hover img { opacity: .85; }

/* RSVP, thanks */
.narrow.center { padding: 64px 0; }
.thanks { padding: 80px 35px; }
.thanks h1 { font-size: 30px; }
.btn {
  display: inline-block; background: #000; color: #fff; border: 2px solid #000; padding: 10px 28px;
  font: 600 15px/1.4 "Open Sans", Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: #fff; color: #000; }

/* Address form (Divi child theme input + label styles) */
.address h2 { font-size: 28px; }
.field { margin: 0 0 18px; }
.field label { display: block; margin: 0 0 6px; color: #000; font-size: 16px; font-weight: 700; text-transform: uppercase; }
.field .req { color: var(--red); }
.field input {
  width: 100%; background: #fff; border: 1px solid #000; color: #4e4e4e; padding: 10px;
  font: 400 15px/1.4 "Open Sans", Arial, sans-serif; border-radius: 0;
}
.field input[aria-invalid="true"] { border-color: var(--red); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { margin: 6px 0 0; color: var(--red); font-size: 13px; font-weight: 400; }
.form-alert { margin: 0 0 20px; padding: 14px 16px; background: #fdecea; color: #8a1c14; font-weight: 400; }

/* Footer */
.site-footer { background: var(--dark); height: 20px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 90vw; max-height: 90vh; }
.lightbox img { max-width: 90vw; max-height: 90vh; width: auto; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 48px; line-height: 1; cursor: pointer; padding: 10px 16px; }
.lightbox-close { top: 10px; right: 10px; }
.lightbox-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 10px; top: 50%; transform: translateY(-50%); }

@media (max-width: 980px) {
  .container { width: auto; margin: 0 16px; }
  .header-inner { min-height: 80px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 3px solid #000; box-shadow: 0 2px 5px rgba(0,0,0,.1); display: none; }
  .site-header.menu-open .site-nav { display: block; }
  .site-menu { flex-direction: column; gap: 0; padding: 12px 16px; }
  .site-menu a { display: block; padding: 10px 5%; }
  .two-col { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 40px 0; }
  .banner h1 { font-size: 32px; }
  .map iframe { height: 320px; }
}
@media (max-width: 600px) {
  .blurbs { grid-template-columns: 1fr; padding: 40px 0; }
  .gallery { grid-template-columns: 1fr; }
  .two-col h2, .address h2, .thanks h1 { font-size: 22px; }
}
