/* ==================================================
   ACTIVITIES SECTION
================================================== */

.activities-section {
    background: var(--bg-soft);
    position: relative;
    overflow: hidden;
}

.activities-section::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* ==================================================
   SECTION HEADER
================================================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.header-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.decoration-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.decoration-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,100% { opacity: 1; }
    50% { opacity: .5; }
}

/* ==================================================
   ACTIVITIES GRID
================================================== */
.act-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.act-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.act-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.act-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-soft);
}

.act-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.act-card:hover .act-media img { transform: scale(1.06); }

.act-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 20, 37, .45), transparent 55%);
    pointer-events: none;
}

.act-chip {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    color: #fff;
    background: rgba(15, 20, 37, .55);
    backdrop-filter: blur(6px);
}

.act-new {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .5px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.act-body {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    flex: 1;
    padding: 1.25rem 1.4rem 1.5rem;
}

.act-body h3 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.35;
}

.act-body p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.65;
}

.act-place {
    margin-top: auto;
    padding-top: .9rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: var(--muted);
}

.act-place i { color: var(--primary); }

/* One or two activities: keep cards a sensible width instead of stretching */
.act-grid.is-few { grid-template-columns: repeat(auto-fit, minmax(290px, 380px)); justify-content: center; }

.act-cta { text-align: center; margin-top: 2.5rem; }
