:root {
    --void-black: #0c0405;
    --royal-maroon: #800000;
    --luxurious-gold: #FFC107; /* */
    --ash-white: #e0e0e0;
    --glass-card: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.06);
}

body.activities-body {
    background-color: var(--void-black);
    color: var(--ash-white);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.nav-top-wrapper { padding: 30px 5%; }
.back-home-btn {
    text-decoration: none; color: white; background: var(--glass-card);
    border: 1px solid var(--glass-border); padding: 10px 24px;
    border-radius: 50px; font-size: 0.9rem; transition: all 0.3s;
}
.back-home-btn:hover {
    border-color: var(--luxurious-gold); color: var(--luxurious-gold); /* */
    box-shadow: 0 0 15px rgba(255,193,7,0.15);
}

.activities-container { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px; }
.activities-header { text-align: center; margin-bottom: 50px; }
.activities-header .sub-title { color: var(--luxurious-gold); letter-spacing: 2px; text-transform: uppercase; font-size: 0.85rem; font-weight: 700; } /* */
.activities-header .main-title { font-size: 2.8rem; margin: 10px 0; color: white; }
.activities-header .main-title span { color: var(--luxurious-gold); } /* */
.header-desc { color: #aaa; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* Filter Controls */
.filter-controls { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
    background: var(--glass-card); border: 1px solid var(--glass-border);
    color: #ccc; padding: 12px 24px; border-radius: 30px; cursor: pointer;
    font-weight: 600; font-size: 0.95rem; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.filter-btn i { margin-right: 8px; }
.filter-btn.active, .filter-btn:hover {
    background: var(--royal-maroon); border-color: var(--luxurious-gold); color: white; /* */
    box-shadow: 0 5px 15px rgba(128, 0, 0, 0.3);
}

/* Gallery Grid */
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px; transition: all 0.5s ease;
}

.gallery-item {
    border-radius: 16px; overflow: hidden; background: #141414;
    border: 1px solid var(--glass-border); transition: transform 0.4s inside, opacity 0.4s;
}
.gallery-item.hide { transform: scale(0.8); opacity: 0; pointer-events: none; display: none; }
.gallery-item.show { transform: scale(1); opacity: 1; display: block; animation: fadeIn 0.4s ease; }

.inner-card { position: relative; width: 100%; height: 260px; overflow: hidden; cursor: pointer; }
.inner-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.inner-card:hover img { transform: scale(1.1); }

/* Hover Effects Overlay */
.card-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,4,5,0.95) 40%, rgba(12,4,5,0.4));
    padding: 25px; display: flex; flex-direction: column; justify-content: flex-end;
    opacity: 0; transition: opacity 0.4s ease;
}
.inner-card:hover .card-overlay { opacity: 1; }
.card-overlay .tag {
    background: rgba(255, 193, 7, 0.15); color: var(--luxurious-gold); width: max-content; /* */
    padding: 4px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; margin-bottom: 10px;
}
.card-overlay h3 { margin: 0 0 8px 0; font-size: 1.2rem; color: white; }
.card-overlay p { margin: 0 0 15px 0; font-size: 0.85rem; color: #bbb; line-height: 1.5; }
.view-img-btn {
    background: transparent; border: 1px solid var(--luxurious-gold); color: var(--luxurious-gold); /* */
    padding: 8px 16px; border-radius: 6px; width: max-content; cursor: pointer; font-weight: 600; font-size: 0.8rem;
}
.view-img-btn:hover { background: var(--luxurious-gold); color: black; } /* */

/* --- Lightbox Modal Studio --- */
.lightbox-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 999;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.lightbox-modal.active { opacity: 1; pointer-events: auto; }
.lightbox-content { text-align: center; max-width: 85%; max-height: 80vh; position: relative; }
.lightbox-content img { max-width: 100%; max-height: 75vh; border-radius: 8px; border: 1px solid var(--glass-border); }
.lightbox-caption { color: white; margin-top: 15px; font-size: 1.1rem; }
.close-lightbox { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 2.5rem; cursor: pointer; }
.nav-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.05);
    border: none; color: white; font-size: 1.5rem; padding: 15px 20px; cursor: pointer; border-radius: 50%; transition: 0.3s;
}
.nav-arrow:hover { background: var(--royal-maroon); color: var(--luxurious-gold); } /* */
.prev-btn { left: 40px; } .next-btn { right: 40px; }

@keyframes fadeIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@media(max-width: 768px) { .nav-arrow { display: none; } .activities-header h1 { font-size: 2rem; } }