/* -------------------------------------
   1. ESTILOS BASE GENERALES
------------------------------------- */
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* Previene scroll horizontal */
  font-family: 'Montserrat', sans-serif;
}

/* -------------------------------------
   2. NAVEGACIÓN Y LOGO
------------------------------------- */

/* Navbar fijo con transición suave */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: top 0.4s ease;
}

/* Enlaces del navbar */
.nav-link {
  color: #fff !important;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #fff !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.orbitron-titulo {
  font-family: "Orbitron", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Imagen del logo con efecto hover */
.logo-img {
  height: 60px;
  width: 60px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.1) rotate(3deg) !important;
  box-shadow: 0 0 15px rgba(0, 213, 255, 0.7) !important;
}

/* -------------------------------------
   3. CARRUSEL PERSONALIZADO
------------------------------------- */

#carruselPequeno {
  max-width: 900px;
  margin: auto;
}

.carousel-control-icon {
  font-size: 28px;
  color: white;
}

/* Texto sobre imagen (opcional) */
.carousel-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

/* -------------------------------------
   4. NAV PILLS
------------------------------------- */

.nav-pills .nav-link {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 30px;
  transition: background-color 0.3s, color 0.3s;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus,
.nav-pills .nav-link:active {
  background-color: #0b5ed7;
  color: #fff;
  outline: none !important;
  box-shadow: none !important;
}

.nav-pills .nav-link.active {
  background-color: #0d6efd;
  color: #fff;
}

/* -------------------------------------
   5. GALERÍA DE IMÁGENES
------------------------------------- */

.gallery-img {
  transition: transform 0.3s ease;
}

.img-container:hover .gallery-img {
  transform: scale(1.05);
}

img {
  max-width: 100%;
  height: auto;
}