/* ============================================
   Prayer777.com – Main Stylesheet
   Calming Christian ministry design
   ============================================ */

:root {
  --navy:      #1d3a6e;
  --navy-deep: #142a52;
  --blue:      #2d5a9b;
  --gold:      #c9a84c;
  --gold-dark: #a8882e;
  --white:     #ffffff;
  --bg:        #f8f9fc;
  --bg-alt:    #eef2fb;
  --text:      #2c3a4a;
  --text-mid:  #4a5a6a;
  --text-light:#8a9aaa;
  --border:    #dce4f0;
  --radius:    10px;
  --shadow:    0 4px 20px rgba(29,58,110,0.10);
  --shadow-lg: 0 8px 40px rgba(29,58,110,0.16);
  --font-body: 'Georgia', 'Times New Roman', serif;
  --font-ui:   'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; height: auto; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── UTILITY ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: all .25s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,.4); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-whatsapp { background: #25d366; color: var(--white); display: inline-flex; align-items: center; gap: 10px; }
.btn-whatsapp:hover { background: #128c7e; color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.35); }

.section-tag {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 4vw, 40px); font-family: var(--font-body); color: var(--navy); font-weight: 700; line-height: 1.25; margin-bottom: 16px; }
.section-sub { color: var(--text-mid); font-size: 17px; max-width: 600px; margin: 0 auto 40px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }

/* ── TOP BAR ── */
.topbar { background: var(--navy-deep); color: rgba(255,255,255,.85); font-size: 13px; padding: 8px 0; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--gold); }
.topbar-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--gold) !important; }
.topbar-phone svg { width: 16px; height: 16px; fill: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 20px; }

/* ── HEADER / NAV ── */
.site-header { background: var(--white); box-shadow: 0 2px 16px rgba(29,58,110,.09); position: sticky; top: 0; z-index: 1000; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.site-logo img { height: 58px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2px; list-style: none; }
.site-nav > li { position: relative; }
.site-nav > li > a { display: block; padding: 10px 13px; color: var(--text); font-weight: 600; font-size: 14px; border-radius: var(--radius); transition: all .2s; white-space: nowrap; }
.site-nav > li > a:hover, .site-nav > li.active > a { color: var(--navy); background: var(--bg-alt); }

/* Dropdown */
.dropdown-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 230px; list-style: none; padding: 8px 0; border: 1px solid var(--border); z-index: 200; }
.site-nav > li:hover .dropdown-menu { display: block; }
.dropdown-menu li a { display: block; padding: 10px 20px; color: var(--text); font-size: 14px; transition: all .2s; }
.dropdown-menu li a:hover { background: var(--bg-alt); color: var(--navy); padding-left: 26px; }
.has-dropdown > a::after { content: ' ▾'; font-size: 10px; }
.nav-cta { white-space: nowrap; }

/* Mobile */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: all .3s; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, #2d5a9b 100%);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://prayer777.com/wp-content/uploads/2024/11/matthew1819-banner.jpg') center/cover no-repeat;
  opacity: 0.10;
}
.hero-content { position: relative; z-index: 1; text-align: center; color: var(--white); max-width: 800px; margin: 0 auto; }
.hero-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero h1 { font-family: var(--font-body); font-size: clamp(32px, 5.5vw, 58px); font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.82); margin-bottom: 16px; line-height: 1.7; }
.hero-free { display: inline-block; border: 1.5px solid var(--gold); color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 6px 20px; border-radius: 50px; margin-bottom: 36px; }
.hero-phone { font-size: clamp(24px, 3.5vw, 36px); font-weight: 700; color: var(--white); display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 8px; }
.hero-phone svg { width: 30px; height: 30px; fill: var(--gold); }
.hero-phone a { color: var(--white); }
.hero-phone a:hover { color: var(--gold); }
.hero-phone-label { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── VERSE BANNER ── */
.verse-banner { background: var(--gold); padding: 30px 0; text-align: center; }
.verse-banner blockquote { font-family: var(--font-body); font-size: clamp(16px, 2.5vw, 21px); color: var(--white); font-style: italic; max-width: 880px; margin: 0 auto; line-height: 1.5; }
.verse-banner cite { display: block; font-style: normal; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.8); margin-top: 8px; letter-spacing: 1px; text-transform: uppercase; }

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg); }

/* ── SERVICES GRID ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 50px; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 36px 28px; box-shadow: var(--shadow); border: 1px solid var(--border); text-align: center; transition: all .3s; text-decoration: none; display: block; color: var(--text); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); color: var(--text); }
.service-icon { width: 70px; height: 70px; background: var(--bg-alt); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 30px; }
.service-card h3 { font-family: var(--font-body); font-size: 19px; color: var(--navy); margin-bottom: 10px; font-weight: 700; }
.service-card p { color: var(--text-mid); font-size: 14px; line-height: 1.6; }
.service-card .card-link { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .5px; }
.service-card:hover .card-link { color: var(--gold-dark); }

/* ── STORY ── */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.story-img img { width: 100%; display: block; }
.story-text p { color: var(--text-mid); margin-bottom: 14px; line-height: 1.8; }

/* ── LANGUAGES ── */
.languages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 14px; margin-top: 40px; }
.lang-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 14px; text-align: center; font-size: 14px; font-weight: 600; color: var(--navy); transition: all .2s; }
.lang-card:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-3px); }

/* ── CTA SECTION ── */
.cta-section { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); padding: 80px 0; text-align: center; color: var(--white); }
.cta-section h2 { font-family: var(--font-body); font-size: clamp(26px, 4vw, 40px); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.78); font-size: 17px; max-width: 560px; margin: 0 auto 32px; }
.cta-phone { font-size: clamp(26px, 4vw, 42px); font-weight: 700; color: var(--gold); display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 28px; }
.cta-phone a { color: var(--gold); }
.cta-phone a:hover { color: var(--white); }
.cta-phone svg { width: 32px; height: 32px; fill: var(--gold); }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT PAGE ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info h3 { font-family: var(--font-body); font-size: 22px; color: var(--navy); margin-bottom: 24px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-detail-icon { width: 46px; height: 46px; background: var(--bg-alt); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px; }
.contact-detail-text strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 4px; }
.contact-detail-text a, .contact-detail-text span { font-size: 17px; font-weight: 600; color: var(--navy); }
.contact-detail-text a:hover { color: var(--gold-dark); }

.contact-form-box { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .8px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 15px; font-family: var(--font-ui); color: var(--text); background: var(--bg); transition: border-color .2s, box-shadow .2s; outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,90,155,.12); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { background: #e8f5e9; color: #2e7d32; padding: 14px 18px; border-radius: 8px; font-weight: 600; margin-bottom: 20px; }

/* ── PAGE HERO ── */
.page-hero { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); padding: 60px 0; text-align: center; color: var(--white); }
.page-hero h1 { font-family: var(--font-body); font-size: clamp(28px, 4vw, 46px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.72); font-size: 17px; max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; }

/* ── PRAYER CARDS ── */
.prayer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.prayer-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow); transition: all .3s; }
.prayer-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.prayer-card h3 { font-family: var(--font-body); color: var(--navy); font-size: 20px; margin-bottom: 12px; }
.prayer-card p { color: var(--text-mid); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 12px; border-radius: 50px; background: var(--bg-alt); color: var(--blue); display: inline-block; margin: 0 4px 6px 0; }

/* ── VIDEO EMBED ── */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ── FLOATING BUTTONS ── */
.float-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.float-wa-btn {
  width: 62px;
  height: 62px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: all .25s;
}
.float-wa-btn:hover { background: #128c7e; transform: scale(1.1); }
.float-wa-btn svg { width: 32px; height: 32px; fill: #fff; }
.float-wa-label {
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: var(--shadow);
  animation: float-pulse 3s ease-in-out infinite;
}
.float-call {
  position: fixed;
  bottom: 104px;
  right: 28px;
  z-index: 9999;
}
.float-call-btn {
  width: 62px;
  height: 62px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(29,58,110,.40);
  transition: all .25s;
  animation: ring 5s ease-in-out infinite;
}
.float-call-btn:hover { background: var(--navy-deep); transform: scale(1.1); animation: none; }
.float-call-btn svg { width: 28px; height: 28px; fill: #fff; }

@keyframes float-pulse {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: .85; transform: translateY(-3px); }
}
@keyframes ring {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-14deg); }
  20% { transform: rotate(14deg); }
  30% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
  50% { transform: rotate(0deg); }
}

/* ── FOOTER ── */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 48px; }
.footer-brand img { height: 52px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 270px; }
.footer-col h4 { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.6); font-size: 14px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; color: rgba(255,255,255,.65); }
.footer-contact-item svg { width: 15px; height: 15px; fill: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: rgba(255,255,255,.72); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.38); }
.footer-bottom a { color: rgba(255,255,255,.48); }
.footer-bottom a:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-img { max-width: 500px; margin: 0 auto; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-nav, .nav-cta { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    z-index: 9998;
    padding: 90px 28px 30px;
    overflow-y: auto;
    gap: 0;
  }
  .site-nav.open > li > a { font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .dropdown-menu { display: block !important; position: static; box-shadow: none; border: none; padding: 6px 0 6px 16px; background: transparent; }
  .dropdown-menu li a { font-size: 15px; color: var(--text-mid); padding: 8px 0; }
  .nav-toggle { display: flex; z-index: 9999; position: relative; }
  .topbar-right { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-whatsapp { bottom: 20px; right: 16px; }
  .float-call { bottom: 96px; right: 16px; }
  .contact-form-box { padding: 24px 18px; }
}
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .hero { padding: 60px 0; }
  .hero-ctas .btn { width: 100%; }
  .float-wa-label { display: none; }
}
