/* =========================================
   global.css - ESTILOS COMUNES (Header, Footer, Bases)
   ========================================= */

/* 1. VARIABLES Y FUENTES */
:root {
  --kd-blue: #0c2d48;
  --kd-yellow: #f5a623;
}

h1,
h2,
h3,
h4,
.navbar-brand {
  font-family: "Montserrat", sans-serif;
}

body {
  font-family: "Roboto", sans-serif;
  opacity: 0;
  animation: fadeInPage 1s ease-out forwards;
}

@keyframes fadeInPage {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 2. UTILIDADES GENERALES */
.text-warning {
  color: var(--kd-yellow) !important;
}

.btn-warning {
  background-color: var(--kd-yellow);
  border: none;
  color: #000;
  font-weight: 800;
  text-shadow: none !important;
}
.btn-warning:hover {
  background-color: #ffca2c;
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.6);
}

/* Fondo fijo base (La imagen se define en el HTML de cada pág) */
.body-fixed-bg {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
}

/* 3. NAVBAR (ENCABEZADO) */
.navbar {
  background-color: #0c2d48 !important;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  transition: padding 0.3s ease;
}

.navbar-nav .nav-link {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: none;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #000000 !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

@media (max-width: 991px) {
  .navbar-collapse {
    background-color: #0c2d48;
    padding: 1rem;
    border-radius: 0 0 10px 10px;
  }
}

/* 4. FOOTER (PIE DE PÁGINA) */
.bg-corporate {
  background-color: #0c2d48 !important;
}

.social-icon {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s ease;
  text-decoration: none !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  text-shadow: none !important;
}

.social-fb {
  background-color: #1877f2;
  color: white !important;
}
.social-wa {
  background-color: #25d366;
  color: white !important;
}
.social-em {
  background-color: var(--kd-yellow);
  color: #000 !important;
}
.social-ig {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  color: white !important;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  filter: brightness(1.2);
}
