/* ===================================
   GALLERY & MEDIA - ADVANCED STYLING
   =================================== */

:root {
    --gallery-primary: #FF5722;
    --gallery-secondary: #FF9800;
    --gallery-tertiary: #FFC107;
    --gallery-dark: #212121;
    --gallery-light: #f5f5f5;
    --gallery-accent: #d84315;
    --gallery-blue: #1565c0;
    --gallery-purple: #9C27B0;
    --gallery-pink: #E91E63;
    --gallery-green: #4CAF50;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(255, 87, 34, 0.3);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(10px);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== SECTION HEADERS ===== */
.gallery-section {
    margin: 60px 0;
    animation: fadeInUp 0.6s ease-out;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gallery-primary), var(--gallery-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gallery-primary), var(--gallery-secondary));
    border-radius: 2px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    margin-top: 20px;
}

/* ===== FILTER TABS ===== */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 14px 32px;
    border: 2px solid transparent;
    background: white;
    color: var(--gallery-dark);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gallery-primary), var(--gallery-secondary));
    transition: left 0.4s ease;
    z-index: -1;
}

.filter-btn:hover::before {
    left: 0;
}

.filter-btn:hover {
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: var(--gallery-primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--gallery-primary), var(--gallery-secondary));
    color: white;
    border-color: var(--gallery-secondary);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: scale(1.05);
}

.filter-btn.active::after {
    content: '✓';
    margin-left: 8px;
    font-size: 0.9rem;
    animation: checkmark 0.3s ease;
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== PHOTO GALLERY - MASONRY GRID ===== */
.photo-gallery {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    border: 1px solid rgba(255, 87, 34, 0.1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.3), rgba(255, 152, 0, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--gallery-primary);
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(1);
}

.gallery-item:hover img {
    transform: scale(1.15) rotate(1deg);
    filter: brightness(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 30px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    backdrop-filter: var(--glass-blur);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h4 {
    margin: 0 0 8px 0;
    font-size: 1.05rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-caption p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gallery-caption p::before {
    content: '📅';
    font-size: 0.9rem;
}

/* Loading skeleton animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.gallery-item.loading {
    background: linear-gradient(90deg,
            #f0f0f0 0%,
            #f8f8f8 50%,
            #f0f0f0 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ===== VIDEO GALLERY ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    border: 1px solid rgba(255, 87, 34, 0.1);
}

.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--gallery-primary);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

/* Play button overlay */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gallery-primary), var(--gallery-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 5;
    opacity: 0.9;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 20px rgba(255, 87, 34, 0.5);
    animation: pulse 2s infinite;
    cursor: pointer;
}

.video-wrapper:hover .play-button {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
    box-shadow: 0 6px 30px rgba(255, 87, 34, 0.7);
}

.video-wrapper.playing .play-button {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.5);
}

/* Hide ::before to avoid duplication if it existed in previous cache */
.video-wrapper::before {
    display: none;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(255, 87, 34, 0.5);
    }

    50% {
        box-shadow: 0 4px 30px rgba(255, 87, 34, 0.8);
    }
}

.video-wrapper:hover::before {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
    box-shadow: 0 6px 30px rgba(255, 87, 34, 0.7);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(255, 87, 34, 0.5);
    }

    50% {
        box-shadow: 0 4px 30px rgba(255, 87, 34, 0.8);
    }
}

.video-wrapper video,
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.video-wrapper:hover video,
.video-wrapper:hover iframe {
    transform: scale(1.05);
}

.video-wrapper.playing:hover video {
    transform: scale(1);
    /* Disable zoom when playing */
}

.video-wrapper:hover video,
.video-wrapper:hover iframe {
    transform: scale(1.05);
}

.video-info {
    padding: 25px;
    background: linear-gradient(to bottom, white, rgba(255, 245, 240, 0.5));
}

.video-info h3 {
    margin: 0 0 12px 0;
    font-size: 1.25rem;
    color: var(--gallery-dark);
    font-weight: 700;
    line-height: 1.4;
}

.video-info p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 2px solid rgba(255, 87, 34, 0.1);
}

.video-date {
    color: #999;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-date::before {
    content: '📅';
}

.video-duration {
    background: linear-gradient(135deg, var(--gallery-primary), var(--gallery-secondary));
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(255, 87, 34, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-duration::before {
    content: '⏱️';
}

/* ===== MEDIA COVERAGE - NEWSPAPER CUTOUT STYLE ===== */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
}

.media-card {
    background: #fdfbf7;
    /* Off-white newspaper color */
    border-radius: 4px;
    /* Sharp corners for paper feel */
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-slow);
    border: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
}

/* Torn edge effect at bottom */
.media-card::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: radial-gradient(circle, transparent 70%, #fdfbf7 75%);
    background-size: 20px 20px;
    background-position: 0 -10px;
}

.media-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px) rotate(1deg);
    z-index: 5;
}

.media-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: sepia(0.6) grayscale(0.5) contrast(1.1);
    transition: var(--transition-slow);
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
}

.media-card:hover .media-thumbnail {
    filter: none;
}

.media-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.media-source {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #444;
}

.media-date {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.media-content h3 {
    margin: 0 0 12px 0;
    font-size: 1.4rem;
    color: #222;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
    font-weight: 700;
}

.media-content p {
    margin: 0 0 15px 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    font-family: serif;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #222;
    color: #fff;
    padding: 4px 10px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

/* Video specific styles in media card */
.media-card.video-type .media-thumbnail-wrapper {
    position: relative;
}

.media-card.video-type .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
}

/* News Modal */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.news-modal.active {
    display: flex;
    opacity: 1;
}

.news-content {
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 4px;
    position: relative;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.news-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    line-height: 1;
}

.news-modal-body img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.news-modal-iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

/* ===== THEN AND NOW SLIDER ===== */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.comparison-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    background: white;
    border: 2px solid rgba(255, 87, 34, 0.1);
    transition: var(--transition-slow);
}

.comparison-container:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--gallery-primary);
    transform: translateY(-5px);
}

.comparison-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%;
    /* 3:2 aspect ratio */
    overflow: hidden;
    cursor: ew-resize;
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
}

.comparison-after {
    clip-path: inset(0 0 0 50%);
    transition: clip-path 0.1s ease;
}

.comparison-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gallery-primary), var(--gallery-secondary));
    cursor: ew-resize;
    z-index: 10;
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.6), 0 0 30px rgba(0, 0, 0, 0.3);
    transition: width 0.2s ease;
}

.comparison-slider:hover {
    width: 6px;
}

.comparison-slider::before {
    content: '⇄';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gallery-primary), var(--gallery-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 4px 20px rgba(255, 87, 34, 0.5);
    border: 3px solid white;
    transition: var(--transition-bounce);
}

.comparison-slider:hover::before {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 6px 30px rgba(255, 87, 34, 0.7);
}

.comparison-labels {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 5;
    pointer-events: none;
}

.comparison-label {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: labelPulse 2s infinite;
}

@keyframes labelPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.comparison-title {
    text-align: center;
    margin-top: 0;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(255, 245, 240, 0.5), white);
    border-radius: 0 0 18px 18px;
}

.comparison-title h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: var(--gallery-dark);
    font-weight: 700;
}

.comparison-title p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ===== MINI DOCUMENTARIES ===== */
.documentary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.documentary-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    border: 2px solid rgba(255, 87, 34, 0.1);
}

.documentary-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--gallery-primary);
}

.documentary-video {
    position: relative;
    padding-bottom: 56.25%;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    overflow: hidden;
}

/* Play overlay for documentaries */
.documentary-video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gallery-primary), var(--gallery-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    z-index: 5;
    opacity: 0.95;
    transition: var(--transition-bounce);
    box-shadow: 0 6px 30px rgba(255, 87, 34, 0.6);
    animation: pulse 2s infinite;
    cursor: pointer;
}

.documentary-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.2) rotate(5deg);
    opacity: 1;
}

.documentary-video.playing .play-button {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.5);
}

.documentary-video::before {
    display: none;
}

.documentary-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.documentary-card:hover .documentary-video video {
    transform: scale(1.05);
}

.documentary-video.playing:hover video {
    transform: scale(1);
}

.documentary-card:hover .documentary-video video {
    transform: scale(1.05);
}

.documentary-content {
    padding: 30px;
    background: linear-gradient(to bottom, white, rgba(255, 245, 240, 0.3));
}

.documentary-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gallery-primary), var(--gallery-secondary));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 18px;
    box-shadow: 0 3px 15px rgba(255, 87, 34, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.documentary-content h3 {
    margin: 0 0 18px 0;
    font-size: 1.5rem;
    color: var(--gallery-dark);
    line-height: 1.3;
    font-weight: 800;
}

.documentary-content p {
    margin: 0 0 25px 0;
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.documentary-stats {
    display: flex;
    gap: 25px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 87, 34, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
}

.stat-item i {
    color: var(--gallery-primary);
    font-size: 1.1rem;
}

/* ===== LIGHTBOX MODAL ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(20px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    animation: zoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 0 60px rgba(255, 87, 34, 0.4), 0 0 100px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3.5rem;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 87, 34, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    color: var(--gallery-primary);
    transform: rotate(90deg) scale(1.1);
    background: rgba(255, 87, 34, 0.4);
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    transition: var(--transition-bounce);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: linear-gradient(135deg, var(--gallery-primary), var(--gallery-secondary));
    border-color: var(--gallery-primary);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 4px 20px rgba(255, 87, 34, 0.5);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    color: white;
    padding: 25px 35px;
    border-radius: 20px;
    max-width: 90%;
    width: auto;
    min-width: 400px;
    text-align: left;
    border: 2px solid rgba(255, 87, 34, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.lightbox-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lightbox-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
}

.lightbox-description {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.lightbox-info {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.meta-tag {
    background: rgba(255, 87, 34, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 87, 34, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* PDF Viewer Styles */
.pdf-viewer {
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 85vh;
    overflow: auto;
}

.pdf-viewer embed {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Audio Player Container */
.audio-player-container {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.1), rgba(255, 152, 0, 0.1));
    border-radius: 20px;
    min-width: 400px;
}

/* Video in lightbox */
.lightbox-content video {
    border-radius: 12px;
    box-shadow: 0 0 60px rgba(255, 87, 34, 0.4), 0 0 100px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .photo-gallery {
        column-count: 2;
    }

    .comparison-grid,
    .documentary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .photo-gallery {
        column-count: 1;
    }

    .video-grid,
    .media-grid {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.6rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .documentary-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-caption {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}