/* ===== ACTIVITIES PAGE STYLES ===== */
#contact { /* Note: La section a la classe "contact", on utilise #contact pour cibler */
    min-height: 100vh;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* ===== PAGE HEADER ===== */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.page-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-top: 30px;
}

/* ===== FILTERS SECTION ===== */
.filters-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 15px 40px rgba(33, 33, 33, 0.08);
    position: relative;
    overflow: hidden;
}

.filters-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--dark));
    background-size: 300% 100%;
    animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.filters-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.filter-label i {
    color: var(--primary);
    font-size: 1.1rem;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f5f5f5;
    color: var(--text-light);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-left: 4px solid transparent;
}

.filter-option:hover {
    background: rgba(211, 47, 47, 0.1);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.filter-option.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.2);
}

.filter-option.active i {
    color: white;
}

.filter-option i {
    font-size: 0.9rem;
}

/* ===== SEARCH BOX ===== */
.search-box {
    margin-top: 20px;
}

.search-form {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 18px 60px 18px 25px;
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    font-size: 1.05rem;
    background: white;
    color: var(--text);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1), 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.search-input::placeholder {
    color: #9e9e9e;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover {
    background: linear-gradient(135deg, var(--primary-dark), #A31C1C);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

/* ===== ACTIVITIES GRID ===== */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 1200px) {
    .activities-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== ACTIVITY CARD ===== */
.activity-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(33, 33, 33, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(33, 33, 33, 0.15);
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* ===== FEATURED BADGE ===== */
.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.featured-badge i {
    font-size: 0.9rem;
}

/* ===== ACTIVITY IMAGE ===== */
.activity-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1), rgba(46, 125, 50, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 3.5rem;
}

/* ===== IMAGE BADGES ===== */
.status-badge,
.price-badge {
    position: absolute;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    z-index: 2;
}

.status-badge {
    top: 20px;
    right: 20px;
}

.status-published {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.status-draft {
    background: linear-gradient(135deg, #9e9e9e, #757575);
}

.status-cancelled {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.status-postponed {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.price-badge {
    bottom: 20px;
    right: 20px;
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary);
}

/* ===== ACTIVITY CONTENT ===== */
.activity-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* ===== CATEGORIES ===== */
.activity-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: currentColor;
}

.category-tag i {
    font-size: 0.8rem;
}

.more-tag {
    background: #f5f5f5 !important;
    color: var(--text-light) !important;
    border-color: #e8e8e8 !important;
}

/* ===== TITLE ===== */
.activity-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.3;
    flex-grow: 1;
}

.activity-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.activity-title a:hover {
    color: var(--primary);
}

/* ===== DESCRIPTION ===== */
.activity-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
    flex-grow: 1;
}

/* ===== META INFORMATION ===== */
.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px dashed #f0f0f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--primary);
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.meta-item span {
    font-weight: 500;
}

/* ===== ACTION BUTTONS ===== */
.activity-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.btn-details,
.btn-register {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-details {
    background: #f5f5f5;
    color: var(--dark);
    border: 2px solid transparent;
}

.btn-details:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: 2px solid transparent;
}

.btn-register:hover {
    background: linear-gradient(135deg, var(--primary-dark), #A31C1C);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.3);
}

/* ===== NO ACTIVITIES STATE ===== */
.no-activities {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(33, 33, 33, 0.08);
}

.no-activities i {
    font-size: 5rem;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.no-activities h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.no-activities p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.btn-reset {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.3);
}

/* ===== PAGINATION ===== */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 60px 0;
}

.pagination {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    color: var(--dark);
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: rgba(211, 47, 47, 0.1);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.2);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ===== CALL TO ACTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100"><path d="M0,0H100V100H0ZM50,50A25,25,0,1,0,25,25,25,25,0,0,0,50,50Z" fill="white" opacity="0.05"/></svg>');
    background-size: 300px;
    animation: backgroundMove 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: white;
    color: var(--primary);
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: var(--primary-dark);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .page-title {
        font-size: 3rem;
    }
    
    .filters-section {
        padding: 30px 25px;
    }
    
    .filters-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    #contact {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-description {
        font-size: 1.1rem;
    }
    
    .activity-actions {
        flex-direction: column;
    }
    
    .btn-details,
    .btn-register {
        width: 100%;
    }
    
    .cta-section {
        padding: 50px 30px;
    }
    
    .cta-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .filters-section {
        padding: 25px 20px;
    }
    
    .filter-option {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .search-input {
        padding: 16px 55px 16px 20px;
    }
    
    .activity-content {
        padding: 25px;
    }
    
    .activity-title {
        font-size: 1.4rem;
    }
    
    .no-activities {
        padding: 60px 25px;
    }
    
    .no-activities h3 {
        font-size: 1.8rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .btn-cta {
        padding: 16px 30px;
        font-size: 1.1rem;
    }
}