/* =============================================
   LIGHTHOUSE MINISTRIES — Template 12
   Media-forward ministry with deep teal + coral
   Font: Poppins (display) + Libre Baskerville (body)
   Hero: Beacon Spotlight
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --lm-teal:        #134e4a;
  --lm-teal-dark:   #0a2c2a;
  --lm-teal-deep:   #061a19;
  --lm-coral:       #f97068;
  --lm-coral-dark:  #e05550;
  --lm-salmon:      #fdb5b0;
  --lm-mint:        #d1fae5;
  --lm-mint-soft:   #ecfdf5;
  --lm-white:       #ffffff;
  --lm-text:        #1a2e2d;
  --lm-text-light:  #4a6462;

  --lm-font-display: 'Poppins', -apple-system, sans-serif;
  --lm-font-body:    'Libre Baskerville', Georgia, serif;

  --lm-radius:     10px;
  --lm-radius-lg:  16px;
  --lm-shadow:     0 2px 12px rgba(10,44,42,0.08);
  --lm-shadow-lg:  0 8px 32px rgba(10,44,42,0.14);
  --lm-transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--lm-font-body);
  color: var(--lm-text);
  background: var(--lm-white);
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--lm-font-display);
  line-height: 1.2;
  color: var(--lm-teal-dark);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.lm-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Demo Banner ---------- */
.lm-demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 36px;
  background: var(--lm-teal-deep);
  color: var(--lm-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--lm-font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  z-index: 1000;
}

.lm-demo-banner a {
  color: var(--lm-coral);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Navigation ---------- */
.lm-nav {
  position: fixed;
  top: 36px;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(19,78,74,0.08);
  z-index: 960;
  transition: box-shadow var(--lm-transition);
}

.lm-nav.scrolled { box-shadow: 0 2px 16px rgba(10,44,42,0.1); }

.lm-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lm-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lm-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lm-teal-dark);
}

.lm-nav-logo svg { width: 28px; height: 28px; color: var(--lm-coral); }
.lm-nav-logo em { font-style: normal; color: var(--lm-coral); }

.lm-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.lm-nav-links a {
  font-family: var(--lm-font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--lm-text-light);
  transition: color var(--lm-transition);
}
.lm-nav-links a:hover { color: var(--lm-coral); }

.lm-nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--lm-coral);
  color: var(--lm-white) !important;
  border-radius: 100px;
  font-weight: 600;
  transition: background var(--lm-transition);
}
.lm-nav-cta:hover { background: var(--lm-coral-dark) !important; }

/* Hamburger */
.lm-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.lm-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--lm-teal-dark);
  border-radius: 2px;
  transition: transform var(--lm-transition), opacity var(--lm-transition);
}

.lm-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.lm-hamburger.active span:nth-child(2) { opacity: 0; }
.lm-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Buttons ---------- */
.lm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.75rem;
  font-family: var(--lm-font-display);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--lm-transition);
}

.lm-btn-coral { background: var(--lm-coral); color: var(--lm-white); }
.lm-btn-coral:hover { background: var(--lm-coral-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(249,112,104,0.35); }

.lm-btn-teal { background: var(--lm-teal); color: var(--lm-white); }
.lm-btn-teal:hover { background: var(--lm-teal-dark); transform: translateY(-2px); }

.lm-btn-outline { background: transparent; border: 2px solid var(--lm-teal); color: var(--lm-teal); }
.lm-btn-outline:hover { background: var(--lm-teal); color: var(--lm-white); }

/* ---------- Section Helpers ---------- */
.lm-section { padding: 100px 0; }
.lm-section-header { text-align: center; margin-bottom: 60px; }

.lm-eyebrow {
  display: inline-block;
  font-family: var(--lm-font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lm-coral);
  margin-bottom: 14px;
}

.lm-section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.lm-section-title em { font-style: normal; font-weight: 300; color: var(--lm-coral); }

.lm-section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--lm-text-light);
  font-size: 1.05rem;
}

/* ---------- Scroll Reveal ---------- */
.lm-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.lm-reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   HERO — Beacon Spotlight
   ============================================ */
.lm-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 108px;
  background: var(--lm-teal-deep);
  overflow: hidden;
}

.lm-hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,112,104,0.15) 0%, rgba(19,78,74,0.05) 50%, transparent 70%);
  pointer-events: none;
}

.lm-hero-glow-secondary {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(19,78,74,0.3) 0%, transparent 60%);
  pointer-events: none;
}

.lm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 24px;
}

.lm-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(249,112,104,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--lm-coral);
  font-size: 1.6rem;
}

.lm-hero-eyebrow {
  font-family: var(--lm-font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lm-salmon);
  margin-bottom: 20px;
}

.lm-hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  color: var(--lm-white);
  margin-bottom: 20px;
  font-weight: 700;
}

.lm-hero-title em { font-style: normal; font-weight: 300; color: var(--lm-coral); }

.lm-hero-desc {
  font-size: 1.1rem;
  color: rgba(209,250,229,0.7);
  margin-bottom: 36px;
  line-height: 1.8;
}

.lm-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   ABOUT
   ============================================ */
.lm-about { background: var(--lm-white); }

.lm-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lm-about-image {
  border-radius: var(--lm-radius-lg);
  overflow: hidden;
  box-shadow: var(--lm-shadow-lg);
}

.lm-about-image img { width: 100%; height: 400px; object-fit: cover; }

.lm-about-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 20px; }

.lm-about-text p { color: var(--lm-text-light); margin-bottom: 16px; font-size: 1.02rem; }

/* ============================================
   PODCAST
   ============================================ */
.lm-podcast { background: var(--lm-mint-soft); }

.lm-podcast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.lm-podcast-card {
  background: var(--lm-white);
  border-radius: var(--lm-radius-lg);
  overflow: hidden;
  box-shadow: var(--lm-shadow);
  transition: transform var(--lm-transition), box-shadow var(--lm-transition);
}

.lm-podcast-card:hover { transform: translateY(-4px); box-shadow: var(--lm-shadow-lg); }

.lm-podcast-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.lm-podcast-image img { width: 100%; height: 100%; object-fit: cover; }

.lm-podcast-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lm-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lm-white);
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity var(--lm-transition), transform var(--lm-transition);
}

.lm-podcast-card:hover .lm-podcast-play { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }

.lm-podcast-body { padding: 24px; }

.lm-podcast-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--lm-font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--lm-text-light);
  margin-bottom: 10px;
}

.lm-podcast-duration { color: var(--lm-coral); font-weight: 600; }

.lm-podcast-body h3 { font-size: 1.05rem; margin-bottom: 8px; }

.lm-podcast-body p { font-size: 0.88rem; color: var(--lm-text-light); line-height: 1.6; }

/* ============================================
   RESOURCES
   ============================================ */
.lm-resources { background: var(--lm-white); }

.lm-resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.lm-resource-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--lm-mint-soft);
  border-radius: var(--lm-radius-lg);
  border: 2px solid transparent;
  transition: border-color var(--lm-transition), transform var(--lm-transition), box-shadow var(--lm-transition);
}

.lm-resource-card:hover {
  border-color: var(--lm-teal);
  transform: translateY(-4px);
  box-shadow: var(--lm-shadow-lg);
}

.lm-resource-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(19,78,74,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--lm-teal);
  font-size: 1.4rem;
}

.lm-resource-card h3 { font-size: 0.95rem; margin-bottom: 8px; }

.lm-resource-card p { font-size: 0.85rem; color: var(--lm-text-light); line-height: 1.55; margin-bottom: 12px; }

.lm-resource-count {
  font-family: var(--lm-font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--lm-coral);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   DEVOTIONAL
   ============================================ */
.lm-devotional {
  background: var(--lm-teal-dark);
  color: var(--lm-white);
}

.lm-devotional .lm-section-title { color: var(--lm-white); }

.lm-devotional-card {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(19,78,74,0.4);
  border: 1px solid rgba(209,250,229,0.15);
  border-radius: var(--lm-radius-lg);
  padding: 48px;
  text-align: center;
}

.lm-devotional-date {
  font-family: var(--lm-font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lm-coral);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.lm-devotional-verse {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--lm-mint);
  line-height: 1.6;
  margin-bottom: 16px;
}

.lm-devotional-ref {
  font-family: var(--lm-font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--lm-salmon);
  margin-bottom: 24px;
}

.lm-devotional-body {
  font-size: 1rem;
  color: rgba(209,250,229,0.7);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* ============================================
   CTA
   ============================================ */
.lm-cta {
  background: linear-gradient(135deg, var(--lm-coral) 0%, var(--lm-coral-dark) 100%);
  color: var(--lm-white);
  text-align: center;
  padding: 80px 0;
}

.lm-cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--lm-white); margin-bottom: 16px; }
.lm-cta p { max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; color: rgba(255,255,255,0.85); }

.lm-btn-white { background: var(--lm-white); color: var(--lm-coral); }
.lm-btn-white:hover { background: var(--lm-mint-soft); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

/* ============================================
   FOOTER
   ============================================ */
.lm-footer {
  background: var(--lm-teal-deep);
  color: rgba(209,250,229,0.6);
  padding: 60px 0 32px;
}

.lm-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.lm-footer-brand p { margin-top: 16px; font-size: 0.88rem; line-height: 1.7; }

.lm-footer h4 { font-family: var(--lm-font-display); font-size: 0.95rem; color: var(--lm-white); margin-bottom: 16px; }

.lm-footer ul li { margin-bottom: 8px; }
.lm-footer ul a { font-size: 0.85rem; transition: color var(--lm-transition); }
.lm-footer ul a:hover { color: var(--lm-coral); }

.lm-footer-bottom {
  border-top: 1px solid rgba(209,250,229,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--lm-font-display);
  font-size: 0.8rem;
}

.lm-footer-social { display: flex; gap: 16px; }

.lm-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(209,250,229,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--lm-transition), border-color var(--lm-transition);
}

.lm-footer-social a:hover { background: var(--lm-teal); border-color: var(--lm-teal); }
.lm-footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .lm-nav-links { display: none; }
  .lm-hamburger { display: flex; }

  .lm-nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 108px;
    left: 0;
    width: 100%;
    background: var(--lm-white);
    padding: 32px 24px;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    z-index: 950;
  }

  .lm-resources-grid { grid-template-columns: repeat(2, 1fr); }
  .lm-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .lm-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .lm-podcast-grid { grid-template-columns: 1fr; }
  .lm-resources-grid { grid-template-columns: 1fr; }
  .lm-devotional-card { padding: 32px 24px; }
  .lm-footer-grid { grid-template-columns: 1fr; }
  .lm-footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .lm-hero-title { font-size: 2rem; }
  .lm-hero-actions { flex-direction: column; }
}
