/* ÉVÉNEMENTS - Page dédiée */
.events-page {
    background: #fff;
    margin-top: 0;
}

.events-hero {
    background: linear-gradient(135deg, #d70f20 0%, #005b85 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-top: 0;
}

.events-hero-content h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
}

.events-subtitle {
    font-size: 1.2em;
    opacity: 0.95;
    margin-bottom: 10px;
}

.events-credit {
    font-size: 0.95em;
    opacity: 0.85;
    font-style: italic;
    margin-top: 10px;
}

.events-intro {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.events-grid-section {
    padding: 40px 20px;
    background: #f8f9fa;
}

.events-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.event-image {
    width: 100%;
    aspect-ratio: 1 / 1.414;
    overflow: hidden;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.event-content {
    padding: 25px;
}

.event-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #d70f20;
    font-weight: 600;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.event-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 0.95em;
}

.event-meta .meta-item i {
    color: #005b85;
    width: 20px;
}

.event-description {
    color: #555;
    line-height: 1.6;
    font-size: 0.95em;
}

.no-events {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.no-events i {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-events p {
    font-size: 1.2em;
    margin: 10px 0;
}

.no-events-subtitle {
    color: #aaa;
    font-size: 1em !important;
}

/* ÉVÉNEMENTS - Section home */
.upcoming-events-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.upcoming-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.upcoming-event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.upcoming-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.upcoming-event-image {
    width: 100%;
    aspect-ratio: 1 / 1.414;
    overflow: hidden;
}

.upcoming-event-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
}

.upcoming-event-content {
    padding: 20px;
}

.upcoming-event-content h3 {
    font-size: 1.3em;
    margin-bottom: 12px;
    color: #d70f20;
    font-weight: 600;
}

.upcoming-event-date,
.upcoming-event-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 8px;
}

.upcoming-event-date i,
.upcoming-event-location i {
    color: #005b85;
}

.view-all-events {
    text-align: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .events-hero-content h1 {
        font-size: 2em;
    }
    
    .events-container {
        grid-template-columns: 1fr;
    }
    
    .upcoming-events-grid {
        grid-template-columns: 1fr;
    }
}
