/* Configuración General */
body {
  padding-top: 75px;
  font-family: 'Exo 2', 'Segoe UI', sans-serif;
  background: #f8f9fa;
  color: #333;
}

/* Logo UX: Tamaño corregido para Navbar fija */
.logo-img {
  height: 50px; 
  width: auto;
  transition: transform 0.3s ease;
}

/* Navbar Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 163, 196, 0.2);
}

.nav-btn {
  color: #00557f !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1rem !important;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  color: #00a3c4 !important;
  transform: translateY(-1px);
}

/* Botón Login especial */
.btn-login-nav {
  background: #00557f;
  color: #fff !important;
  border-radius: 25px;
  padding: 0.5rem 1.2rem !important;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 85, 127, 0.2);
}

/* Dropdown Vidrio */
.glass-dropdown {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 163, 196, 0.1);
  border-radius: 10px;
  padding: 0.5rem;
}

.glass-dropdown .dropdown-item {
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  color: #00557f;
}

/* Parallax con Overlay de legibilidad */
.parallax {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: filter 0.2s linear;
}

.overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.35); /* Capa para que el texto sea legible */
}

.overlay.darker { background: rgba(0, 0, 0, 0.1); }

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #004466;
  text-shadow: 0 2px 10px rgba(255,255,255,0.5);
}

.about-title {
  font-size: 1.8rem;
  line-height: 1.4;
  color: #00557f;
}

/* News Section */
.glass-card {
  background: white;
  border-radius: 15px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 85, 127, 0.1);
}

.btn-pdf {
  background: rgba(217, 83, 79, 0.1);
  color: #d9534f;
  border: 1px solid #d9534f;
  font-weight: bold;
  font-size: 0.75rem;
  border-radius: 6px;
}

/* Modal UI */
.glass-modal {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
}

.modal-input {
  height: 50px;
  border: 1px solid #dee2e6;
}

.btn-modal {
  background: linear-gradient(135deg, #00557f, #00a3c4);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: bold;
}

/* Footer UI */
.glass-footer {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0, 163, 196, 0.15);
}

.footer-links a {
  color: #00557f;
  text-decoration: none;
  font-size: 0.85rem;
}

/* Responsividad */
@media (max-width: 991px) {
  body { padding-top: 65px; }
  .navbar-collapse {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    margin-top: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }
  .hero-title { font-size: 2rem; }
  .parallax { background-attachment: scroll; min-height: 50vh; }
  .logo-img { height: 40px; }
}
