/* =========================================
   ESTILOS GENERALES
   ========================================= */
body, h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
} 

/* =========================================
   MENÚ FIJO (STICKY)
   ========================================= */
.contenedor-menu-fijo {
  position: -webkit-sticky; /* Soporte para Safari */
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Sombra sutil para dar profundidad al hacer scroll */
  box-shadow: 0 2px 10px rgba(0,0,0,0.3); 
}

/* =========================================
   BARRA DE NAVEGACIÓN
   ========================================= */
/* Fondo negro para la barra de navegación */
.top-bar, .title-bar {
  background-color: #000000;
  color: #ffffff;
}

/* Asegurar que el fondo del menú también sea negro en los desplegables */
.top-bar ul {
  background-color: #000000;
}

/* Color y tipografía de los enlaces */
.top-bar a {
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Efecto hover sutil para los enlaces */
.menu > li > a:hover {
  color: #cccccc; 
}

/* =========================================
   LOGOS (Escritorio y Móvil)
   ========================================= */
.logo-principal {
  max-height: 55px; /* Altura máxima para escritorio */
  width: auto;
  padding-left: 15px; 
}

.logo-movil {
  max-height: 35px; /* Altura más compacta para celular */
  width: auto;
}

/* Ajuste de espaciado interno para la barra de escritorio */
.top-bar {
  padding: 0.5rem 1rem;
}

/* =========================================
   SECCIÓN ESPACIOS
   ========================================= */
.textoamarillopastel {
  color: #bf9b38;
}

.titulo-descubre {
  font-size: 50px;
  font-weight: 300; /* Grosor delgado */
  line-height: 1;
  margin-bottom: 0.5rem;
}

.subtitulo-espacios {
  font-size: 25px;
  font-weight: 600; /* Grosor en negritas (semibold) */
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #000000;
}

.titulo-espacios {
  font-size: 50px;
  font-weight: 700; /* Grosor más fuerte (bold) para diferenciar de DESCUBRE */
  line-height: 1;
  margin-bottom: 0.5rem;
}


/* =========================================
   TARJETAS DE ESPACIOS (CUADROS NEGROS)
   ========================================= */
.tarjeta-espacio {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tarjeta-espacio img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tarjeta-contenido {
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Permite que el contenido ocupe el espacio disponible */
  justify-content: space-between; /* Empuja el botón al fondo */
  align-items: center;
}

.tarjeta-titulo {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #ffffff;
}

.tarjeta-texto {
  font-size: 20px; /* Tamaño proporcional a los 40px */
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 2rem;
  color: #ffffff;
}

/* =========================================
   BOTONES (FIX: Color de texto blanco garantizado)
   ========================================= */
/* Agrupamos los estados para evitar que las letras se vuelvan azules */
.boton-explorar,
.boton-explorar:visited,
.boton-explorar:focus,
.boton-explorar:active {
  background-color: #d19a22; /* Color mostaza/dorado del botón */
  color: #ffffff !important; /* Forzamos el blanco en cualquier estado */
  font-size: 18px;
  font-weight: 700;
  padding: 10px 40px;
  border-radius: 8px; /* Bordes redondeados */
  text-decoration: none !important;
  display: inline-block;
  transition: background-color 0.3s ease;
  outline: none; /* Quitamos el borde de selección del navegador */
}

.boton-explorar:hover {
  background-color: #b3821a; /* Oscurece un poco al pasar el mouse */
  color: #ffffff !important;
}


/* =========================================
   TARJETAS DE MENÚS (FONDO BLANCO)
   ========================================= */
.tarjeta-blanca {
  background-color: #ffffff;
  border: 1px solid #dddddd; /* Borde gris muy suave */
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tarjeta-blanca img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tarjeta-texto-oscuro {
  font-size: 20px; 
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: #000000; /* Texto oscuro para el fondo blanco */
}

/* =========================================
   AJUSTES RESPONSIVOS (CELULARES)
   ========================================= */
@media screen and (max-width: 39.9375em) {
  .titulo-descubre, .titulo-espacios {
    font-size: 40px; 
  }
  .subtitulo-espacios {
    font-size: 20px;
  }
}