/* Women of Light Ministry — Core Styles */

:root {
  --wol-deep: #3b0b0b;
  --wol-gold: #e4b35c;
  --wol-soft-gold: #f5e3c6;
  --wol-cream: #faf5ef;
  --wol-text: #111827;
  --wol-muted: #6b7280;
  --wol-accent: #b83232;
  --radius-pill: 999px;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--wol-text);
  background: var(--wol-cream);
}

/* Utility containers */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #4a1515, #b83232, #e4b35c);
  color: #f9fafb;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

/* Brand */

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

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: #111827;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-tagline {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* Nav pills */

.primary-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.4rem;
}

.primary-nav a.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  text-decoration: none;
  color: #f9fafb;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.15);
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-nav a.pill:hover {
  background: rgba(248, 250, 252, 0.14);
  border-color: rgba(249, 250, 251, 0.35);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.4);
  transform: translateY(-1px);
}

.primary-nav a.pill.active {
  background: #f9fafb;
  color: #1f2933;
  border-color: #fbbf24;
  box-shadow: 0 3px 6px rgba(15, 23, 42, 0.35);
}

/* Hamburger */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #f9fafb;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, background 0.2s ease;
  position: relative;
}

.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle .bars::before {
  top: -6px;
}

.nav-toggle .bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */

.hero {
  background: radial-gradient(circle at top left, #fef3c7 0, #fde68a 22%, #fff7ed 50%, #fefce8 100%);
  padding: 4rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
  color: #111827;
}

.hero-copy p {
  font-size: 1rem;
  color: var(--wol-muted);
  max-width: 34rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #b91c1c, #f97316);
  color: #f9fafb;
  box-shadow: 0 4px 10px rgba(148, 27, 27, 0.45);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(148, 27, 27, 0.55);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.9);
  color: #7c2d12;
  border-color: rgba(148, 27, 27, 0.25);
}

.btn.ghost:hover {
  background: #fff;
}

/* Hero placeholder */

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-placeholder {
  width: 100%;
  min-height: 220px;
  border-radius: 1.5rem;
  border: 2px dashed rgba(148, 27, 27, 0.3);
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(254, 243, 199, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #92400e;
  font-weight: 500;
  text-align: center;
}

/* Sections */

.strip {
  padding: 2.5rem 0 2.75rem;
  background: #fefce8;
}

.strip-inner {
  display: grid;
  gap: 1.5rem;
}

.strip-card {
  padding: 1.3rem 1.4rem;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.strip-card h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

/* Feature grid */

.feature-grid {
  padding: 3rem 0 3.25rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.6rem;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  display: flex;
  flex-direction: column;
}

.card-image-placeholder {
  min-height: 160px;
  background: repeating-linear-gradient(
    135deg,
    #fef2f2,
    #fef2f2 6px,
    #fee2e2 6px,
    #fee2e2 12px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f1d1d;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

.card-body {
  padding: 1.25rem 1.4rem 1.3rem;
}

.card-body h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card-link {
  display: inline-flex;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: #b91c1c;
}

/* Page hero */

.page-hero {
  padding: 3rem 0 2.3rem;
  background: radial-gradient(circle at top, #fee2e2, #fffbeb);
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

/* Page content */

.page-content {
  padding: 2.5rem 0;
}

.page-content.alt-bg {
  background: #f9fafb;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

/* Placeholder blocks */

.large-image-placeholder,
.event-placeholder-image {
  width: 100%;
  min-height: 220px;
  border-radius: 1.25rem;
  border: 2px dashed rgba(148, 27, 27, 0.25);
  background: linear-gradient(180deg, #fff7ed, #fee2e2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f1d1d;
  font-size: 0.9rem;
  font-weight: 600;
}

.values-list {
  padding-left: 1.1rem;
}

.values-list li {
  margin-bottom: 0.4rem;
}

/* Events */

.event-list {
  display: grid;
  gap: 1.4rem;
}

.event-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.event-card.placeholder {
  grid-template-columns: minmax(0, 1fr);
}

.event-date {
  width: 66px;
  min-height: 66px;
  border-radius: 1rem;
  background: linear-gradient(145deg, #b91c1c, #f97316);
  color: #f9fafb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.event-date .day {
  font-size: 1.4rem;
  line-height: 1;
}

.event-date .month {
  font-size: 0.8rem;
  opacity: 0.9;
}

.event-meta {
  font-size: 0.85rem;
  color: var(--wol-muted);
}

/* Messages */

.message-card {
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.message-meta {
  font-size: 0.85rem;
  color: var(--wol-muted);
}

/* Shop */

.product-grid {
  display: grid;
  gap: 1.25rem;
}

.product-card {
  background: #fff;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.product-card .card-body {
  padding-bottom: 1.1rem;
}

.price {
  font-weight: 700;
  color: #b91c1c;
}

/* Forms */

.contact-form,
.checkout-form {
  background: #fff;
  border-radius: 1.1rem;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.field {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.7rem;
  font: inherit;
  background: #f9fafb;
}

textarea {
  resize: vertical;
}

.help-text {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--wol-muted);
}

/* Footer */

.site-footer {
  margin-top: 3rem;
  background: #111827;
  color: #e5e7eb;
  padding-top: 2.25rem;
}

.footer-inner {
  display: grid;
  gap: 1.75rem;
}

.footer-col h4 {
  margin-top: 0;
}

.footer-col a {
  color: #facc15;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.35rem;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  margin-top: 1.75rem;
  padding: 0.9rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: #9ca3af;
}

/* Responsive layout */

@media (max-width: 860px) {
  .hero-inner,
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-media {
    order: -1;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #111827;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }

  .primary-nav.open {
    max-height: 260px;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 1.25rem 1rem;
  }

  .primary-nav a.pill {
    width: 100%;
    justify-content: flex-start;
    margin-top: 0.1rem;
  }

  .hero-inner {
    gap: 1.5rem;
  }

  .strip-card {
    padding: 1rem 1.05rem;
  }
}

@media (min-width: 768px) {
  .strip-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
