/* ==========================================================================
   MINISTERIO DE JESUCRISTO VID VERDADERA
   Estilo Inspirado en VOUS Church Miami
   Design System: Deep Emerald, Gold, Crisp White, Charcoal
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  /* Colors */
  --emerald-950: #022016;
  --emerald-900: #043927;
  --emerald-800: #064E3B;
  --emerald-700: #0B6E52;
  --emerald-600: #0D9488;
  --emerald-50:  #ECFDF5;

  --gold-500: #D4AF37;
  --gold-400: #E6C687;
  --gold-600: #B38F24;
  --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #B89020 100%);
  --emerald-gradient: linear-gradient(135deg, #064E3B 0%, #022016 100%);

  --white: #FFFFFF;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-400: #94A3B8;
  --slate-600: #475569;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --charcoal: #111827;

  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-accent: 'Outfit', sans-serif;

  /* Shadows & Glass */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.25);
  --shadow-emerald: 0 10px 30px rgba(6, 78, 59, 0.3);

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-dark-bg: rgba(6, 32, 22, 0.85);
  --glass-dark-border: rgba(212, 175, 55, 0.2);

  /* Layout */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Settings */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--slate-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-gold {
  color: var(--gold-500);
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-emerald {
  color: var(--emerald-800);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(6, 78, 59, 0.08);
  color: var(--emerald-800);
  border: 1px solid rgba(6, 78, 59, 0.15);
}

.badge-gold {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-400);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Container */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

.container-narrow {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--emerald-950);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.btn-emerald {
  background-color: var(--emerald-800);
  color: var(--white);
  box-shadow: var(--shadow-emerald);
}

.btn-emerald:hover {
  background-color: var(--emerald-900);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(6, 78, 59, 0.4);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--slate-900);
  border-color: var(--white);
  transform: translateY(-3px);
}

.btn-outline-emerald {
  background: transparent;
  color: var(--emerald-800);
  border: 2px solid var(--emerald-800);
}

.btn-outline-emerald:hover {
  background: var(--emerald-800);
  color: var(--white);
  transform: translateY(-3px);
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 24px 0;
}

.site-header.scrolled {
  background: rgba(4, 32, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  transition: var(--transition);
}

.header-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: var(--transition);
}

.site-header.scrolled .header-logo-img {
  height: 48px;
}

.footer-logo-img {
  height: 75px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.1;
}

.logo-sub {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 26px;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--gold-400);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--gold-400);
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/hero_pastors.jpg');
  background-size: cover;
  background-position: center top;
  color: var(--white);
  padding: 140px 0 100px 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 32, 22, 0.75) 0%,
    rgba(4, 57, 39, 0.85) 50%,
    rgba(2, 32, 22, 0.95) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  margin: 20px 0 24px 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Service Countdown Banner */
.countdown-banner {
  margin-top: 50px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(16px);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.countdown-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--gold-500);
  box-shadow: 0 0 12px var(--gold-500);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.countdown-timer {
  display: flex;
  gap: 16px;
}

.timer-block {
  text-align: center;
}

.timer-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.timer-unit {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

/* SECTION STYLING BASE */
.section {
  padding: 110px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px auto;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-top: 12px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--slate-600);
}

/* SOBRE NOSOTROS (VISION & MISION) */
.about-section {
  background-color: var(--slate-50);
}

.vision-mision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.vm-card {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
}

.vm-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.4);
}

.vm-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(6, 78, 59, 0.08);
  color: var(--emerald-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.vm-card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.vm-card p {
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* NUESTROS PASTORES */
.pastors-section {
  background: var(--white);
}

.pastors-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.pastors-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pastors-image-wrapper img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pastors-image-wrapper:hover img {
  transform: scale(1.03);
}

.pastors-badge-floating {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(4, 32, 22, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  color: var(--white);
}

.pastors-badge-floating span {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-accent);
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pastors-badge-floating h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-top: 2px;
}

.pastors-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-top: 12px;
  margin-bottom: 20px;
}

.pastors-content p {
  font-size: 1.1rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 30px;
}

/* HORARIOS DE SERVICIO */
.schedule-section {
  background: var(--emerald-gradient);
  color: var(--white);
}

.schedule-section .section-title {
  color: var(--white);
}

.schedule-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.schedule-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.schedule-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--gold-400);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.schedule-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.schedule-day {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-400);
}

.schedule-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.schedule-card h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.schedule-main-time {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-400);
  margin-bottom: 24px;
  font-family: var(--font-heading);
}

.schedule-details {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  margin-bottom: 28px;
}

.schedule-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.schedule-detail-item i {
  color: var(--gold-400);
  margin-top: 4px;
}

/* UBICACIÓN */
.location-section {
  background-color: var(--slate-50);
}

.location-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
}

.location-info {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-info h2 {
  font-size: 2.2rem;
  margin-top: 10px;
  margin-bottom: 20px;
}

.address-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--slate-50);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 30px;
}

.address-box i {
  font-size: 1.6rem;
  color: var(--emerald-800);
}

.address-box div h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.address-box div p {
  color: var(--slate-600);
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* MOTIVOS DE ORACIÓN */
.prayer-section {
  background-color: var(--white);
}

.prayer-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate-700);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--slate-900);
  background-color: var(--white);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--emerald-800);
  box-shadow: 0 0 0 4px rgba(6, 78, 59, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* DIEZMOS Y OFRENDAS */
.giving-section {
  background: linear-gradient(135deg, #022016 0%, #064E3B 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.giving-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.giving-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.giving-content h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-top: 16px;
  margin-bottom: 20px;
}

.giving-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  line-height: 1.7;
}

.giving-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.giving-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gold-400);
  font-family: var(--font-accent);
}

/* FACEBOOK FEED SECTION */
.facebook-section {
  background-color: var(--slate-50);
}

.facebook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.fb-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.fb-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.fb-card-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-100);
}

.fb-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fb-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--emerald-800);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.fb-author-info h4 {
  font-size: 0.95rem;
}

.fb-author-info span {
  font-size: 0.75rem;
  color: var(--slate-400);
}

.fb-card-body {
  padding: 20px;
}

.fb-card-body p {
  color: var(--slate-700);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.fb-card-image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 200px;
}

.fb-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--slate-600);
  font-size: 0.85rem;
}

/* GALERÍA MASONRY */
.gallery-section {
  background-color: var(--white);
}

.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--slate-100);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--emerald-800);
  color: var(--white);
  box-shadow: var(--shadow-emerald);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 32, 22, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gold-400);
  letter-spacing: 0.12em;
}

.gallery-title {
  color: var(--white);
  font-size: 1.15rem;
  margin-top: 4px;
}

/* LLAMADO FINAL */
.cta-section {
  position: relative;
  padding: 130px 0;
  background-image: url('images/worship_service.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 57, 39, 0.88) 0%,
    rgba(2, 32, 22, 0.94) 100%
  );
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  margin-top: 16px;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

/* FOOTER */
.site-footer {
  background-color: var(--emerald-950);
  color: rgba(255, 255, 255, 0.75);
  padding: 90px 0 30px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-500);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-400);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-contact-item i {
  color: var(--gold-400);
  margin-top: 4px;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gold-gradient);
  color: var(--emerald-950);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

/* MODALS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
  font-size: 1.2rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--emerald-800);
  color: var(--white);
}

/* Donation Amounts Buttons */
.donation-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.amt-btn {
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--slate-200);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--slate-800);
  transition: var(--transition);
}

.amt-btn.active,
.amt-btn:hover {
  border-color: var(--emerald-800);
  background: rgba(6, 78, 59, 0.08);
  color: var(--emerald-800);
}

/* Lightbox Modal */
.lightbox-modal .modal-box {
  background: transparent;
  box-shadow: none;
  max-width: 900px;
  padding: 0;
}

.lightbox-img-container img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--emerald-900);
  color: var(--white);
  border: 1px solid var(--gold-400);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* RESPONSIVE DESIGN BREAKPOINTS */
@media (max-width: 992px) {
  .pastors-grid,
  .location-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background: var(--emerald-950);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .donation-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .prayer-card {
    padding: 30px 20px;
  }

  .countdown-banner {
    flex-direction: column;
    padding: 16px 20px;
    gap: 12px;
  }
}
