/* ============================================
   EL-SHADDAI MIRACLE CENTRE INTERNATIONAL
   Main Stylesheet
   ============================================ */

/* --- CSS Variables / Theme --- */
:root {
  /* Faith Tabernacle-inspired color scheme: deep navy, royal blue, gold */
  --primary-dark: #001a33;
  --primary-blue: #003366;
  --primary-navy: #00264d;
  --accent-red: #cc3300;
  --accent-gold: #d4a017;
  --accent-light-blue: #336699;
  --winners-blue: #003366;
  --winners-gold: #d4a017;
  --winners-dark: #001a33;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --light-gray: #e4e8ec;
  --medium-gray: #5a6a7a;
  --dark-gray: #2c3e50;
  --text-dark: #1a1a2e;
  --text-light: #f0f2f5;
  --shadow-sm: 0 2px 4px rgba(0,26,51,0.1);
  --shadow-md: 0 4px 12px rgba(0,26,51,0.15);
  --shadow-lg: 0 8px 24px rgba(0,26,51,0.2);
  --transition: all 0.3s ease;
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Open Sans', 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--primary-dark);
}

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

/* --- Top Bar --- */
.top-bar {
  background: var(--primary-dark);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar a {
  color: var(--accent-gold);
}

.top-bar a:hover {
  color: var(--white);
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-right .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.8rem;
  transition: var(--transition);
}

.top-bar-right .social-icons a:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

/* --- Header / Navbar --- */
.main-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

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

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

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .church-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

.logo-text .church-motto {
  font-size: 0.75rem;
  color: var(--accent-red);
  font-style: italic;
}

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

.nav-links a {
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
  border-radius: 4px;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-red);
  background: rgba(192, 57, 43, 0.06);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-red);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

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

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Slider --- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: var(--primary-navy);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,26,51,0.9) 0%, rgba(0,51,102,0.75) 50%, rgba(204,51,0,0.4) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 30px;
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-content h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  opacity: 0.95;
}

.slide-content .verse {
  font-style: italic;
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 25px;
  display: block;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.btn-primary:hover {
  background: #a93226;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
}

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

.btn-gold:hover {
  background: #b8860b;
  color: var(--white);
  transform: translateY(-2px);
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,0.4);
  color: var(--white);
  border: none;
  padding: 15px 18px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--accent-red);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* --- Quick Info Strips --- */
.quick-info {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0;
}

.quick-info .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.info-card {
  padding: 30px 25px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}

.info-card:last-child {
  border-right: none;
}

.info-card:hover {
  background: rgba(255,255,255,0.05);
}

.info-card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--accent-gold);
}

.info-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.5;
}

/* --- Section Styles --- */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--primary-navy);
  color: var(--text-light);
}

.section-light {
  background: var(--off-white);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-red);
  margin: 15px auto 0;
}

.section-dark .section-title h2 {
  color: var(--white);
}

.section-title p {
  font-size: 1.05rem;
  color: var(--medium-gray);
  max-width: 650px;
  margin: 0 auto;
}

.section-dark .section-title p {
  color: rgba(255,255,255,0.7);
}

/* --- Welcome / About Section --- */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.welcome-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

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

.welcome-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.welcome-text p {
  margin-bottom: 15px;
  color: var(--medium-gray);
}

.welcome-text .highlight {
  color: var(--accent-red);
  font-weight: 600;
  font-style: italic;
  font-size: 1.1rem;
  border-left: 3px solid var(--accent-red);
  padding-left: 15px;
  margin: 20px 0;
}

/* --- Service Times --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-top: 4px solid var(--accent-red);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card .icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-card .time {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--medium-gray);
}

/* --- Beliefs / Doctrinal Section --- */
.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.belief-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent-gold);
  transition: var(--transition);
}

.belief-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.belief-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary-blue);
}

.belief-card p {
  font-size: 0.92rem;
  color: var(--medium-gray);
  line-height: 1.7;
}

/* --- Prayer Section --- */
.prayer-section {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--winners-blue) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.prayer-section h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.prayer-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  opacity: 0.9;
}

.prayer-form {
  max-width: 600px;
  margin: 0 auto;
}

.prayer-form input,
.prayer-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 15px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

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

.prayer-form input:focus,
.prayer-form textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(255,255,255,0.15);
}

.prayer-form textarea {
  height: 120px;
  resize: vertical;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--medium-gray);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 15px;
  border: 2px solid var(--light-gray);
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

/* --- Map Section --- */
.map-section {
  width: 100%;
  height: 350px;
  background: var(--light-gray);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Footer --- */
.main-footer {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h3 {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.footer-about p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 15px;
}

.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-about .footer-logo img {
  height: 55px;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  opacity: 0.75;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-contact p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 60%, var(--accent-gold) 100%);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,160,23,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-header .breadcrumb {
  font-size: 0.9rem;
  opacity: 0.75;
}

.page-header .breadcrumb a {
  color: var(--accent-gold);
}

/* --- Content Page --- */
.content-page {
  padding: 60px 0;
}

.content-page .content-body {
  max-width: 900px;
  margin: 0 auto;
}

.content-body h2 {
  font-size: 1.8rem;
  margin: 30px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-gray);
}

.content-body h3 {
  font-size: 1.3rem;
  margin: 25px 0 10px;
  color: var(--primary-blue);
}

.content-body p {
  margin-bottom: 15px;
  color: #444;
}

.content-body .scripture {
  background: var(--off-white);
  border-left: 4px solid var(--accent-gold);
  padding: 15px 20px;
  margin: 15px 0;
  font-style: italic;
  color: var(--primary-dark);
  border-radius: 0 6px 6px 0;
}

/* --- Prayer Points List --- */
.prayer-list {
  max-width: 900px;
  margin: 0 auto;
}

.prayer-point {
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent-red);
}

.prayer-point h3 {
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.prayer-point p {
  color: #444;
  margin-bottom: 10px;
}

.prayer-point .verse {
  background: var(--off-white);
  padding: 12px 16px;
  border-radius: 4px;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--primary-dark);
  border-left: 3px solid var(--accent-gold);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 15px;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-slider {
    height: 450px;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .quick-info .container {
    grid-template-columns: 1fr;
  }

  .info-card {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  .welcome-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .hero-slider {
    height: 380px;
  }

  .slide-content h1 {
    font-size: 1.6rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 1.7rem;
  }

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

  .top-bar {
    display: none;
  }

  .logo img {
    height: 50px;
  }

  .logo-text .church-name {
    font-size: 1rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--accent-red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  display: flex;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* --- Announcement Bar --- */
.announcement-bar {
  background: var(--accent-gold);
  color: var(--primary-dark);
  text-align: center;
  padding: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.announcement-bar a {
  color: var(--accent-red);
  text-decoration: underline;
}

/* --- Livestream Banner --- */
.livestream-banner {
  background: linear-gradient(90deg, var(--accent-red), #e74c3c);
  color: var(--white);
  text-align: center;
  padding: 12px;
  font-weight: 600;
}

.livestream-banner .pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-red { color: var(--accent-red); }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.mb-40 { margin-bottom: 40px; }
