:root {
  --bg: #1a1a1a;
  --bg-alt: #242424;
  --text: #e8e8e8;
  --text-muted: #b0b0b0;
  --red: #c8102e;
  --red-dark: #a00d24;
  --charcoal: #2c2c2c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}

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

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  background: #111;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #333;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--red);
}

.hamburger {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: white;
}

.hero-section {
  padding: 0 0 4rem;
}

.hero-image {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.hero-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 45%;
}

h1, h2 {
  color: var(--red);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.4rem;
  margin-top: 0;
}

h2 {
  font-size: 2rem;
  margin-top: 0;
  padding-top: 3rem;
}

h3 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  color: white;
}

section {
  padding: 1rem 0 3rem;
}

section p {
  margin-bottom: 1.1rem;
}

.cta-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: var(--red);
  color: white;
}

.btn.primary:hover {
  background: var(--red-dark);
  text-decoration: none;
}

.btn-donate {
  font-size: 1.1rem;
  padding: 0.9rem 2.25rem;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.35);
}

.btn.secondary {
  background: transparent;
  color: white;
  border: 1px solid #555;
}

.btn.secondary:hover {
  border-color: var(--red);
  color: var(--red);
  text-decoration: none;
}

.photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.photo-row figure {
  margin: 0;
}

.photo-row img,
.couple-photo img,
.group-photo img {
  border: 3px solid var(--red);
  border-radius: 4px;
}

.photo-row figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  text-align: center;
}

.belief {
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #333;
}

.belief:last-child {
  border-bottom: none;
}

.refs {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.5rem;
}

.donate-section {
  background: var(--bg-alt);
}

.zeffy-container {
  margin: 1.5rem 0;
  min-height: 450px;
  background: #111;
  border-radius: 6px;
  overflow: hidden;
}

.couple-photo, .group-photo {
  margin: 2rem 0;
  text-align: center;
}

.couple-photo img, .group-photo img {
  max-width: 320px;
  margin: 0 auto;
  border-radius: 4px;
}

.caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.bios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.bio {
  background: var(--charcoal);
  padding: 1.5rem;
  border-radius: 6px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 520px;
  margin: 1.5rem 0;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #444;
  border-radius: 4px;
  background: #222;
  color: white;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
}

.contact-note {
  font-size: 0.95rem;
  color: var(--text-muted);
}

footer {
  background: #111;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid #333;
  margin-top: 2rem;
}

footer p {
  margin-bottom: 0.3rem;
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 1.25rem;
  }

  nav {
    padding: 0.6rem 1rem;
  }

  .logo-img {
    height: 40px;
  }

  .logo-text {
    font-size: 0.85rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111;
    padding: 0.5rem 0;
    border-bottom: 1px solid #333;
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid #222;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 1.25rem;
  }

  .hamburger {
    display: block;
    padding: 0.25rem;
  }

  .hero-image {
    max-height: 240px;
    margin-bottom: 1.5rem;
  }

  .hero-image img {
    height: 240px;
    object-position: center 40%;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
    padding-top: 2rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .cta-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn {
    text-align: center;
    padding: 0.85rem 1.25rem;
  }

  .photo-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .photo-row img {
    height: auto;
    max-height: 320px;
    object-fit: cover;
  }

  .belief {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
  }

  .bios {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .couple-photo img,
  .group-photo img {
    max-width: 100%;
  }

  .zeffy-container {
    min-height: 500px;
  }

  .contact-form {
    max-width: 100%;
  }

  footer {
    padding: 1.5rem 0;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  .hero-image img {
    height: 200px;
  }

  .logo-text {
    display: none;
  }
}
