/* css/custom.css */

:root {
  --primary: #003366;
  --secondary: #228B22;
  --light: #f8f9fa;
  --dark: #212529;
}

[data-bs-theme="dark"] {
  --bs-body-bg: #000;
  --bs-body-color: #e0e0e0;
  --primary: #6699cc;
  --secondary: #4CAF50;
  --bs-nav-link-color: #e0e0e0;
}

body {
  font-family: 'Roboto', sans-serif;
  scroll-behavior: smooth;
  background-color: #fff;
  color: var(--dark);
}

.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: white;
}

.quick-link-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.card-title {
  min-height: 3em;
}

footer a {
  transition: color 0.2s;
}

footer a:hover {
  color: var(--secondary) !important;
}

/* Animación fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .hero-section {
    min-height: 50vh;
  }
  h1.display-4 {
    font-size: 2.5rem;
  }
}