/* ============================================
   MODERN GALLERY PAGE STYLES
   ============================================ */

.gallery-header .header-inner.hi-about-us {
    position: relative;
    overflow: hidden;
}

.gallery-hero {
    background: linear-gradient(135deg, #071426 0%, #102a4a 40%, #153b63 100%);
    color: #ffffff;
}

.gallery-page {
    background: #f5f7fb;
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Filter Section */
.gallery-filter-section {
    padding: 40px 0;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.gallery-filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.gallery-filter-btn {
    padding: 12px 28px;
    background: transparent;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: linear-gradient(135deg, #0d3a5c, #0a2d4a);
    border-color: #0d3a5c;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Photo Gallery */
.photo-gallery-section {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gallery-item.hidden {
    display: none;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2138 0%, #153b63 100%);
    cursor: pointer;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-image-wrapper:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(58, 166, 245, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-image-wrapper:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: #ffffff;
}

.gallery-info h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-info p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.gallery-view-btn {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d3a5c;
    font-size: 24px;
    text-decoration: none;
    align-self: flex-end;
    transition: transform 0.3s ease;
}

.gallery-view-btn:hover {
    transform: scale(1.1) rotate(90deg);
    color: #0a2d4a;
}

/* Video Gallery */
.video-gallery-section {
    padding: 80px 0;
    background: #ffffff;
}

.video-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(58, 166, 245, 0.2);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #0f2138 0%, #153b63 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #0d3a5c;
    transition: all 0.3s ease;
}

.video-card:hover .video-play-btn {
    transform: scale(1.1);
    background: #0d3a5c;
    color: #ffffff;
}

.video-info {
    padding: 24px;
}

.video-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .gallery-image-wrapper {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .gallery-page {
        padding-top: 40px;
        padding-bottom: 60px;
    }
    
    .gallery-filter-buttons {
        gap: 10px;
    }
    
    .gallery-filter-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-image-wrapper {
        height: 250px;
    }
    
    .video-thumbnail {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-image-wrapper {
        height: 300px;
    }
    
    .gallery-overlay {
        padding: 20px;
    }
    
    .gallery-info h4 {
        font-size: 16px;
    }
}
