/* Styles pour le formulaire d'inscription */
.registration-form {
    max-width: 600px;
    margin: 3rem auto; /* Ajusté pour éviter le chevauchement avec le header */
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
}

.error {
    color: red;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.main-header {
    height: 60vh; /* Hauteur réduite par rapport à l'index */
    min-height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('../../images/header-bg.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0; /* Supprimer le padding */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding-top: 80px; /* Ajoute un padding pour compenser la navbar fixe */
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    width: 100%;
    background: rgba(255, 255, 255, 0.1); /* Même fond semi-transparent que l'index */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

/* Ajouter un effet de fond plus foncé au scroll */
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
}

.nav-links {
    display: flex;
    align-items: center; /* Centrer verticalement les liens */
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

main.container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

h1 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    margin-top: 80px; /* Hauteur de la navbar + un peu d'espace */
    padding-top: 2rem; /* Ajuste l'espacement du hero */
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 1.5rem;
    color: white;
    opacity: 0.9;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .logo-img {
        height: 50px;
    }

    .main-header {
        height: 50vh;
        padding-top: 60px; /* Ajuste le padding pour mobile */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .navbar {
        padding: 1rem 2%;
    }
}