/* Style général du corps */
body {
    font-family: 'Roboto', 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* En-tête avec effet moderne */
header {
    background: linear-gradient(135deg, #cc0000 0%, #ff0000 100%);
    color: white;
    padding: 30px 0;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 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; }
}

/* Navigation moderne */
nav {
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

nav a {
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover {
    background: linear-gradient(135deg, #cc0000, #ff3333);
    border-bottom: 3px solid #ffff00;
    transform: translateY(-2px);
}

/* Contenu principal */
.main-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

/* Titres stylisés */
h1, h2, h3 {
    color: #ff3333;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-size: 2.5em;
    border-bottom: 3px solid #cc0000;
    padding-bottom: 15px;
    display: inline-block;
}

/* Boutons d'action */
.cta-button, button[type="submit"], .btn {
    background: linear-gradient(135deg, #cc0000 0%, #ff3333 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
    cursor: pointer;
    letter-spacing: 1px;
}

.cta-button:hover, button[type="submit"]:hover, .btn:hover {
    background: linear-gradient(135deg, #ff3333 0%, #ff6666 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 51, 51, 0.6);
}

/* Photo de groupe avec effet */
.group-photo, img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    border: 3px solid #cc0000;
}

.group-photo:hover, img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(204, 0, 0, 0.6);
}

/* Cartes et sections */
.card, .section {
    background: rgba(255,255,255,0.08);
    padding: 25px;
    margin: 20px 0;
    border-radius: 12px;
    border-left: 4px solid #cc0000;
    transition: all 0.3s ease;
}

.card:hover, .section:hover {
    background: rgba(255,255,255,0.12);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(204, 0, 0, 0.3);
}

/* Pied de page */
footer {
    background: rgba(0,0,0,0.9);
    color: #999;
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    border-top: 3px solid #cc0000;
}

/* Animations générales */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-content > * {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        padding: 15px;
        margin: 20px 10px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    nav a {
        padding: 12px 15px;
        font-size: 0.9em;
    }
}

/* Amélioration du menu sur 2 lignes */
nav {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
}

nav a {
    flex: 0 1 auto;
    white-space: nowrap;
}