/* --- Styles pour TOUS LES ÉCRANS (et par défaut sur MOBILE) --- */

html, body {
    background-color: #000000;
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: #4da6ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* En-tête / Navigation de base */
header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #222;
}

.nav-links {
    margin-top: 10px;
}

.nav-links a {
    margin: 0 10px;
}

/* Conteneur principal */
.tuto-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #ffffff;
}

h2 {
    font-size: 1.5rem;
    color: #ffcc00; /* Accentuation pour les étapes */
    margin-top: 0;
}

h3 {
    font-size: 1.2rem;
    color: #e0e0e0;
}

.category {
line-height: 2.0;
font-weight: normal;
font-family: Arial,Helvetica,sans-serif;
opacity: 1;
//background-color: #F0F0F0;
color: #858586;
border-radius: 5px;
margin: 0 4px 0 4px;
padding:0 8px 0 8px;
}

/* Chaque étape s'organise en colonne par défaut sur mobile */
.tuto-step {
    display: block;
    margin-bottom: 60px;
    border-bottom: 1px solid #222;
    padding-bottom: 40px;
}

.step-text {
    margin-bottom: 20px;
}

.step-image {
    text-align: center;
}

.step-image img {
    border: 1px solid #333;
    border-radius: 4px;
}

/* Section Don / Footer */
.donation-section {
    background-color: #111;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
    border: 1px solid #222;
}

.footer-nav {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #222;
    font-size: 0.9rem;
}

/* Notes complémentaires & Matériel */
.notes-section {
    background-color: #111;
    padding: 20px;
    border-radius: 6px;
    margin-top: 30px;
}

.category {
    //display:block;
    text-align:center;
    text-shadow:none;
    line-height: 2.0;
    margin: 0 7px 0 7px;
    text-transform:uppercase;
}

/* Add a black background color to the top navigation */
.header {
  background-color: #000;
  //text-transform:uppercase;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.header a {
  float: left;
  display: block;
  color: #DDD;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.header a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.header a.active {
  background-color: #4CAF50;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.header .icon {
  display: none;
}

/* --- Styles spécifiques pour ORDINATEURS / TABLETTES (Écrans de plus de 768px) --- */
@media (min-width: 768px) {
    /* Utilisation de display: table pour simuler un layout côte à côte robuste */
    .tuto-step {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    .step-text, .step-image {
        display: table-cell;
        vertical-align: top;
    }

    .step-text {
        width: 60%;
        padding-right: 40px;
    }

    .step-image {
        width: 40%;
    }
    
    /* Alternance visuelle gauche/droite pour le rythme de lecture */
    .tuto-step.reverse .step-text {
        padding-right: 0;
        padding-left: 40px;
    }
}
