/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Encabezado */
header {
  background-color: #ffffff;
  color: white;
  font-family: Arial, sans-serif;
  padding-bottom: 0%;
}

.logo img {
  width: 250px;
  height: auto;
  object-fit: contain;
}

.navbar {
  min-height: 100px;
  font-size: 1.1rem; /* 💬 Menú más legible */
}

.navbar-brand img {
  height: 75px; /* 🔹 Logo un poco más pequeño */
  width: auto;
}

/* Enlaces menú */
.navbar-dark .navbar-nav .nav-link {
  background-color: #6f752c;
  color: #fff !important;
  margin: 4px;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
  background-color: #34495e !important;
}

.nav-link.active {
  background-color: #636363 !important;
  color: #fff !important;
  font-weight: bold;
}

/* Submenús */
.dropdown-menu {
  background-color: #01200b;
  border: none;
  border-radius: 6px;
}

.dropdown-menu .dropdown-item {
  color: #fff;
  font-size: 1rem;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #bdc3c7;
  color: #000;
}



/* ======= GEOLOCALIZACIÓN ======= */
.geolocalizacion {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, #6f752c, #003366);
  color: white;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 800px;
}

.geolocalizacion h2 a {
  font-size: 2.1rem;
  color: #fff;
  font-family: 'Black Ops One', sans-serif;
  text-decoration: underline;
}

.geolocalizacion a img {
  width: 80px; /* 🔹 Un poco más pequeña */
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.geolocalizacion a img:hover {
  transform: scale(1.08);
}

/* ======= FOOTER ======= */
footer {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 25px 10px;
  font-size: 1rem; /* 💬 Más grande */
}

footer a {
  color: #000000;
  text-decoration: underline;
}

/* === Configuraciones del menú Bootstrap === */
/* Tamaño del encabezado */
header {
  background-color: #fff;
  padding: 20px 0; /* Aumenta el espacio vertical */
}

.navbar {
  min-height: 100px; /* altura mínima del header */
   /*background-color: #7F7E7C !important; color del menu */
}

.navbar-brand img {
  height: 80px; /* Ajusta el tamaño del logo */
  width: auto;
}



/* Color de los enlaces del menú */
.navbar-dark .navbar-nav .nav-link {
  background-color: #6f752c; /* 💚 color de tus botones */
  color: #fff !important;
  margin: 0 5px;
  border-radius: 4px;
  padding: 8px 16px;
  transition: background-color 0.3s ease;
}

/* Hover (al pasar el mouse) */
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  background-color: #34495e !important; /* gris-azulado de hover */
  color: #fff !important;
}



.dropdown-menu .dropdown-item {
  color: #fff;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #bdc3c7;
  color: #000;
}

/* 🔧 Submenús siempre dentro de la pantalla */
.dropdown-menu {
  background-color: #6f752c;
  border-radius: 4px;
  color: #fff;
  border: none;
  min-width: 180px;
  white-space: nowrap;
  overflow: hidden;
}

/* Asegura que los submenús a la derecha no se salgan */
.nav-item.dropdown:last-child .dropdown-menu,
.navbar-nav > li:last-child .dropdown-menu {
  left: auto !important;
  right: 0 !important; /* se abre hacia la izquierda */
  transform: none !important;
}

/* Hover */
.dropdown-item {
  color: #fff;
}

.dropdown-item:hover {
  background-color: #bdc3c7;
  color: #000;
}

/* Estilo para el enlace activo del menú */
.nav-link.active {
  background-color: #636363 !important; /* mismo fondo que tenías */
  color: white !important;
  font-weight: bold;
  border-radius: 4px;
}
/*  Estilo para el enlace de activo del submenu */
.dropdown-item.active {
 background-color: #636363 !important; /* mismo fondo que tenías */
  color: white !important;
  font-weight: bold;
  border-radius: 4px;

}




 /* carrusel
 Necesario para que el overlay se posicione correctamente */
.carousel-item {
  position: relative;
   overflow: hidden !important;
}

/* Overlay verde */
.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(111, 117, 44, 0.30); /* verde */
  z-index: 1;
}

/* Imagen del carrusel */
.carousel-item img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 0; /* debajo del overlay */
  
}


/* Texto encima del overlay */
.carousel-caption {
  position: relative;
  z-index: 2;
}
/* Evitar orillas grises cuando hace zoom */
#miCarousel .carousel-item {
  overflow: hidden !important;

}


/* Efecto de zoom */
#miCarousel .carousel-item img {
  transform: scale(1.05);
  transition: transform 12s ease-out;
}

/* Imagen activa aumenta el zoom */
#miCarousel .carousel-item.active img {
  transform: scale(1.18);
}

/* Solo para el primer slide */
#miCarousel .carousel-item.active:first-child img {
  animation: zoomStart 8s ease-in-out forwards;
}


@keyframes zoomStart {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12); /* el mismo valor de tu efecto */
  }
}

/* ================================
   ⭐ MENÚ RESPONSIVO (MÓVIL)
   Color verde #6f752c
   ================================ */

/* Fondo del menú cuando se despliega */
.navbar-collapse {
  background-color: #ffffff !important; /* fondo blanco */
  padding: 15px 0;
}

/* Enlaces dentro del menú */
.navbar-nav .nav-link {
  background-color: #6f752c !important;
  color: #ffffff !important;
  margin: 5px 10px;
  border-radius: 4px;
  padding: 10px 15px;
  text-align: center;
}

/* Hover de enlaces */
.navbar-nav .nav-link:hover {
  background-color: #505525 !important;
  color: #ffffff !important;
}

/* Botón hamburguesa (fondo) */
.navbar-dark .navbar-toggler {
  background-color: #ffffff !important; /* fondo blanco */
  border: 2px solid #6f752c !important;
  border-radius: 6px;
  padding: 6px 10px;
}

/* Ícono de las 3 rayitas (verde) */
.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%236f752c' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(111,117,44,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Fondo del dropdown en móvil */
.dropdown-menu {
  background-color: #6f752c !important;
  border-radius: 4px;
  border: none;
  padding: 0;
}

/* Items del dropdown */
.dropdown-item {
  color: #ffffff !important;
  padding: 10px 15px;
  text-align: left;
}

/* Hover del dropdown */
.dropdown-item:hover {
  background-color: #505525 !important;
  color: #ffffff !important;
}

/* Item activo */
.dropdown-item.active {
  background-color: #636363 !important; /* mismo fondo que tenías */
  color: #ffffff !important;
}

/* Link activo principal */
.nav-link.active {
  background-color: #636363 !important; /* mismo fondo que tenías */

  color: #ffffff !important;
}

