/* ==========================================================================
   IGLESIA CRISTIANA CGS - ESTILOS PERSONALIZADOS & DESIGN SYSTEM
   Paleta: Azul Profundo (#1F3A8A / #2B3A8C), Celeste (#0284C7 / #38BDF8),
   Fondo (#FFFFFF / #F8FAFC), Texto (#0F172A), Acento Dorado (#F59E0B)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700;800;900&display=swap');

:root {
  --color-primary-dark: #1E293B;
  --color-primary-navy: #1F3A8A;
  --color-primary-royal: #2B3A8C;
  --color-secondary-cyan: #0284C7;
  --color-secondary-sky: #38BDF8;
  --color-accent-gold: #F59E0B;
  --color-bg-base: #FFFFFF;
  --color-bg-subtle: #F8FAFC;
  --color-text-dark: #0F172A;
  --color-text-muted: #64748B;
  --radius-card: 1.25rem; /* rounded-2xl */
}

/* Tipografía base */
body {
  font-family: 'Inter', sans-serif;
  color: var(--color-text-dark);
  background-color: var(--color-bg-subtle);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Poppins', sans-serif;
}

/* Glassmorphism */
.glass-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Overlay Gradients */
.hero-gradient-overlay {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(31, 58, 138, 0.82) 50%,
    rgba(2, 132, 199, 0.75) 100%
  );
}

.subtle-mesh-bg {
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 10% 20%, rgba(2, 132, 199, 0.06) 0px, transparent 50%),
    radial-gradient(at 90% 80%, rgba(31, 58, 138, 0.06) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(56, 189, 248, 0.04) 0px, transparent 50%);
}

/* Suaves microinteracciones */
.hover-lift {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.12);
}

.hover-scale {
  transition: transform 0.3s ease;
}
.hover-scale:hover {
  transform: scale(1.03);
}

/* Animaciones suaves */
@keyframes pulse-soft {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}

.animate-pulse-soft {
  animation: pulse-soft 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Badge Live Pulsing */
.live-dot {
  position: relative;
}
.live-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: currentColor;
  animation: live-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes live-ping {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.4);
    opacity: 0;
  }
}

/* Modal Transitions */
.modal-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.active .modal-content {
  transform: scale(1) translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Toast Notification */
#toast-notification {
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
#toast-notification.show {
  transform: translateY(0);
}

/* Hide scrollbar for mobile touch carousels/filter bars */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

