/* Images Styles for Champions Cote Page */

/* Hero Banner Image */
.hero-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 0;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Section Images */
.section-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 2rem auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Image Container */
.image-container {
    position: relative;
    width: 100%;
    margin: 2.5rem 0;
    overflow: hidden;
    border-radius: 12px;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover::before {
    opacity: 1;
}

/* Image Caption */
.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    margin-top: 1rem;
    font-style: italic;
}

/* Lazy Loading Animation */
img[loading="lazy"] {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-image {
        max-height: 300px;
    }
    
    .section-image {
        border-radius: 8px;
        margin: 1.5rem auto;
    }
    
    .image-container {
        margin: 1.5rem 0;
    }
}

/* Print Styles */
@media print {
    .hero-image,
    .section-image,
    .image-container {
        display: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .section-image {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }
    
    .section-image:hover {
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
    }
}