/* ============================================
   GALLERY PAGE STYLES
   ============================================ */

/* Page Header */
.page-header {
    position: relative;
    padding: 180px 0 100px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 168, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 195, 255, 0.1) 0%, transparent 40%);
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease forwards;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 24px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.breadcrumb a {
    color: var(--electric-blue);
}

.breadcrumb span {
    color: var(--text-muted);
}

/* Gallery Filter */
.gallery-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--electric-blue);
    color: var(--electric-blue);
}

.filter-btn.active {
    background: var(--electric-blue);
    color: var(--white);
    border-color: var(--electric-blue);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    opacity: 1;
    transform: scale(1);
    transition: var(--transition-medium);
}

.gallery-item.hidden {
    display: none;
}

.gallery-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-placeholder {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, transparent 100%);
    padding: 30px;
    transform: translateY(100%);
    transition: var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: var(--electric-blue);
    font-size: 0.875rem;
    margin: 0 0 15px;
}

.gallery-zoom {
    width: 40px;
    height: 40px;
    background: var(--electric-blue);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.gallery-zoom:hover {
    background: var(--white);
}

.gallery-zoom svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.gallery-zoom:hover svg {
    fill: var(--electric-blue);
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--primary-blue);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition-fast);
}

.stat-item:hover {
    background: rgba(0, 168, 255, 0.1);
    border-color: var(--electric-blue);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--electric-blue);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-filter {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
