:root {
    --primary-blue: #0056D2;
    --accent-yellow: #FFD700;
    --light-gray: #f4f4f4;
    --dark-text: #333;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #003c94 100%); 
    color: white;
    padding: 150px 5% 80px; 
    text-align: center;
}

.page-hero h1 {
    font-size: 3.5em; 
    color: var(--accent-yellow); 
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-hero p {
    font-size: 1.3em;
    opacity: 1; 
}


.full-events {
    padding-top: 50px;
    background-color: white;
}

.event-detail-card {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    padding: 30px; 
    background-color: var(--light-gray);
    border-radius: 15px; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); 
    transition: transform 0.4s, box-shadow 0.4s;
}

.event-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.event-detail-card.reverse {
    flex-direction: row-reverse; 
}

.event-image-container {
    flex: 1;
    min-width: 300px;
    padding: 15px;
}

.event-image-container img {
    width: 100%;
    height: 250px; 
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); 
}

.event-info {
    flex: 2;
    padding: 15px;
    text-align: left;
}

.event-info h3 {
    font-size: 2em; 
    color: var(--primary-blue);
    margin-top: 0;
}

.date-location {
    font-weight: 700; 
    color: var(--accent-yellow);
    margin-bottom: 25px; 
    font-size: 1.2em;
}

.small-btn {
    padding: 10px 25px;
    font-size: 1em;
}

@media (max-width: 768px) {
    .page-hero {
        padding-top: 100px;
    }
    
    .page-hero h1 {
        font-size: 2.5em;
    }

    .event-detail-card,
    .event-detail-card.reverse {
        flex-direction: column; 
        text-align: center;
        padding: 20px;
    }
    
    .event-image-container {
        min-width: 100%;
        padding: 0 0 15px 0;
    }
    
    .event-image-container img {
        height: 200px;
    }

    .event-info {
        padding: 15px 0 0 0;
        text-align: center;
    }
    
    .event-info h3 {
        font-size: 1.8em;
    }
    
    .date-location {
        font-size: 1.1em;
    }
}


/* pour dev par ..... */
.credits {
    font-size: 0.9em; 
    color: rgba(255, 255, 255, 0.8); 
    margin-top: 15px; 
}

.credits a {
    color: var(--accent-yellow); 
    text-decoration: none; 
    font-weight: 600;
    transition: color 0.3s;
}

.credits a:hover {
    color: white; 
    text-decoration: underline; 
}