/**
 * IMAGE ENHANCEMENTS
 * Premium image display and hover effects
 * 
 * @package DrNaela
 * @version 2.0.0
 */

/* ============================================
   RESPONSIVE IMAGE GRID
   ============================================ */

@media (max-width: 768px) {
    .stats-section > .container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .gallery-section div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   IMAGE HOVER EFFECTS
   ============================================ */

.glass-card img {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-card:hover img {
    transform: scale(1.05);
}

/* ============================================
   HERO BACKGROUND ANIMATION
   ============================================ */

.hero-background img {
    animation: subtle-zoom 20s ease-in-out infinite;
}

@keyframes subtle-zoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ============================================
   LANGUAGE SWITCHER STYLING
   ============================================ */

.language-switcher {
    padding: 0.5rem 1rem;
    background: rgba(136, 201, 193, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.language-switcher:hover {
    background: rgba(136, 201, 193, 0.2);
    transform: translateY(-2px);
}

/* ============================================
   GALLERY CARD ENHANCEMENTS
   ============================================ */

.gallery-section .glass-card {
    position: relative;
    overflow: hidden;
}

.gallery-section .glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(136, 201, 193, 0.1), rgba(46, 80, 144, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-section .glass-card:hover::before {
    opacity: 1;
}

/* ============================================
   FACIAL SYMMETRY IMAGE STYLING
   ============================================ */

.stats-section .card-3d-tilt img {
    border: 3px solid rgba(136, 201, 193, 0.3);
    transition: all 0.5s ease;
}

.stats-section .card-3d-tilt:hover img {
    border-color: rgba(136, 201, 193, 0.6);
    box-shadow: 0 30px 80px rgba(136, 201, 193, 0.4) !important;
}

/* ============================================
   IMAGE LOADING ANIMATION
   ============================================ */

img {
    animation: fade-in 0.5s ease-in;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */

@media (max-width: 480px) {
    .gallery-section .glass-card img {
        height: 300px !important;
    }
    
    .hero-background {
        opacity: 0.1 !important;
    }
}

