/* =========================================================
   0. RESET + TRANSICIÓN ENTRE PÁGINAS
   ========================================================= */

body {
  opacity: 1;
  transition: opacity .5s ease-in-out;
}

.fade-out {
  opacity: 0;
}

/* =========================================================
   1. NAVBAR + LOGOS + COLORES PRINCIPALES
   ========================================================= */

/* Navbar base */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* Navbar con scroll */

.navbar.scrolled {
  background-color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Links */

.navbar .nav-link {
  color: #ffffff;
  transition: color 0.3s ease;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 12px;
}

/* Links con scroll */

.navbar.scrolled .nav-link {
  color: #333333 !important;
}

/* Links activos */

#mainNav.navbar-shrink .navbar-brand, #mainNav.navbar-shrink .nav-link:hover, #mainNav.navbar-shrink .navbar-brand:hover, #mainNav .nav-link.active, #mainNav .nav-link.active:hover, #mainNav .nav-link:focus-visible, #mainNav .navbar-nav > li.nav-item > a.nav-link.active {
  color: #008587 !important;
}

/* LOGOS — tamaño global */

.logo {
  height: 48px;
  width: 90px !important;
  transition: 0.3s ease;
}

/* Estado inicial */

.logo-color {
  display: none;
}

.navbar.scrolled .logo-white {
  display: none;
}

.navbar.scrolled .logo-color {
  display: inline;
}

/* =========================================================
   1B. LOGO VERDE EN MÓVILES DESDE EL INICIO
   ========================================================= */

@media (max-width: 768px) {
  #mainNav .logo-white {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #mainNav .logo-color {
    display: inline !important;
  }
}

@media (max-width: 768px) {
  #mainNav.navbar-shrink .logo-white {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #mainNav.navbar-shrink .logo-color {
    display: inline !important;
  }
}

/* =========================================================
   1C. LOGO VERDE CUANDO MENÚ MÓVIL SE DESPLIEGA
   ========================================================= */

#navbarResponsive.show ~ .logo-white, #navbarResponsive.collapsing ~ .logo-white {
  display: none !important;
}

#navbarResponsive.show ~ .logo-color, #navbarResponsive.collapsing ~ .logo-color {
  display: inline !important;
}

/* =========================================================
   2. GLASS CARD STYLE
   ========================================================= */

.glass-card {
  background: rgba(3, 133, 135, 0.18);
  border: 1px solid rgba(3, 133, 135, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  transition: all 0.3s ease-in-out;
}

/* =========================================================
   3. INDICADOR DE SCROLL (MOUSE)
   ========================================================= */

.scroll-mouse {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 10;
  transition: opacity 0.4s ease;
  cursor: pointer;
  text-align: center;
}

.mouse {
  width: 28px;
  height: 46px;
  border: 2px solid #fff;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: start;
  box-shadow: 0 0 8px rgba(255,255,255,0.4);
}

.wheel {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  margin-top: 6px;
  animation: scroll-wheel 1.4s infinite ease-in-out;
  opacity: 0.8;
}

@keyframes scroll-wheel {
  0% {
    transform: translateY(0);
    opacity: 0.8;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.3;
  }
  100% {
    transform: translateY(0);
    opacity: 0.8;
  }
}

/* Remover mouse en móviles */

@media (max-width: 768px) {
  .scroll-mouse {
    display: none !important;
  }
}

/* =========================================================
   4. CARDS + HOVER EFECTOS
   ========================================================= */

.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.scale-on-hover {
  transition: transform 0.4s ease;
}

.scale-on-hover:hover {
  transform: scale(1.05);
}

.card-text {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* =========================================================
   5. BAGUETTEBOX (NO TOCAR)
   ========================================================= */

/* (solo documentación, el archivo se carga aparte) */

/* =========================================================
   6. LINKS SIN SUBRAYADO (SOBREESCRIBE BOOTSTRAP)
   ========================================================= */

a, a:link, a:visited, .nav-link {
  text-decoration: none !important;
}

a:hover, .nav-link:hover {
  text-decoration: none !important;
}

/* Opcional: mantener botones intactos
a:not(.btn),
.nav-link {
  text-decoration: none !important;
}

a:not(.btn):hover,
.nav-link:hover {
  text-decoration: none !important;
} */

