/* ===== ProphecyTheBibleStudy.com — Global Styles ===== */

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

:root {
  --navy:      #1a2340;
  --navy-mid:  #243060;
  --gold:      #c8922a;
  --gold-light:#e8b84b;
  --cream:     #f8f4ef;
  --white:     #ffffff;
  --text-dark: #1e1e2e;
  --text-mid:  #4a4a5a;
  --border:    #ddd8d0;
  --shadow:    0 2px 12px rgba(0,0,0,0.10);
}

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

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

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.3;
}

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

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--navy);
  color: #aab0c8;
  font-size: 13px;
  text-align: center;
  padding: 6px 20px;
  letter-spacing: 0.4px;
}
.top-bar a { color: var(--gold-light); }

/* ===== HEADER / NAV ===== */
header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.logo a {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  line-height: 1.2;
}
.logo span { color: var(--gold); }
.logo small {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.7rem;
  color: #aab0c8;
  font-weight: 300;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  align-items: center;
}
nav ul li a {
  color: #d0d6e8;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
nav ul li a:hover,
nav ul li a.active {
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3060 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 20px 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; max-width: 800px; margin: 0 auto; }
.hero h1 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1.15rem;
  color: #c8cfe8;
  margin-bottom: 30px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 13px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover { background: var(--gold-light); text-decoration: none; color: var(--navy); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  margin-left: 12px;
}
.btn-outline:hover { background: var(--gold); color: var(--white); }

/* ===== SCROLL BANNER ===== */
.scroll-banner {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  padding: 14px 20px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
}

/* ===== SECTIONS ===== */
.section { padding: 64px 20px; }
.section-alt { background: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.container { max-width: 1100px; margin: 0 auto; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 { font-size: 2rem; margin-bottom: 10px; }
.section-header p { color: var(--text-mid); max-width: 600px; margin: 0 auto; }
.section-header .divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ===== START HERE NOTICE ===== */
.start-here-notice {
  background: linear-gradient(135deg, #fff8e8, #fff3d0);
  border: 2px solid var(--gold);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.start-here-notice .icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.start-here-notice h3 { color: var(--navy); margin-bottom: 6px; font-size: 1.15rem; }
.start-here-notice p { color: var(--text-mid); font-size: 0.95rem; margin: 0; }

/* ===== STUDY CARDS ===== */
.study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.study-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--border);
}
.study-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.study-card.featured { border-top-color: var(--gold); }

.study-card-num {
  background: var(--navy);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.study-card.featured .study-card-num {
  background: var(--gold);
}
.study-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.study-card-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.study-card-body p { color: var(--text-mid); font-size: 0.92rem; flex: 1; margin-bottom: 18px; }
.study-card .btn-sm {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s;
}
.study-card .btn-sm:hover { background: var(--gold); text-decoration: none; }

/* Badge */
.badge {
  display: inline-block;
  background: #fff3d0;
  color: #8a5e00;
  border: 1px solid var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* ===== FEATURED STUDY (Home) ===== */
.featured-study-wrap {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 10px;
  padding: 36px 40px;
  color: var(--white);
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}
.featured-study-wrap .icon { font-size: 4rem; flex-shrink: 0; }
.featured-study-wrap h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 10px; }
.featured-study-wrap p { color: #c0c8e0; margin-bottom: 18px; }

/* ===== RESOURCES ===== */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.resource-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 26px;
  text-align: center;
  border-bottom: 4px solid var(--navy);
  transition: transform 0.2s;
}
.resource-card:hover { transform: translateY(-3px); }
.resource-card .icon { font-size: 2.5rem; margin-bottom: 14px; }
.resource-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.resource-card p { color: var(--text-mid); font-size: 0.88rem; margin-bottom: 16px; }
.resource-card .btn-sm {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 9px 22px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.resource-card .btn-sm:hover { background: var(--navy); text-decoration: none; }

/* ===== VIDEO EMBED ===== */
.video-placeholder {
  background: var(--navy);
  border-radius: 8px;
  padding: 60px 20px;
  text-align: center;
  color: var(--white);
  border: 2px dashed #3a4570;
  margin: 28px 0;
}
.video-placeholder .icon { font-size: 3rem; margin-bottom: 14px; }
.video-placeholder p { color: #aab0c8; font-size: 0.9rem; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; margin: 28px 0; box-shadow: var(--shadow); }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.about-photo {
  background: var(--navy);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow);
}
.about-photo .icon { font-size: 5rem; margin-bottom: 14px; }
.about-photo h3 { color: var(--white); margin-bottom: 4px; }
.about-photo p { color: #aab0c8; font-size: 0.85rem; }
.about-content h2 { font-size: 1.9rem; margin-bottom: 16px; }
.about-content p { color: var(--text-mid); margin-bottom: 14px; }

/* ===== VERSE BLOCK ===== */
.verse-block {
  background: var(--navy);
  color: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  margin: 28px 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
}
.verse-block cite {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-top: 10px;
}

/* ===== STUDY PAGE ===== */
.study-nav {
  background: var(--white);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
.study-nav h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-mid); margin-bottom: 12px; }
.study-nav ol { padding-left: 20px; }
.study-nav ol li { margin-bottom: 6px; font-size: 0.92rem; }
.study-nav ol li a { color: var(--navy); }
.study-nav ol li.current a { color: var(--gold); font-weight: 600; }

.study-content h2 { font-size: 1.5rem; margin: 32px 0 12px; color: var(--navy); }
.study-content p { color: var(--text-mid); margin-bottom: 16px; }
.study-content ul { padding-left: 22px; margin-bottom: 16px; color: var(--text-mid); }
.study-content ul li { margin-bottom: 6px; }

.prev-next {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  gap: 16px;
  flex-wrap: wrap;
}
.prev-next a {
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  max-width: 48%;
}
.prev-next a:hover { background: var(--gold); text-decoration: none; }
.prev-next .next-link { text-align: right; margin-left: auto; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 52px 20px 44px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 10px; }
.page-hero p { color: #c0c8e0; max-width: 600px; margin: 0 auto; }
.breadcrumb { font-size: 0.8rem; color: #8892b0; margin-bottom: 12px; letter-spacing: 0.3px; }
.breadcrumb a { color: var(--gold-light); }

/* ===== NEWSLETTER ===== */
.newsletter {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  padding: 56px 20px;
  text-align: center;
  color: var(--white);
}
.newsletter h2 { color: var(--white); margin-bottom: 10px; }
.newsletter p { color: #c0c8e0; margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 500px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border-radius: 4px;
  border: none;
  font-size: 0.95rem;
  font-family: 'Open Sans', sans-serif;
}
.newsletter-form button {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 12px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Open Sans', sans-serif;
}
.newsletter-form button:hover { background: var(--gold-light); color: var(--navy); }

/* ===== FOOTER ===== */
footer {
  background: #101525;
  color: #8892b0;
  padding: 52px 20px 28px;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo a { font-size: 1.2rem; }
.footer-brand p { margin-top: 12px; font-size: 0.88rem; line-height: 1.6; }
footer h4 { color: var(--white); font-family: 'Open Sans', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; font-weight: 700; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: #8892b0; font-size: 0.88rem; text-decoration: none; transition: color 0.2s; }
footer ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid #1e2840;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .featured-study-wrap { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 16px; gap: 4px; }
  nav ul.open { display: flex; }
  .menu-toggle { display: block; }
  header { position: relative; }
  .header-inner { position: relative; }
  .prev-next a { max-width: 100%; }
}
