/* gallery.css - Styles for gallery page */

:root {
    --primary-blue: #0066ff;
    --primary-orange: #ff6b35;
    --dark: #1e293b;
    --light: #f8fafc;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e6f0ff 100%);
    color: var(--dark);
}

/* Hero Section */
.gallery-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0052d4 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="20" fill="none" stroke="white" stroke-opacity="0.1"/></svg>');
    opacity: 0.3;
}

.gallery-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.gallery-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Social Follow Section */
.social-follow-section {
    background: white;
    padding: 3rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.social-follow-section h3 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.social-follow-section p {
    color: #64748b;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.social-links a:nth-child(1) {
    background: linear-gradient(135deg, #1877f2, #0d5dbf);
}

.social-links a:nth-child(2) {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-links a:nth-child(3) {
    background: linear-gradient(135deg, #e4405f, #d62976);
}

.social-links a:nth-child(4) {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.social-links a:nth-child(5) {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.social-links a:nth-child(6) {
    background: linear-gradient(135deg, #000000, #333333);
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 2rem;
    border: 2px solid var(--primary-blue);
    background: white;
    color: var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.gallery-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.2);
}

.gallery-item-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-image {
    transform: scale(1.05);
}

/* Video Badge */
.video-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 0, 0, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.gallery-item:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 2rem;
    color: #ff0000;
    margin-left: 4px;
}

/* Category Badge */
.category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--primary-orange), #ff8c00);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    padding: 2rem;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: #dc2626;
    transform: rotate(90deg);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.image-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.modal-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.modal-info p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.modal-info .date {
    color: #94a3b8;
    font-size: 0.95rem;
}

.modal-info .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* CTA Section */
.gallery-cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0052d4 100%);
    padding: 5rem 0;
    margin-top: 4rem;
}

.gallery-cta-section h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.gallery-cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: 0;
}

.cta-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.cta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 102, 255, 0.25) !important;
    text-decoration: none;
}

.cta-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.cta-icon.orange {
    background: linear-gradient(135deg, var(--primary-orange), #ff8c00);
}

.cta-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.cta-icon.blue {
    background: linear-gradient(135deg, var(--primary-blue), #0052d4);
}

.cta-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.cta-icon.red {
    background: linear-gradient(135deg, var(--primary-orange), #dc2626);
}

.cta-card h3 {
    color: var(--dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-card p {
    color: #64748b;
    margin-bottom: 0;
    font-size: 1rem;
}

/* Animation for gallery items */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-hero h1 {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-modal-content {
        padding: 1rem;
        margin: 1rem;
    }

    .modal-info h2 {
        font-size: 1.5rem;
    }

    .social-links a {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .gallery-cta-section h2 {
        font-size: 2rem;
    }

    .gallery-cta-section p {
        font-size: 1.1rem;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Utility Classes */
.position-relative {
    position: relative;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}