/* ===================================
   ESTILOS ADICIONALES PARA IMÁGENES
   Archivo complementario a styles.css
   =================================== */

/* Asegurar que todas las imágenes sean responsivas */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Logo en header */
.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Imagen Hero */
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* Imagen Sobre Nosotros */
.about-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Imágenes de Programas */
.program-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
}

/* Imagen de Beneficios */
.benefits-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Galería */
.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Footer logo */
.footer-logo img {
    height: 60px;
    width: auto;
}

/* Lazy loading placeholder */
img[data-src] {
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.1) 0%, rgba(233, 30, 99, 0.1) 100%);
    min-height: 200px;
}

/* Loading animation para imágenes */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading-image {
    animation: shimmer 2s infinite;
    background: linear-gradient(
        to right,
        #f0f0f0 0%,
        #e0e0e0 20%,
        #f0f0f0 40%,
        #f0f0f0 100%
    );
    background-size: 1000px 100%;
}

/* Asegurar buena calidad en retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Ajustes para móvil */
@media (max-width: 768px) {
    .logo img {
        height: 45px;
    }
    
    .hero-image img {
        border-radius: 16px;
    }
    
    .gallery-item img {
        height: 250px;
    }
}

/* Ajustes para imágenes muy pequeñas (móviles) */
@media (max-width: 480px) {
    .gallery-item img {
        height: 200px;
    }
    
    .program-image img {
        height: 180px;
    }
}
00px;
    }
    
    .program-image img {
        height: 180px;
    }
}
