/* Réinitialisation des marges et padding */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

/* Contenu général */
body {
    background-color: black; /* Fond noir */
    color: white; /* Texte en blanc */
    font-family: Arial, sans-serif;
    position: relative;
    overflow-x: hidden; /* Empêche le défilement horizontal */
}

header {
    height: 80px; /* Ajuste la hauteur si nécessaire pour correspondre exactement à index.html */
    display: flex;
    align-items: center;
    background-color: black;
}


#header-content {
    width: 100%;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-end; /* Aligne tout à droite */
    align-items: center;
    background-color: black;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}


#menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#menu li {
    display: inline-block;
    margin-right: 20px;
}

#menu li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

#menu li a:hover {
    text-decoration: underline;
}

/* Menu déroulant */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    padding: 10px;
    border: 1px solid #444;
    z-index: 1;
}

.dropdown-menu li {
    display: block;
    margin-bottom: 10px;
    margin-right: 0;
}

.dropdown-menu li a {
    color: #fff;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    color: #ccc;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Section de présentation */
#presentation-bts-sio {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

#presentation-bts-sio h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #ffffff; /* Couleur verte pour le titre */
}

.presentation-text {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 40px;
}

/* Section des options */
#options {
    padding: 20px;
    margin-bottom: 60px;
}

.option-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.option-box {
    width: 45%;
    min-width: 300px;
    height: 350px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.option-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.slam {
    background-image: url('https://images.unsplash.com/photo-1607799279861-4dd421887fb3?auto=format&fit=crop&q=80&w=1000');
}

.sisr {
    background-image: url('https://images.unsplash.com/photo-1588508065123-287b28e013da?auto=format&fit=crop&q=80&w=1000');
}

.option-info {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    width: 100%;
    transition: height 0.3s ease;
    height: 80px;
    overflow: hidden;
}

.option-box:hover .option-info {
    height: 220px;
}

.option-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    color: #ffffff;
}

.option-info p {
    margin: 5px 0;
    font-size: 1rem;
}

.option-description {
    margin-top: 15px;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
    font-size: 0.95rem;
    line-height: 1.5;
}

.option-box:hover .option-description {
    opacity: 1;
}

/* Responsivité - Adaptation sur mobile */
@media (max-width: 768px) {
    /* Pour la section de présentation, la disposition devient verticale sur mobile */
    #header-content {
        flex-direction: column;
        align-items: center;
    }

    #menu {
        margin-top: 20px;
    }
    
    .option-box {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .presentation-text {
        font-size: 1.1rem;
        padding: 0 10px;
    }
}
