/**
 * ===================================================
 * © 2025 YUYAY Ltda. - yuyay.fin.ec
 * Sistema: Pagína Web
 * Versión: 2.5
 * Desarrollador: [Leonardo Verdugo Crespo - Sistemas]
 * Última modificación: 24/06/2024
 * ===================================================
 */
* {
    margin: 0;
    padding: 0;
    
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    height: 480vh;
    overflow: auto; /* Cambiado de hidden a auto para permitir scroll */
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;

}

.container {
    display: flex;
    flex-direction: column; /* Cambiado a columna */
    width: 100%;
    max-width: 1300px; /* Ancho máximo para mejor visualización */
    gap: 20px; /* Espacio entre tarjetas */
}

.card {
    background: white;
    border-radius: 15px;
    box-shadow: 
        0 10px 20px rgba(0,0,0,0.19),
        0 6px 6px rgba(0,0,0,0.23),
        inset 0 -5px 15px rgba(0,0,0,0.1),
        inset 0 5px 15px rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    height: 86vh; /* Cada tarjeta ocupa la mitad del viewport */
    min-height: 500px; /* Altura mínima */
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: 
        0 15px 30px rgba(0,0,0,0.25),
        0 10px 10px rgba(0,0,0,0.20),
        inset 0 -8px 20px rgba(0,0,0,0.15),
        inset 0 8px 20px rgba(255,255,255,0.6);
    transform: translateY(-5px) scale(1.01);
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.image-container img {
    max-width: 90%; /* Reducido el tamaño de la imagen */
    max-height: 90%;
    object-fit: contain; /* Cambiado a contain para ver toda la imagen */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover .image-container img {
    transform: scale(1.05);
}

/* Efecto de borde interno para dar profundidad */
.card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    pointer-events: none;
    z-index: 1;
}