/* Activities Image Gallery */

.gallery-section{
    padding:80px 8%;
    background:#f8f9fc;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:25px;
}

.gallery-item{
    overflow:hidden;
    border-radius:20px;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.10);
    transition:.4s ease;
}

.gallery-item:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.gallery-item img{
    width:100%;
    height:350px;
    object-fit:cover;
    display:block;
}

@media(max-width:768px){

.gallery-grid{
    grid-template-columns:1fr;
}

.gallery-item img{
    height:250px;
}
}


/* ===========================
    Activities - Modern Card Look
=========================== */

.activities-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Prevents touching screen edges on medium screens */
}

.activity {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Softer, modern shadow */
    border-top: 4px solid #fab714; /* Switched to top-border for a cleaner look */
    transition: transform 0.3s ease;
}

.activity:hover {
    transform: translateY(-2px); /* Subtle card lift */
}

.activity h3 {
    color: #81181c;
    font-size: 22px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.activity p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Images - Clean Flex Grid */
.activity-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.activity-gallery img {
    /* Smaller, landscape-oriented proportions */
    width: 240px; 
    height: 160px; 
    object-fit: cover;
    border-radius: 10px;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.activity-gallery img:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* Mobile & Tablet Responsive Adjustments */
@media(max-width: 768px) {
    .activity {
        padding: 20px;
        margin: 25px 0;
    }

    .activity-gallery {
        justify-content: center; /* Centers images nicely on mobile */
    }

    .activity-gallery img {
        width: 100%; /* Spans full width on small mobile screens */
        max-width: 280px;
        height: 180px;
    }
}
