﻿/* Gallery page styles */

.gt-breadcrumb-wrapper.bg-cover {
    background-image: url('/assets/img/breadcrumb.webp');
}

.gt-section-title-2 {
    max-width: 700px;
}

.shop-area.shop-bg {
    margin-top: 60px;
}

/* Lazy loading styles */
.lazy-image {
    background: #f0f0f0;
    background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.1) 50%);
    background-size: 20px 20px;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { background-position: -20px 0; }
    100% { background-position: 20px 0; }
}

.gallery-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Index page news card styles */
.news-card {
    transform-origin: center bottom;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) !important;
    will-change: transform, box-shadow, filter;
    background: linear-gradient(135deg, rgba(20, 0, 0, 0.9), rgba(40, 0, 0, 0.95));
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    position: relative;
    border: 1px solid rgba(255, 8, 8, 0.2);
}

.news-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
}

.news-card:hover .news-image img {
    transform: scale(1.12);
    filter: brightness(1.1) contrast(1.05);
}

.news-card:hover .news-image::after {
    opacity: 0.6;
}

.news-card .news-content h3 a:hover {
    color: #e4a101 !important;
    text-shadow: 0 0 8px rgba(228, 161, 1, 0.3);
}

.gt-theme-btn.gt-style-border:hover {
    background-color: rgba(255, 8, 8, 0.8) !important;
    color: #fff !important;
    transform: translateY(-3px);
}

.gt-theme-btn.gt-style-border:hover i {
    transform: translateX(4px);
}

.news-card:hover .news-date {
    background-color: rgba(228, 161, 1, 0.3);
}

@media (max-width: 991px) {
    .news-card {
        margin-bottom: 30px;
    }
}
