/* Importación de fuentes */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Source+Sans+3:wght@300;400;600&family=Montserrat:wght@400;600;700&display=swap');



/* Configuración del Fondo con Bootstrap */

/* Tipografía */
.text-primary{
    font-family: var(--heading-font);
    font-weight: 1000;
    font-size: 3rem;
    color: #000;
}

/* Contenedores Adaptables */
.main-container {
    padding: 2rem 0;
}

.activity-text{
    font-size: 1.7rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.activity-text h4{
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Ajustes de Imagen */
.info-img img, .activity-img img {
    max-width: 100%;
    height: auto;
    border: 2px solid black;
    object-fit: cover;
}

/* Contenedor principal del Slider */
.slider {
    position: relative;
    max-width: 800px;
    width: 100%;
    height: 500px; /* Altura fija para mantener consistencia */
    margin: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ajuste para que las imágenes NO se recorten */
.slider img {
    max-width: 100%;
    max-height: 100%;
    width: auto;      /* Importante: permite que la imagen mantenga su ancho natural */
    height: auto;     /* Importante: permite que la imagen mantenga su alto natural */
    display: none;
    object-fit: contain; /* Cambiado de 'cover' a 'contain' para que se vea TODA la imagen */
    margin: auto;
}

/* Botones: Separación total para que no se superpongan */
.slider button {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px; /* Ancho definido para el área del botón */
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    font-size: 2rem;
    transition: background-color 0.3s, opacity 0.3s;
    opacity: 0; /* Se ocultan por defecto */
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical{
  display: flex;
  justify-content: center;
  align-items: center;
}

.vertical img{
  width: 300px;
  height: 800px;
}

.slider:hover button {
    opacity: 1; /* Aparecen al pasar el mouse */
}

.slider button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Posicionamiento exacto en los extremos */
.prev {
    left: 0;
}

.next {
    right: 0;
}

img.displaySlide {
    display: block;
    animation: fade 1.5s;
}

.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
}

.slider:hover button {
    opacity: 1;
}

/* Secciones de Contacto (Integración con .row de Bootstrap) */
.contact-info-container, .contact-form-container {
    background-color: #008080;
    border: 1px solid black;
    padding: 2rem;
    height: 100%; /* Para que midan lo mismo en la misma fila */
    color: white; /* Mejor contraste sobre fondo verde azulado */
}

/* Botón de Pausa Flotante */
.pause-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
}

.pause-button img {
    width: 50px;
    height: 50px;
    transition: transform 0.2s;
}

.pause-button:hover img {
    transform: scale(1.1);
}

/* Animaciones */
@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Media Queries para refinamiento */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .slider { aspect-ratio: 4 / 3; }
}