/*
Theme Name: Beyond the Message
Theme URI: https://beyondthemessage.org
Author: Beyond the Message Team
Author URI: https://beyondthemessage.org
Description: A modern, faith-inspired WordPress theme using Stackable Premium and Full Site Editing.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beyondthemessage
Tags: full-site-editing, block-theme, faith, inspirational, blog, podcast
*/

/* Theme base styles */
body {
  font-family: system-ui, sans-serif;
  background: #f8fafc;
  color: #334155;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: #1e3a8a;
  font-weight: 700;
}

a {
  color: #1e3a8a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input[type="submit"] {
  background-color: #facc15;
  color: #1e3a8a;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: bold;
  cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
  opacity: 0.9;
}
/* ---------- BEYOND THE MESSAGE BASE ---------- */
.btm-main {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #334155;
  line-height: 1.7;
  padding: 0;
}

/* HERO */
.btm-hero {
  background: linear-gradient(rgba(30,58,138,0.8), rgba(30,58,138,0.8)),
              url('/wp-content/themes/beyondthemessage/assets/hero-bg.jpg') center/cover no-repeat;
  color: #f8fafc;
  text-align: center;
  padding: 5rem 1rem;
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: .5rem;
}
.hero-sub {
  font-size: 1.25rem;
  color: #facc15;
}

/* DIG DEEPER */
.btm-digdeeper {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}
.btm-digdeeper .intro { max-width: 700px; margin: 0 auto 2rem; }
.deeper-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #f8fafc;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.card h3 { color: #1e3a8a; margin-bottom: .5rem; }
.card p { margin-bottom: 1rem; }
.btn {
  display: inline-block;
  padding: .5rem 1rem;
  background: #1e3a8a;
  color: #fff;
  border-radius: .5rem;
  font-weight: 600;
  transition: opacity .3s;
}
.btn.gold { background: #facc15; color: #1e3a8a; }
.btn:hover { opacity: .85; }

/* FILL THE BOX */
.btm-fillbox {
  background: #1e3a8a;
  color: #f8fafc;
  padding: 4rem 2rem;
  text-align: center;
}
.fillbox-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.fillbox-img {
  width: 280px;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.fillbox-text ul {
  list-style: none;
  padding: 0;
  text-align: left;
}
.fillbox-text li { margin: .5rem 0; font-size: 1.1rem; }

/* BONUS */
.btm-bonus {
  background: #facc15;
  color: #1e3a8a;
  padding: 2rem;
  text-align: center;
  font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .fillbox-content { flex-direction: column; }
}


/* ---------- BEYOND THE MESSAGE BASE ---------- */
.btm-main {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #334155;
  line-height: 1.7;
  padding: 0;
}

/* HERO */
.btm-hero {
  background: linear-gradient(rgba(30,58,138,0.8), rgba(30,58,138,0.8)),
              url('/wp-content/themes/beyondthemessage/assets/hero-bg.jpg') center/cover no-repeat;
  color: #f8fafc;
  text-align: center;
  padding: 5rem 1rem;
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: .5rem;
}
.hero-sub {
  font-size: 1.25rem;
  color: #facc15;
}

/* DIG DEEPER */
.btm-digdeeper {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}
.btm-digdeeper .intro { max-width: 700px; margin: 0 auto 2rem; }
.deeper-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #f8fafc;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.card h3 { color: #1e3a8a; margin-bottom: .5rem; }
.card p { margin-bottom: 1rem; }
.btn {
  display: inline-block;
  padding: .5rem 1rem;
  background: #1e3a8a;
  color: #fff;
  border-radius: .5rem;
  font-weight: 600;
  transition: opacity .3s;
}
.btn.gold { background: #facc15; color: #1e3a8a; }
.btn:hover { opacity: .85; }

/* FILL THE BOX */
.btm-fillbox {
  background: #1e3a8a;
  color: #f8fafc;
  padding: 4rem 2rem;
  text-align: center;
}
.fillbox-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.fillbox-img {
  width: 280px;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.fillbox-text ul {
  list-style: none;
  padding: 0;
  text-align: left;
}
.fillbox-text li { margin: .5rem 0; font-size: 1.1rem; }

/* BONUS */
.btm-bonus {
  background: #facc15;
  color: #1e3a8a;
  padding: 2rem;
  text-align: center;
  font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .fillbox-content { flex-direction: column; }
}


/* ---------- ANGEL CHAT STYLES ---------- */
.angel-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9999;
}
.angel-btn img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(250,204,21,0.6);
  transition: transform .3s ease;
}
.angel-btn:hover img { transform: scale(1.08); }

.angel-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
.angel-modal-content {
  background: #fff;
  color: #1e3a8a;
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: relative;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #334155;
}
#angelQuestion {
  width: 100%;
  height: 100px;
  margin: 1rem 0;
  border-radius: .5rem;
  border: 1px solid #ccc;
  padding: .5rem;
  font-family: inherit;
}
.angel-response {
  margin-top: 1rem;
  font-style: italic;
  color: #334155;
}
