/* Activities Page Styles */

.activities-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.activities-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.activities-hero .container {
    position: relative;
    z-index: 2;
}

/* Activity Cards */
.activity-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.activity-card .card-header {
    border: none;
    padding: 1.5rem;
    border-radius: 0;
}

.activity-card .card-body {
    padding: 2rem;
}

.activity-card .list-unstyled li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.activity-card .list-unstyled li:last-child {
    border-bottom: none;
}

.activity-card .list-unstyled li:hover {
    background-color: #f8f9fa;
    padding-left: 1rem;
}

/* Recent Activities */
.recent-activity-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
    position: relative;
    overflow: hidden;
}

.recent-activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    transition: width 0.3s ease;
}

.recent-activity-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.recent-activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.activity-date {
    display: inline-block;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.activity-date .month {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
}

.activity-date .year {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.activity-content {
    position: relative;
    z-index: 2;
}

.activity-content h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.recent-activity-card:hover .activity-content h5 {
    color: #007bff;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    border: 1px solid #dee2e6;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.05) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-section h3,
.cta-section p,
.cta-section .btn {
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .activities-hero {
        padding: 3rem 0;
    }
    
    .activities-hero h1 {
        font-size: 2.5rem;
    }
    
    .activity-card .card-body {
        padding: 1.5rem;
    }
    
    .recent-activity-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-section {
        padding: 2rem !important;
    }
}

@media (max-width: 576px) {
    .activities-hero h1 {
        font-size: 2rem;
    }
    
    .activity-card .card-header {
        padding: 1rem;
    }
    
    .activity-card .card-body {
        padding: 1rem;
    }
    
    .recent-activity-card {
        padding: 1rem;
    }
}

/* Animation Enhancements */
.wow {
    visibility: hidden;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

.fadeInRight {
    animation-name: fadeInRight;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
