/* ================================================
   CHURCH OF INSPIRATIONAL CHRISTIAN EVANGELICALS
   Official Website Stylesheet
   Designed by Debbie (with God's help)
   "This CSS has been prayed over"
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400&family=Oswald:wght@400;700&display=swap');

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

body {
  background-color: #1a1a5e;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.02) 40px,
      rgba(255,255,255,0.02) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.02) 40px,
      rgba(255,255,255,0.02) 41px
    );
  font-family: 'Lora', 'Times New Roman', serif;
  font-size: 14px;
  color: #222;
  min-height: 100vh;
}

a { color: #8b0000; text-decoration: underline; }
a:hover { color: #cc0000; }

/* ── MARQUEE BAR ── */
.marquee-bar {
  background: linear-gradient(135deg, #8b0000, #cc0000, #8b0000);
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 0;
  border-bottom: 3px solid #ffd700;
  border-top: 3px solid #ffd700;
}

/* ── HEADER ── */
.site-header {
  background: linear-gradient(180deg, #0a0a3d 0%, #1a1a6e 40%, #0d0d4a 100%);
  border-bottom: 5px solid #ffd700;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.header-cross {
  font-size: 72px;
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255,215,0,0.8), 0 0 40px rgba(255,215,0,0.4);
  animation: glowPulse 2s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { text-shadow: 0 0 10px rgba(255,215,0,0.5), 0 0 20px rgba(255,215,0,0.3); }
  to   { text-shadow: 0 0 30px rgba(255,215,0,1), 0 0 60px rgba(255,215,0,0.6); }
}

.church-name {
  font-family: 'Oswald', Arial, sans-serif;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.4;
}

.church-name-big {
  font-size: 32px;
  font-weight: 700;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  display: block;
  line-height: 1.1;
}

.church-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  color: #ddd;
  font-size: 15px;
  margin-top: 8px;
}

.church-location {
  color: #aac4ff;
  font-size: 12px;
  margin-top: 6px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
}

/* ── NAVBAR ── */
.navbar {
  background: linear-gradient(180deg, #8b0000 0%, #6b0000 100%);
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 6px 10px;
  border-bottom: 4px solid #ffd700;
  flex-wrap: wrap;
}

.nav-link {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  color: #fff !important;
  text-decoration: none !important;
  padding: 8px 18px;
  background: linear-gradient(180deg, #a00000, #700000);
  border: 2px outset #cc4444;
  cursor: pointer;
  transition: all 0.1s;
}

.nav-link:hover, .nav-link.active {
  background: linear-gradient(180deg, #ffd700, #cc9900);
  color: #000 !important;
  border: 2px inset #ffaa00;
}

/* ── MAIN LAYOUT ── */
.main-layout {
  display: flex;
  gap: 8px;
  padding: 10px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
}

/* ── SIDEBARS ── */
.sidebar-left, .sidebar-right {
  width: 200px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.center-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── SIDEBAR BOX ── */
.sidebar-box {
  background: linear-gradient(180deg, #fffff0, #f5f5dc);
  border: 2px solid #8b6914;
  border-top: 4px solid #8b0000;
  padding: 10px;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.sidebar-box p { margin-bottom: 6px; }

.sidebar-title {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, #8b0000, #cc0000);
  padding: 4px 8px;
  margin: -10px -10px 10px -10px;
  text-align: center;
  border-bottom: 2px solid #ffd700;
  text-transform: uppercase;
}

/* ── RADIO PLAYER ── */
.radio-player {
  background: #1a1a1a;
  border: 2px inset #444;
  border-radius: 4px;
  padding: 8px;
  text-align: center;
}

.radio-display {
  background: #001100;
  border: 1px inset #00aa00;
  padding: 6px;
  margin-bottom: 6px;
  min-height: 40px;
}

.radio-title {
  color: #00ff00;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  font-weight: bold;
}

.radio-song {
  color: #00cc00;
  font-family: 'Courier New', monospace;
  font-size: 9px;
  margin-top: 2px;
}

.radio-btn {
  background: linear-gradient(180deg, #cc0000, #880000);
  color: #fff;
  border: 2px outset #ff4444;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 12px;
  cursor: pointer;
  letter-spacing: 1px;
  width: 100%;
}

.radio-btn:hover { background: linear-gradient(180deg, #ff0000, #cc0000); }

.radio-wave {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-top: 6px;
  height: 20px;
  align-items: flex-end;
}

.radio-wave span {
  width: 4px;
  background: #00ff00;
  border-radius: 2px;
  animation: wave 0.8s ease-in-out infinite alternate;
}
.radio-wave span:nth-child(1) { animation-delay: 0.0s; }
.radio-wave span:nth-child(2) { animation-delay: 0.1s; }
.radio-wave span:nth-child(3) { animation-delay: 0.2s; }
.radio-wave span:nth-child(4) { animation-delay: 0.1s; }
.radio-wave span:nth-child(5) { animation-delay: 0.0s; }

@keyframes wave {
  from { height: 4px; }
  to   { height: 18px; }
}

/* ── VISITOR COUNTER ── */
.visitor-counter { text-align: center; }
.counter-label { font-size: 11px; color: #555; margin: 3px 0; }
.counter-digits {
  font-family: 'Courier New', monospace;
  font-size: 28px;
  font-weight: bold;
  color: #cc0000;
  background: #000;
  border: 2px inset #444;
  padding: 4px 10px;
  letter-spacing: 4px;
  display: inline-block;
  text-shadow: 0 0 8px #ff0000;
}

/* ── ANIMATED CROSS GIF BOX ── */
.gif-box { text-align: center; }
.animated-cross {
  font-size: 48px;
  color: #ffd700;
  display: block;
  animation: spinCross 4s linear infinite;
  text-shadow: 0 0 15px rgba(255,215,0,0.8);
}
@keyframes spinCross {
  0%   { transform: rotateY(0deg); color: #ffd700; }
  25%  { transform: rotateY(90deg); color: #ff6600; }
  50%  { transform: rotateY(180deg); color: #cc0000; }
  75%  { transform: rotateY(270deg); color: #ff6600; }
  100% { transform: rotateY(360deg); color: #ffd700; }
}
.gif-caption { font-size: 11px; font-style: italic; color: #8b0000; margin-top: 4px; font-weight: bold; }

/* ── SPIRITUAL TEMPERATURE ── */
.spirit-meter {
  background: #ddd;
  border: 2px inset #aaa;
  height: 18px;
  border-radius: 9px;
  overflow: hidden;
  margin: 6px 0;
}
.spirit-bar {
  height: 100%;
  background: linear-gradient(90deg, #cc0000, #ffd700);
  border-radius: 9px;
  width: 0%;
  transition: width 2s ease;
}
.spirit-label { text-align: center; font-size: 11px; font-weight: bold; color: #8b0000; }

/* ── WELCOME BANNER ── */
.welcome-banner {
  background: linear-gradient(135deg, #0a0a3d, #1a1a6e, #0a0a3d);
  border: 3px solid #ffd700;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
}
.welcome-flag { font-size: 40px; }
.welcome-text h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  color: #ffd700;
  letter-spacing: 3px;
  margin-bottom: 6px;
}
.welcome-text p { font-size: 13px; line-height: 1.6; color: #ddd; }

/* ── ANNOUNCEMENT BOX ── */
.announcement-box {
  background: linear-gradient(180deg, #fffef0, #fffde0);
  border: 2px solid #cc9900;
  border-left: 6px solid #cc0000;
  padding: 12px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
.announcement-title {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #8b0000;
  letter-spacing: 2px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px dashed #cc9900;
}
.announcement-list { padding-left: 0; list-style: none; }
.announcement-list li {
  padding: 6px 0;
  border-bottom: 1px dotted #ccc;
  font-size: 12px;
  line-height: 1.5;
}
.announcement-list li:last-child { border-bottom: none; }

/* ── CONTENT BOX ── */
.content-box {
  background: linear-gradient(180deg, #fffff0, #f8f8e8);
  border: 2px solid #8b6914;
  padding: 15px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
.content-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  color: #fff;
  background: linear-gradient(135deg, #8b0000, #cc0000);
  padding: 6px 12px;
  margin: -15px -15px 15px -15px;
  border-bottom: 3px solid #ffd700;
  text-transform: uppercase;
}

/* ── PASTOR MESSAGE ── */
.pastor-message { display: flex; gap: 15px; align-items: flex-start; }
.pastor-photo-frame {
  border: 4px solid #ffd700;
  box-shadow: 3px 3px 8px rgba(0,0,0,0.5);
  min-width: 110px;
}
.pastor-photo {
  background: linear-gradient(180deg, #1a1a6e, #0a0a3d);
  padding: 12px;
  text-align: center;
}
.pastor-silhouette { font-size: 48px; display: block; }
.pastor-caption { color: #ffd700; font-size: 10px; margin-top: 6px; font-style: italic; line-height: 1.4; }
.pastor-text { font-size: 13px; line-height: 1.7; }
.pastor-text p { margin-bottom: 10px; }

/* ── VERSE BOX ── */
.verse-box {
  background: linear-gradient(135deg, #0a0a3d, #1a1a6e);
  border: 3px solid #ffd700;
  padding: 20px;
  text-align: center;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.verse-title {
  font-family: 'Oswald', sans-serif;
  color: #ffd700;
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.verse-text {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 16px;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 10px;
}
.verse-ref {
  font-family: 'Oswald', sans-serif;
  color: #ffd700;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* ── PRAISE ITEMS ── */
.praise-item {
  background: #fffef5;
  border: 1px solid #ddd;
  border-left: 4px solid #ffd700;
  padding: 8px 12px;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.6;
  font-style: italic;
}
.praise-item:last-child { margin-bottom: 0; }

/* ── NEWSLETTER ── */
.newsletter-box {
  background: linear-gradient(135deg, #8b0000, #6b0000);
  border: 3px solid #ffd700;
  padding: 15px;
  color: #fff;
  text-align: center;
}
.newsletter-title {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffd700;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.newsletter-box p { font-size: 12px; line-height: 1.6; margin-bottom: 8px; }
.newsletter-form { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.newsletter-input {
  padding: 8px 12px;
  font-family: 'Lora', serif;
  font-size: 12px;
  border: 2px inset #ccc;
  width: 220px;
}
.newsletter-btn {
  background: linear-gradient(180deg, #ffd700, #cc9900);
  color: #000;
  border: 2px outset #ffaa00;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 8px 14px;
  cursor: pointer;
}
.newsletter-btn:hover { background: linear-gradient(180deg, #ffee44, #ffcc00); }
.signup-msg { margin-top: 8px; font-size: 12px; font-weight: bold; color: #ffd700; }

/* ── BOOK PROMO ── */
.book-promo { text-align: center; }
.book-cover-fake {
  width: 90px;
  height: 120px;
  margin: 0 auto 8px;
  background: linear-gradient(135deg, #8b0000, #cc0000);
  border: 3px solid #ffd700;
  box-shadow: 4px 4px 8px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-cover-inner { text-align: center; padding: 6px; }
.book-title-fake { color: #ffd700; font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 700; line-height: 1.1; margin-bottom: 4px; }
.book-sub-fake { color: #fff; font-size: 8px; font-style: italic; }
.book-cross { color: #ffd700; font-size: 20px; margin-top: 4px; }
.book-promo p { font-size: 11px; margin: 4px 0; }
.order-btn {
  display: inline-block;
  margin-top: 6px;
  background: linear-gradient(180deg, #ffd700, #cc9900);
  color: #000;
  border: 2px outset #ffaa00;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 6px 12px;
  text-decoration: none !important;
  letter-spacing: 1px;
  cursor: pointer;
}

/* ── PRAYER FORM ── */
.prayer-input, .prayer-name, .prayer-select {
  width: 100%;
  margin-bottom: 6px;
  padding: 6px;
  font-family: 'Lora', serif;
  font-size: 11px;
  border: 2px inset #aaa;
  background: #fffff0;
  resize: vertical;
}
.prayer-btn {
  width: 100%;
  background: linear-gradient(180deg, #8b0000, #6b0000);
  color: #ffd700;
  border: 2px outset #cc4444;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 8px;
  cursor: pointer;
}
.prayer-btn:hover { background: linear-gradient(180deg, #cc0000, #8b0000); }
.prayer-msg, .donate-msg { margin-top: 6px; font-size: 11px; font-weight: bold; color: #8b0000; text-align: center; }

/* ── DONATION BUTTONS ── */
.giving-levels { display: flex; flex-direction: column; gap: 5px; margin-top: 6px; }
.give-btn {
  background: linear-gradient(180deg, #fffff0, #f0f0dc);
  color: #8b0000;
  border: 2px outset #8b6914;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 6px;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-align: left;
}
.give-btn:hover { background: linear-gradient(180deg, #ffd700, #cc9900); color: #000; }
.give-btn-gold {
  background: linear-gradient(180deg, #ffd700, #cc9900) !important;
  color: #000 !important;
  border: 2px outset #ffaa00 !important;
}

/* ── APPROVED LINKS ── */
.approved-links { list-style: none; padding: 0; }
.approved-links li { padding: 3px 0; border-bottom: 1px dotted #ccc; font-size: 11px; }
.approved-links li:last-child { border-bottom: none; }

/* ── FOOTER ── */
.site-footer {
  background: linear-gradient(180deg, #0a0a3d, #050520);
  border-top: 5px solid #ffd700;
  margin-top: 15px;
  color: #aaa;
  font-size: 11px;
}
.footer-top {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 2px solid #333;
}
.footer-col { line-height: 1.8; }
.footer-col a { color: #ffd700 !important; font-size: 11px; }
.footer-col b { color: #ffd700; }
.footer-bottom { padding: 12px; text-align: center; }
.footer-flag { color: #fff; font-size: 14px; font-weight: bold; margin-bottom: 8px; letter-spacing: 2px; }
.footer-copy { color: #666; font-size: 10px; margin: 3px 0; font-style: italic; }

/* ── UNDER CONSTRUCTION (for unfinished pages) ── */
.under-construction {
  background: repeating-linear-gradient(
    -45deg,
    #ffd700,
    #ffd700 10px,
    #000 10px,
    #000 20px
  );
  padding: 3px;
  margin: 10px 0;
}
.under-construction-inner {
  background: #fff;
  padding: 20px;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #8b0000;
}

/* ── PAGE CONTENT (for inner pages) ── */
.page-content {
  background: linear-gradient(180deg, #fffff0, #f8f8e8);
  border: 2px solid #8b6914;
  padding: 20px;
  margin: 10px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
.page-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 3px;
  color: #fff;
  background: linear-gradient(135deg, #8b0000, #cc0000);
  padding: 10px 20px;
  margin: -20px -20px 20px -20px;
  border-bottom: 4px solid #ffd700;
  text-transform: uppercase;
}

/* ── SERMON CARD ── */
.sermon-card {
  background: #fffef5;
  border: 1px solid #cc9900;
  border-left: 5px solid #8b0000;
  padding: 12px;
  margin-bottom: 12px;
}
.sermon-title { font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 700; color: #8b0000; }
.sermon-meta { font-size: 11px; color: #888; margin: 4px 0; }
.sermon-desc { font-size: 12px; line-height: 1.6; margin-top: 6px; }
.sermon-tags span {
  background: #8b0000;
  color: #ffd700;
  font-size: 10px;
  font-family: 'Oswald', sans-serif;
  padding: 2px 6px;
  margin-right: 4px;
  font-weight: 700;
  letter-spacing: 1px;
}
