/* ==========================================================================
   COPLA (Comité Permanente Latino Americano) - Custom Stylesheet
   Designed for institutional authority, responsive modern UI, and accessibility
   ========================================================================== */

:root {
  --color-copla-blue: #1E3A8A;
  --color-copla-blue-dark: #172554;
  --color-copla-blue-light: #2563EB;
  --color-copla-red: #DC2626;
  --color-copla-red-dark: #991B1B;
  --color-copla-gold: #F59E0B;
  --color-copla-gold-dark: #D97706;
}

html {
  scroll-behavior: smooth;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Glassmorphism Navigation */
.nav-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Gradient text accents */
.text-gradient-civic {
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 50%, #DC2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Badge Glow */
.glow-torch {
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
}

/* Card hover transitions */
.feature-card {
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
}

/* Custom Torch flame animation */
@keyframes flameFlicker {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
  }
  50% {
    transform: scale(1.04) rotate(1deg);
    filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.85));
  }
}

.animate-flame {
  animation: flameFlicker 2.5s ease-in-out infinite;
}

/* Tab active indicator */
.tab-btn.active {
  background-color: #1E3A8A;
  color: #ffffff;
  border-color: #1E3A8A;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

/* Program selection highlight */
.program-card.selected {
  border-color: #F59E0B;
  box-shadow: 0 0 0 2px #F59E0B;
}

/* Toast Notification */
#toast-notification {
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

/* Print Stylesheet for official assembly grant proposals */
@media print {
  .no-print, header, nav, #admin-modal, #toast-notification, .bg-banner-top {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .feature-card, .program-card {
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
}
