/* ============================================================
   Nova Vida em Amendoeira — Estilos Principais
   ============================================================ */

:root {
  --church-blue:      #0b274c;
  --church-blue-light:#1a4a7a;
  --church-gold:       #c9a84c;
  --church-gold-light: #f8d98454;
  --church-dark:       #0b274c;
  --church-light:      #f5f7fa;
  --church-primary:    #0b274c;
  --church-sub:        #171516;
}

/* ---- Tipografia ---- */
body {
  font-family: 'Poppins', sans-serif !important;
  color: var(--church-sub);
  background-color: #ffffff;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand, .section-title {
  font-family: 'Poppins', sans-serif !important;
  color: var(--church-primary);
}

/* ---- Navbar ---- */
#mainNav {
  background: transparent;
  transition: background .35s, box-shadow .35s;
  padding-top: 16px;
  padding-bottom: 16px;
}

#mainNav.scrolled {
  background: var(--church-dark) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  padding-top: 10px;
  padding-bottom: 10px;
}

.navbar-brand { font-family: 'Poppins', sans-serif !important; font-size: 1.1rem; font-weight: 700; }

/* ---- Hero ---- */
.hero-section {
  min-height: 100vh;
  background: url('../images/background.jpg') center/cover no-repeat;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--church-gold-light) 0%, var(--church-gold) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.text-white-75 { color: rgba(255,255,255,.75); }
.text-white-50 { color: rgba(255,255,255,.5); }
.text-white-25 { color: rgba(255,255,255,.25); }

/* ---- Section titles ---- */
.section-title {
  color: var(--church-primary);
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: .75rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--church-gold);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ---- Dark church sections ---- */
.bg-church-dark { background: var(--church-dark); }

/* ---- Service cards (cultos) ---- */
.service-card {
  background: var(--church-light);
  border: 1px solid var(--church-gold) !important;
  color: #fff;
  border-radius: 12px;
  transition: transform .2s, border-color .2s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--church-gold) !important;
}

/* ---- Member cards ---- */
.member-card {
  border-radius: 14px;
  transition: transform .2s, box-shadow .2s;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(11,39,76,.15) !important;
}

.member-photo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 3px solid var(--church-primary);
}

.member-photo-sm {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border: 2px solid var(--church-primary);
}

/* ---- Message cards ---- */
.message-card {
  border-radius: 14px;
  transition: transform .2s, box-shadow .2s;
}

.message-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(11,39,76,.15) !important;
}

/* ---- Event cards ---- */
.event-card {
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s;
}

.event-card:hover { transform: translateY(-4px); }

/* ---- Prayer form ---- */
.prayer-form {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
}

.prayer-form .form-control {
  background: rgba(255,255,255,.1) !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  color: #fff !important;
}

.prayer-form .form-control::placeholder { color: rgba(255,255,255,.5); }
.prayer-form .form-control:focus {
  box-shadow: 0 0 0 3px rgba(201,168,76,.3);
  border-color: var(--church-gold) !important;
}

/* ---- Gallery ---- */
.gallery-item img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

/* ---- Modal overlay (mensagens / galeria) ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-box {
  background: #fff;
  border-radius: 16px;
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
}

/* ---- WhatsApp float button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--church-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px var(--church-gold);
  z-index: 999;
  text-decoration: none;
  transition: transform .2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

/* ---- Utilities ---- */
.bg-white-10 { background: rgba(255,255,255,.1); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-section { min-height: 80vh; }
  .section-title { font-size: 1.5rem; }
  .display-4 { font-size: 2rem; }
}
