/* ============================================
   GOLDEN ROADS MINISTRY — Static Site Styles
   Design: Deep navy + warm gold + soft cream
   Type: Playfair Display (display) + Inter (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy:      #1a2744;
  --navy-dark: #111a30;
  --gold:      #c9a84c;
  --gold-light:#e8c97a;
  --cream:     #f8f4ee;
  --cream-dark:#ede7db;
  --white:     #ffffff;
  --text:      #2c2c2c;
  --text-muted:#6b6b6b;
  --radius:    6px;
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { color: var(--text-muted); line-height: 1.75; }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.nav-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

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

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

.nav-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-social a {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  transition: color var(--transition);
}

.nav-social a:hover { color: var(--gold); }

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Signature element: cross of light rays */
.hero-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  opacity: 0.04;
  pointer-events: none;
}

.hero-cross::before,
.hero-cross::after {
  content: '';
  position: absolute;
  background: var(--gold);
}

.hero-cross::before {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.hero-cross::after {
  width: 100%;
  height: 2px;
  top: 38%;
  left: 0;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero h1 {
  color: var(--white);
  max-width: 700px;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p {
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.hero-video {
  width: 100%;
  max-width: 780px;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.25);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  margin-top: 1rem;
}

.hero-video video,
.hero-video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: rgba(201,168,76,0.1);
  color: var(--gold-light);
}

/* ── Section base ── */
.section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-full {
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-header p {
  max-width: 520px;
  margin: 0 auto;
}

/* divider */
.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem auto 0;
}

/* ── Quick links strip ── */
.quicklinks {
  background: var(--navy);
  padding: 2rem;
}

.quicklinks-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.quicklink-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  text-align: center;
  transition: all var(--transition);
}

.quicklink-card:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.quicklink-card .icon { font-size: 1.5rem; }
.quicklink-card span { font-size: 0.85rem; font-weight: 500; color: inherit; }

/* ── Studies grid ── */
.studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.study-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.study-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26,39,68,0.12);
  border-color: var(--gold);
}

.study-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--navy);
  display: block;
}

.study-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.6;
}

.study-info {
  padding: 1.25rem;
}

.study-tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: block;
}

.study-info h3 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.study-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.study-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* loading / empty states */
.loading-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--cream-dark);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Prayer Wall ── */
.prayer-section {
  background: var(--navy-dark);
  color: var(--white);
}

.prayer-section .section-header h2 { color: var(--white); }
.prayer-section .section-header p { color: rgba(255,255,255,0.6); }

.prayer-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.prayer-posts {
  max-width: 600px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.prayer-post {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.prayer-post-name {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.prayer-post p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin: 0;
}

/* ── Events ── */
.events-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-card {
  display: flex;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.5rem;
  align-items: flex-start;
  transition: all var(--transition);
}

.event-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(26,39,68,0.08);
}

.event-date {
  min-width: 56px;
  text-align: center;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 0.6rem 0.4rem;
  color: var(--white);
}

.event-date .month {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.event-date .day {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.event-info h3 { color: var(--navy); margin-bottom: 0.25rem; }
.event-info p { font-size: 0.875rem; margin: 0; }
.event-time { font-size: 0.78rem; color: var(--gold); font-weight: 500; margin-top: 0.25rem; }

/* ── Live Study ── */
.live-section {
  background: var(--navy-dark);
  text-align: center;
}

.live-section .section { max-width: 900px; }
.live-section h2 { color: var(--white); }
.live-section p { color: rgba(255,255,255,0.6); }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(220,38,38,0.15);
  border: 1px solid rgba(220,38,38,0.4);
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #f87171;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.live-embed {
  width: 100%;
  max-width: 780px;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.2);
  margin: 1.5rem auto 0;
}

.live-embed iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── Bible Study Request ── */
.request-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 2rem;
}

.request-form .form-group label { color: var(--text); }

.request-form input,
.request-form textarea,
.request-form select {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  color: var(--text);
}

.request-form input:focus,
.request-form textarea:focus,
.request-form select:focus {
  outline: none;
  border-color: var(--gold);
}

.request-form input::placeholder,
.request-form textarea::placeholder {
  color: var(--text-muted);
}

.request-form select option { background: var(--white); color: var(--text); }

/* ── Women's Ministry ── */
.womens-hero {
  background: linear-gradient(135deg, #2d1b4e 0%, #1a2744 100%);
  padding: 5rem 2rem;
  text-align: center;
  color: var(--white);
}

.womens-hero h1 { color: var(--white); margin-bottom: 1rem; }
.womens-hero p { color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto; }

.womens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.womens-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}

.womens-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(26,39,68,0.08);
}

.womens-card .card-icon { font-size: 2rem; margin-bottom: 1rem; }
.womens-card h3 { color: var(--navy); margin-bottom: 0.5rem; }

/* ── Footer ── */
footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 3rem 2rem 2rem;
  color: rgba(255,255,255,0.5);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p { font-size: 0.875rem; margin-top: 0.75rem; max-width: 240px; }

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col ul a { color: rgba(255,255,255,0.5); font-size: 0.875rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold); }

.footer-social { display: flex; gap: 1rem; margin-top: 0.75rem; }
.footer-social a { color: rgba(255,255,255,0.5); font-size: 0.875rem; transition: color var(--transition); }
.footer-social a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy);
  border: 1px solid var(--gold);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show { transform: translateY(0); opacity: 1; }

/* ── Page header (inner pages) ── */
.page-header {
  background: var(--navy-dark);
  padding: 7rem 2rem 3.5rem;
  text-align: center;
}

.page-header h1 { color: var(--white); }
.page-header p { color: rgba(255,255,255,0.6); max-width: 520px; margin: 0.75rem auto 0; }
.page-header .eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--navy-dark);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(201,168,76,0.2);
    gap: 1.25rem;
  }
  .hamburger { display: flex; }
  .nav-social { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
  .event-card { flex-direction: column; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
