
.activities-showcase-section {
    padding: 100px 5%;
    background: #fffcf5; 
    overflow: hidden;
}

.header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.sub-heading {
    color: #800000;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.main-heading {
    font-size: 3rem;
    color: #222;
    margin: 15px 0;
}

.gradient-text {
    background: linear-gradient(90deg, #800000, #f4c430);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.activities-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.activity-item {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.grid-span-2 {
    grid-column: span 2; 
}

.activity-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* --- GLASS OVERLAY --- */
.content-overlay {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.activity-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(128, 0, 0, 0.2);
}

.activity-item:hover img {
    transform: scale(1.1);
}

.activity-item:hover .content-overlay {
    transform: translateY(0);
}

.detail-tag {
    position: absolute;
    top: 20px; right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #800000;
}

/* --- MOBILE & TABLET RESPONSIVENESS --- */
@media (max-width: 1024px) {
    .activities-grid-container {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    .activities-grid-container {
        display: flex;
        flex-direction: column; 
        gap: 20px;
    }

    .activity-item {
        height: 350px; 
    }

    .main-heading {
        font-size: 2rem;
    }
}