/* Activity Page Styles */
:root {
    --activity-primary: #FFD700;
    /* Gold/Yellow from brand memory */
    --activity-dark: #ffffff;
    --activity-text: #000000;
    --activity-text-light: #333333;
}

.activity-page {
    background-color: var(--activity-dark);
    color: var(--activity-text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Hero Section */
.activity-hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.activity-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), var(--activity-dark));
}

.activity-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1500px;
    padding: 0 40px;
    margin-top: 80px;
}

.hero-title {
    font-size: clamp(1.5rem, 4.5vw, 4rem);
    /* Smaller responsive font */
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--activity-text);
}

.hero-title .highlight {
    color: var(--activity-primary);
    display: block;
    font-size: clamp(1.2rem, 3.5vw, 3rem);
    /* Smaller responsive highlight */
    margin-top: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    /* Fluid responsive size */
    color: var(--activity-text-light);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Intro Section */
.activity-intro {
    padding: 6rem 0;
    background: var(--activity-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--activity-text-light);
    margin-bottom: 2rem;
}

.intro-text .lead {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--activity-text);
}

.date-highlight {
    color: var(--activity-primary);
    font-weight: 700;
    border-bottom: 2px solid var(--activity-primary);
}

/* Video Section */
.activity-videos {
    padding: 4rem 0;
    background: var(--activity-dark);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
    color: var(--activity-text);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-card video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-bottom: 4px solid var(--activity-primary);
}

.video-caption {
    display: none;
}

/* Gallery Section */
.activity-gallery {
    padding: 6rem 0;
    background: var(--activity-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    /* Square thumbnails */
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
    border-bottom: 4px solid var(--activity-primary);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    max-height: 90vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.6s;
}

/* Lightbox Navigation Arrows */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    z-index: 10000;
    line-height: 1;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--activity-primary);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* Responsive */
@media (max-width: 768px) {

    /* Hero sizing handled by clamp() above */
    .intro-text .lead {
        font-size: 1.4rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-content {
        width: 95%;
    }
}