/* Styles de base */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0b0d1b;
    color: white;
    text-align: center;
}

header {
    background-color: #1c1f2b;
    padding: 20px;
}

descrip {
    font-size: x-small;
}

/* === MODULE CONTACT === */
.contact-button {
    text-align: center;
    margin: 40px 0;
}

.btn-contact {
    display: inline-block;
    background-color: #4682B4;
    color: black;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.btn-contact:hover {
    background-color: #6495ED;
}

h1 {
    margin: 0;
    font-size: 2rem;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}
nav ul li a {
    text-decoration: none;
    color: white; /* Couleur normale des liens */
    transition: color 0.3s ease-in-out;
}

nav ul li a.active {
    color: #FFD700; /* Change la couleur du lien actif (jaune doré ici) */
    font-weight: bold; /* Optionnel : mettre en gras */
    border-bottom: 2px solid #FFD700; /* Optionnel : petite ligne sous le mot */
}

/* Section d'accueil */
.hero {
    padding: 50px;
    background: url('images/stars.jpg') center/cover;
}

.hero h2 {
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.2rem;
}

/* Galerie responsive */
.gallery .grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-items: center;
}

.gallery .grid img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease-in-out;
}

.gallery {
    text-align: center;
    padding: 20px;
}

.gallery h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #1c1f2b;
    padding: 10px;
    margin-top: 20px;
}

body {
    font-family: 'Raleway', sans-serif;
}
/* ============================== */
/* === 📱 Responsive Design === */
/* ============================== */

/* Pour les écrans de moins de 768px (smartphones) */
@media screen and (max-width: 768px) {
    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    .hero {
        padding: 30px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .gallery .grid img {
        max-width: 100%;
    }
}

/* Pour les tablettes (écrans entre 768px et 1024px) */
@media screen and (max-width: 1024px) {
    .hero h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .gallery .grid {
        gap: 5px;
    }
}
