/* style.css 7/6/2026 CISA 2026 */
:root {
    --primary-color: #005A9E; /* Bleu Windows */
    --secondary-color: #F3F2F1;
    --text-color: #333333;
    --light-bg: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: var(--secondary-color); color: var(--text-color); line-height: 1.6; }

/* Header & Menu */
header { background-color: var(--primary-color); color: white; padding: 1rem 0; position: sticky; top: 0; z-index: 100; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: auto; padding: 0 20px; }
.logo { font-size: 1.5rem; font-weight: bold; text-decoration: none; color: white; }
.nav-menu { list-style: none; display: flex; gap: 20px; }
.nav-menu li a { color: white; text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-menu li a:hover { color: #80D0FF; }
.menu-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* Conteneur principal */
main { max-width: 1200px; margin: 2rem auto; padding: 20px; background: var(--light-bg); border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
h1, h2, h4 { color: var(--primary-color); margin-bottom: 1rem; }
p { margin-bottom: 1rem; }

/* Tableaux */
table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
th, td { border: 1px solid #ddd444; padding: 12px; text-align: left; }
th { background-color: var(--primary-color); color: white; }

/* Images & Galerie */
.hero-images { display: flex; gap: 20px; margin-bottom: 2rem; height:16rem;}
.hero-images img { width: 50%; height: auto; border-radius: 8px; object-fit: cover; }  /*  width:50% height:auto */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }
.gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; border: 1px solid #ddd; }
   .hero2 {
        flex-direction: column;
        align-items: center;
    }

    .hero2 img {
        width: 80%;
        margin-bottom: 1rem;
    }
/* Formulaire */

.full-width { grid-column: span 2; }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; }
/*button { background-color: var(--primary-color); color: white; border: none; padding: 10px 20px; font-size: 1rem; border-radius: 4px; cursor: pointer; transition: background 0.3s; }
button-:hover { background-color: #004578; }

/* Grille de téléchargements 
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.dl-card { border: 1px solid #eee; padding: 15px; border-radius: 8px; background: #fafafa; }
.dl-card h4 { margin-bottom: 10px; border-bottom: 2px solid var(--primary-color); padding-bottom: 5px; }
form { display: flex; flex-direction: column; gap: 1rem; }*/
input, textarea {
    padding: 0.8rem; border: 1px solid #ccc; border-radius: 4px;
    width: 100%; box-sizing: border-box;
}
button {
    background: blue; /*var(--secondary-color);*/
		color: white;
    border: none; padding: 1rem; cursor: pointer;
    border-radius: 4px; font-weight: bold;
}
button:hover { background: var(--primary-color); }
.activite {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #444;
}

.activite img {
    width: 100px;
    height: auto;
    float: left;
    margin-right: 1rem;
}
.card2 {
    background: white; padding: 1.5rem;
    border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}
.grid-container2 {
	display: grid; grid-template-columns: 49% 49%;gap: 1.5rem; 
}
/* Footer */
footer {
	text-align: center; 
	padding: 20px; 
	background: #333; 
	color: white; 
	margin-top: 2rem;
}
/* Responsive Media Queries */
@media (max-width: 768px) {
    .nav-menu { display: none; flex-direction: column; width: 100%; position: absolute; top: 100%; left: 0; background: var(--primary-color); padding: 20px 0; }
    .nav-menu.active { display: flex; align-items: center; }
    .menu-toggle { display: block; }
    .hero-images { flex-direction: column; }
    .hero-images img { width: 100%; }
    form { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
}