/* Gallery Styles for Photo Gallery, Video Gallery, and Press Release Pages */

/* Breadcrumb Section */
.breadcrumb-section {
    background: linear-gradient(rgba(0, 0, 0, 0.503), rgba(0, 0, 0, 0.488)), url('../img/breadcrumb-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.breadcrumb-section h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.breadcrumb-section p {
    font-size: 18px;
    margin-bottom: 0;
}

/* Gallery Section */
.gallery-section, .video-section, .press-section {
    padding: 80px 0;
    background: #f8f9fa;
}


/* Gallery/Video/Press Filter */
.gallery-filter, .video-filter, .press-filter {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-filter ul, .video-filter ul, .press-filter ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gallery-filter li, .video-filter li, .press-filter li {
    display: inline-block;
    margin: 0 10px;
}

.gallery-filter a, .video-filter a, .press-filter a {
    display: inline-block;
    padding: 10px 25px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid #e1e8ed;
}

.gallery-filter a:hover, .video-filter a:hover, .press-filter a:hover,
.gallery-filter a.active, .video-filter a.active, .press-filter a.active {
    background: #0047AB;
    color: white;
    border-color: #0047AB;
}

/* Gallery Items */
.gallery-item, .video-item, .press-item {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item:hover, .video-item:hover, .press-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Gallery Images */
.gallery-item img, .video-item img, .press-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img, .video-item:hover img, .press-item:hover img {
    transform: scale(1.05);
}

/* Gallery Overlay */
.gallery-overlay, .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 71, 171, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay, .video-item:hover .video-overlay {
    opacity: 1;
}

.gallery-overlay i, .video-overlay i {
    color: white;
    font-size: 20px;
}

/* Video Specific Styles */
.video-overlay .play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-overlay .play-btn i {
    color: #0047AB;
    font-size: 24px;
    margin-left: 4px;
}

.video-duration {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* Press Release Specific Styles */
.press-image {
    position: relative;
    overflow: hidden;
}

.press-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0047AB;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.press-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.press-content {
    padding: 25px;
}

.press-content h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
}

.press-content p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.press-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.press-meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.press-meta li {
    color: #999;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.press-meta i {
    color: #0047AB;
}

.read-more {
    color: #0047AB;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #003d99;
}

/* Gallery/Video Caption */
.gallery-caption, .video-caption {
    padding: 20px;
    background: white;
}

.gallery-caption h5, .video-caption h5 {
    margin: 0 0 10px 0;
    color: #333;
    font-weight: 600;
}

.gallery-caption p, .video-caption p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Gallery/Video/Press Grid Layout */
#gallery-grid, #video-grid, #press-grid {
    margin-bottom: 50px;
    gap: 8px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {
    #gallery-grid, #video-grid, #press-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    #gallery-grid, #video-grid, #press-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Load More Button */
.load-more {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    background: #0047AB;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #003d99;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .breadcrumb-section h2 {
        font-size: 32px;
    }
    
    .breadcrumb-section p {
        font-size: 16px;
    }
    
    .section-title h3 {
        font-size: 28px;
    }
    
    .gallery-item img, .video-item img, .press-item img {
        height: 200px;
    }
    
    .gallery-filter li, .video-filter li, .press-filter li {
        margin: 5px;
    }
    
    .gallery-filter a, .video-filter a, .press-filter a {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .press-content {
        padding: 20px;
    }
    
    .press-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .press-meta ul {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .breadcrumb-section {
        padding: 60px 0;
    }
    
    .gallery-section, .video-section, .press-section {
        padding: 60px 0;
    }
    
    .gallery-item img, .video-item img, .press-item img {
        height: 180px;
    }
    
    .video-overlay .play-btn {
        width: 60px;
        height: 60px;
    }
    
    .video-overlay .play-btn i {
        font-size: 20px;
    }
}
