* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* Layout Principal con Grid de 3 columnas */
body {
    min-height: 100vh;
    padding: 0;
}

.card-navigation {
    position: absolute;
    bottom: 20px;
    width: 100%;
    height: 148px;
    display: flex;
    padding: 0 5px;
    box-sizing: border-box;
    z-index: 10;
    justify-content: space-between;
}

.nav-button {
    /*background: linear-gradient(145deg, rgba(215, 179, 121, 0.9) 0%, rgba(170, 123, 76, 0.9) 100%); */
    /* border: 2px solid rgba(255, 255, 255, 0.3); */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 15px;
    color: white;
    cursor: pointer;
    display: flex;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    COLOR: black;
    justify-content: center;
    align-items: center;
}

.nav-button:hover {
   /* background: linear-gradient(145deg, rgba(230, 190, 130, 0.95) 0%, rgba(185, 140, 90, 0.95) 100%); */
    transform: scale(1.15) translateY(-2px);
    /* box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);*/
}

.nav-button:active {
    transform: scale(0.95) translateY(1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15), 
                inset 0 1px 2px rgba(0,0,0,0.1);
}

/* Efecto de "pulso" al cambiar de slide */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.nav-button.pulse {
    animation: pulse 0.6s ease;
}

.grid-container {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 30px;
    padding: 40px;
    height: 100vh;
    align-items: start;
}

/* Fondo */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
}

.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
    z-index: -8;
    opacity: 0;
}

.background-image.active {
    opacity: 1;
}

.background-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 204, 228, 0.8) 0%, rgba(220, 204, 228, 0.8) 100%);
    z-index: -5;
    mix-blend-mode: multiply;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.background-overlay.active {
    opacity: 1;
}

/* Columna de Texto */
.title-container {
    display: flex;
    flex-direction: column;
    height: 100%;

}

.title {
    color: white;
    font-size: clamp(2rem, 3vw, 3.5rem);
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.info-content {
    color: white;
    font-size: clamp(1rem, 1.1vw, 1.1rem);
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(5px);
    /* max-height: 60vh; */
    overflow-y: hidden;
}

/* Columna de Video */
.video-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: center;
    align-items: center;
}


.video-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    padding: 10px;
    width: 80%;
}

.content-video {
    width: 100%;
    border-radius: 8px;
    display: block;
    max-height: 40vh;
}

.video-caption {
    color: white;
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Columna de Card */
.carousel-container {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        height: 40%;
    
     
}

.carousel {
    display: flex;
    gap: 20px;
}

.card {
    width: clamp(150px, 20vw, 220px);
    height: clamp(255px, 30vw, 300px);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); */
    margin-bottom: 35px;
}

.card.active {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-name {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-weight: 700;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    text-transform: uppercase;
    padding: 0 10px;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
}

p
{
    text-align: justify;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-container {
        grid-template-columns: 1fr 1fr; /* 2 columnas */
        grid-template-rows: auto 1fr;
        height: auto;
        min-height: 100vh;
    }
    
    .title-container {
        grid-column: 1 / span 2;
        grid-row: 1;
    }
    
    .video-container {
        grid-column: 1;
        grid-row: 2;
    }
    
    .carousel-container {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 0px;
    }
    
    .title-container, 
    .video-container, 
    .carousel-container {
        grid-column: 1;
    }
    
    .title-container {
        grid-row: 1;
    }
    
    .video-container {
        grid-row: 2;
    }
    
    .carousel-container {
        grid-row: 3;
        margin-top: 60px;
    }
    
    .info-content {
        max-height: none;
        /* margin-bottom: 60px; */
    }
    
    .content-video {
        max-height: none;
    }
}

.info-content button {
    display: block;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    color: white;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 15px auto;
    width: auto;
    max-width: 100%;
    backdrop-filter: blur(5px);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-content button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.info-content button:active {
    transform: scale(0.98);
}

/* Estilos para múltiples botones */
.info-content .location-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .info-content button {
        font-size: 0.8rem;
        padding: 8px 12px;
        margin: 10px auto;
    }
}

.image-wrapper {
    margin-top: 15px;
    display: flex;
    max-width: 100%;
    align-items: center;
    flex-direction: column;
}

.content-image {
    width: 100%;
    max-width: 65%;
    height: auto;
    border-radius: 5px;
}

.image-caption {
    margin-top: 5px;
    font-style: italic;
    text-align: center;
    font-size: 0.9em;
}

