/* ═══════════════════════════════════════════════
   SWM LOVE LETTERS — Stylesheet v1.1.0
   Matches site palette: navy / gold / cream
   NOTE: Theme sets html font-size:10px — all sizes
         use px, NOT rem, to avoid 62.5 % shrink.
═══════════════════════════════════════════════ */
:root {
  --ll-navy:    #1e2a4a;
  --ll-navy-dk: #141d36;
  --ll-gold:    #b8973a;
  --ll-gold-lt: rgba(184,151,58,0.18);
  --ll-cream:   #faf8f4;
  --ll-cream-dk:#f0ebe0;
  --ll-ink:     #2c2c2c;
  --ll-muted:   #666;
  --ll-serif:   'Cormorant Garamond', Georgia, serif;
  --ll-caps:    'Cinzel', serif;
  --ll-sans:    'Raleway', sans-serif;
  --ll-play:    'Playfair Display', serif;
  --ll-script:  'Dancing Script', cursive;
}

/* ── Page wrapper — full-width breakout ── */
.swmll-page {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative;
  left: 50%;
  margin-left: -50vw !important;
  margin-right: 0 !important;
  overflow-x: hidden;
  font-family: var(--ll-sans);
  color: var(--ll-ink);
  line-height: 1.7;
}

.swmll-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Section rule (centered heading with lines) ── */
.swmll-section-rule {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 32px;
}
.swmll-section-rule::before,
.swmll-section-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ll-gold);
  opacity: 0.4;
}
.swmll-section-rule span {
  font-family: var(--ll-caps);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ll-gold);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   HERO BANNER
═══════════════════════════════════════════════ */
.swmll-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.swmll-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--ll-navy-dk);
}

.swmll-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,40,0.65) 0%, rgba(10,15,40,0.78) 100%);
}

.swmll-hero-inner {
  position: relative;
  z-index: 2;
  padding: 80px 32px;
  max-width: 700px;
  color: #fff;
}

.swmll-hero-logo {
  display: block;
  max-width: 180px;
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 3px 12px rgba(0,0,0,0.5));
}

.swmll-hero-title {
  font-family: var(--ll-play);
  font-size: clamp(35px, 5vw, 58px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.swmll-hero-subtitle {
  font-family: var(--ll-serif);
  font-size: 21px;
  font-style: italic;
  color: rgba(255,255,255,0.88);
  margin: 0 0 32px;
  line-height: 1.6;
}

.swmll-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ═══════════════════════════════════════════════
   BUTTONS (shared)
═══════════════════════════════════════════════ */
.swmll-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 4px;
  font-family: var(--ll-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.swmll-btn--gold {
  background: var(--ll-gold);
  color: #fff;
  border: 2px solid var(--ll-gold);
}
.swmll-btn--gold:hover {
  background: #9a7c2e;
  border-color: #9a7c2e;
  color: #fff;
}

.swmll-btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.swmll-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* Dark bg ghost variant for cream sections */
.swmll-btn--outline {
  background: transparent;
  color: var(--ll-navy);
  border: 2px solid var(--ll-gold);
}
.swmll-btn--outline:hover {
  background: var(--ll-gold);
  color: #fff;
}

/* ═══════════════════════════════════════════════
   ABOUT / INTRO SECTION
═══════════════════════════════════════════════ */
.swmll-intro {
  background: var(--ll-cream);
  padding: 72px 0;
}

.swmll-intro--split .swmll-section-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.swmll-intro-text {
  flex: 1 1 60%;
  min-width: 0;
}

.swmll-intro-body p {
  font-family: var(--ll-serif);
  font-size: 18px;
  color: var(--ll-ink);
  margin: 0 0 18px;
  line-height: 1.8;
}

.swmll-intro-image {
  flex: 0 0 35%;
  max-width: 380px;
}

.swmll-intro-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS — 3-step cards
═══════════════════════════════════════════════ */
.swmll-how {
  background: #fff;
  padding: 72px 0;
}

.swmll-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.swmll-how-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--ll-cream);
  border-radius: 8px;
  border: 1px solid var(--ll-cream-dk);
  position: relative;
}

.swmll-how-num {
  font-family: var(--ll-caps);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--ll-gold);
  margin-bottom: 14px;
}

.swmll-how-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--ll-gold-lt);
  color: var(--ll-gold);
}

.swmll-how-icon svg {
  width: 26px;
  height: 26px;
}

.swmll-how-title {
  font-family: var(--ll-play);
  font-size: 20px;
  font-weight: 700;
  color: var(--ll-navy);
  margin: 0 0 12px;
}

.swmll-how-desc {
  font-family: var(--ll-serif);
  font-size: 17px;
  color: var(--ll-muted);
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════ */
.swmll-gallery {
  background: var(--ll-cream);
  padding: 56px 0;
}

.swmll-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.swmll-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.swmll-gallery-item img:hover {
  transform: scale(1.03);
}

/* ═══════════════════════════════════════════════
   FORM SECTION
═══════════════════════════════════════════════ */
.swmll-form-section {
  background: #fff;
  padding: 72px 0;
}

.swmll-form-intro {
  font-family: var(--ll-serif);
  font-size: 18px;
  color: var(--ll-muted);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.swmll-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--ll-cream);
  padding: 36px;
  border-radius: 8px;
  border: 1px solid var(--ll-cream-dk);
}

/* Style WPForms to match site */
.swmll-form-wrap .wpforms-container .wpforms-form .wpforms-field-label {
  font-family: var(--ll-sans) !important;
  font-weight: 600 !important;
  color: var(--ll-navy) !important;
}

.swmll-form-wrap .wpforms-container .wpforms-form input[type="text"],
.swmll-form-wrap .wpforms-container .wpforms-form input[type="email"],
.swmll-form-wrap .wpforms-container .wpforms-form textarea,
.swmll-form-wrap .wpforms-container .wpforms-form select {
  border: 1px solid var(--ll-cream-dk) !important;
  border-radius: 4px !important;
  font-family: var(--ll-sans) !important;
}

.swmll-form-wrap .wpforms-container .wpforms-form input[type="text"]:focus,
.swmll-form-wrap .wpforms-container .wpforms-form input[type="email"]:focus,
.swmll-form-wrap .wpforms-container .wpforms-form textarea:focus {
  border-color: var(--ll-gold) !important;
  box-shadow: 0 0 0 2px var(--ll-gold-lt) !important;
}

.swmll-form-wrap .wpforms-container .wpforms-form .wpforms-submit {
  background: var(--ll-gold) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  font-family: var(--ll-sans) !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 12px 32px !important;
  cursor: pointer !important;
  transition: background 0.25s ease !important;
}

.swmll-form-wrap .wpforms-container .wpforms-form .wpforms-submit:hover {
  background: #9a7c2e !important;
}

/* ═══════════════════════════════════════════════
   DONATE SECTION
═══════════════════════════════════════════════ */
.swmll-donate {
  position: relative;
  background: var(--ll-navy);
  padding: 72px 0;
  text-align: center;
  overflow: hidden;
}

.swmll-donate-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(184,151,58,0.06) 0%, transparent 70%);
}

.swmll-donate .swmll-section-inner {
  position: relative;
  z-index: 2;
}

.swmll-donate-heading {
  font-family: var(--ll-play);
  font-size: clamp(29px, 3.5vw, 45px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 18px;
  line-height: 1.2;
}

.swmll-donate-body {
  font-family: var(--ll-serif);
  font-size: 19px;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.swmll-donate-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ═══════════════════════════════════════════════
   FOOTER SCRIPTURE QUOTE
═══════════════════════════════════════════════ */
.swmll-footer-quote {
  background: var(--ll-cream);
  padding: 56px 0;
  text-align: center;
}

.swmll-quote {
  max-width: 640px;
  margin: 0 auto;
}

.swmll-quote p {
  font-family: var(--ll-serif);
  font-size: 23px;
  font-style: italic;
  color: var(--ll-navy);
  line-height: 1.7;
  margin: 0 0 12px;
}

.swmll-quote cite {
  font-family: var(--ll-caps);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ll-gold);
  font-style: normal;
}

/* ═══════════════════════════════════════════════
   BACK LINK
═══════════════════════════════════════════════ */
.swmll-back-link {
  text-align: center;
  padding: 32px 0;
  background: #fff;
}

.swmll-back-link a {
  font-family: var(--ll-sans);
  font-size: 14px;
  color: var(--ll-gold);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.swmll-back-link a:hover {
  color: var(--ll-navy);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 860px) {
  .swmll-intro--split .swmll-section-inner {
    flex-direction: column;
  }
  .swmll-intro-image {
    max-width: 100%;
  }
  .swmll-how-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .swmll-hero-inner { padding: 56px 20px; }
  .swmll-hero-title { font-size: 29px; }
  .swmll-hero-btns { flex-direction: column; align-items: center; }
  .swmll-section-inner { padding: 0 20px; }
  .swmll-form-wrap { padding: 24px 16px; }
  .swmll-donate-btns { flex-direction: column; align-items: center; }
  .swmll-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
