/* ============================================================
   NoteWorthyMarin — Global Styles
   ============================================================ */

:root {
  --black: #0f0f0f;
  --off-black: #1a1a1a;
  --warm-dark: #1c4329;
  --white: #ffffff;
  --cream: #f4f8f5;
  --gold: #1c4329;
  --gold-light: #2a5e3a;
  --gray: #6b6b6b;
  --light-gray: #d8e6dc;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   CONTAINERS
   ============================================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

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

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

.btn-primary:hover {
  background: var(--gold-light);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--off-black);
}

/* ============================================================
   LABEL / EYEBROW
   ============================================================ */

.label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(28, 67, 41, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 36px;
  width: auto;
}

.logo-placeholder {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

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

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--off-black);
  padding: 16px 32px 24px;
  gap: 16px;
}

.mobile-menu a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.mobile-menu.open {
  display: flex;
}

/* ============================================================
   HERO (Home)
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 8, 5, 0.82) 0%,
    rgba(10, 8, 5, 0.45) 60%,
    rgba(10, 8, 5, 0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  max-width: 620px;
  padding-left: 64px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 460px;
}

/* ============================================================
   PAGE HERO (Donate, Contact)
   ============================================================ */

.page-hero {
  position: relative;
  height: 50vh;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-height);
}

.page-hero-img-wrap {
  position: absolute;
  inset: 0;
}

.page-hero-img-wrap .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 64px 56px;
}

.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
}

.page-hero-content p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
}

/* ============================================================
   MISSION SECTION
   ============================================================ */

.mission {
  background: var(--white);
  padding: 100px 0;
}

.mission .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--black);
}

.mission-text p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 36px;
}

.mission-img-wrap {
  position: relative;
}

.mission-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 2px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how {
  background: var(--cream);
  padding: 100px 0;
  text-align: center;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 64px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: left;
}

.step {
  border-top: 2px solid var(--light-gray);
  padding-top: 28px;
}

.step-num {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 14px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--black);
}

.step p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.75;
}

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
  background: var(--warm-dark);
  padding: 100px 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-band p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
}

/* ============================================================
   DONATE PAGE
   ============================================================ */

.donate-section {
  padding: 100px 0;
  background: var(--cream);
}

.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.donate-card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
}

.donate-card-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.donate-card-body {
  padding: 40px;
}

.donate-card-body h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--black);
}

.donate-card-body p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-section {
  min-height: calc(100vh - var(--nav-height));
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 100px;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--black);
}

.contact-text p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--warm-dark);
  padding: 48px 0;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-email a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-email a:hover {
  color: var(--white);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero-content {
    padding-left: 32px;
  }

  .page-hero-content {
    padding: 0 32px 40px;
  }

  .mission .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mission-img {
    height: 320px;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .donate-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-img-wrap img {
    height: 320px;
  }

  .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Single donate card */
.donate-single {
  max-width: 700px;
  margin: 0 auto;
}

.contact-centered {
  max-width: 600px;
  margin: 0 auto;
}
