/* ---------------- GLOBAL ---------------- */

body {
    margin: 0;
    background: #f2e9d8;
    font-family: "Poppins", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---------------- HEADER ---------------- */

header {
    width: 100%;
    text-align: center;
    background: #d4b483;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

header h1 {
    margin: 0;
    font-size: 2.4em;
}

header p {
    margin: 5px 0 0;
    font-size: 1.1em;
}

/* ---------------- FOOTER ---------------- */

footer {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
    color: #555;
    margin-top: 20px;
}

/* ---------------- IMAGE ---------------- */

.village-container {
    position: relative;
    width: 900px;
    max-width: 95%;
    margin-top: 25px;
}

.village-map {
    width: 100%;
    border-radius: 10px;
}

/* ---------------- ZONES CLIQUABLES ---------------- */
/* Mode debug activé : fond rouge semi-transparent */

.house {
    position: absolute;
    display: block;
    cursor: pointer;

    transition: transform .25s ease, filter .25s ease;
}

.house:hover {
    transform: scale(1.10);
    filter: drop-shadow(0 0 14px rgba(255,255,140,0.8));
}

/* ---------------- HITBOX RECADRÉES ---------------- */

/* Maison haut gauche */
.zone1 {
    width: 180px;
    height: 150px;
    top: 22%;
    left: 6%;
}

/* Maison haut droite */
.zone2 {
    width: 210px;
    height: 170px;
    top: 24%;
    left: 71%;
}

/* Maison centrale */
.zone5 {
    width: 186px;
    height: 137px;
    top: 42%;
    left: 39%;
}

/* Maison bas gauche */
.zone3 {
    width: 310px;
    height: 300px;
    top: 43%;
    left: 2%;
}

/* Maison bas droite */
.zone4 {
    width: 260px;
    height: 195px;
    top: 47%;
    left: 68%;
}

/* ---------------- PAGE SPECIAL: GOLDBERG ---------------- */

.goldberg {
    margin-top: 50px;
    width: 80%;
    max-width: 800px;
    background: #ffffffd0;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.goldberg h1 {
    font-size: 2em;
    margin-bottom: 15px;
}

.retour {
    display: inline-block;
    margin-top: 20px;
    background: #4f8f46;
    padding: 10px 20px;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.retour:hover {
    background: #3a6c35;
}
/* -------- BADGE NIRD -------- */

#nirdBadge {
    width: 60px;
    position: absolute;
    top: 10px;
    right: 20px;
}

.hidden {
    display: none !important;
}

/* ------- BOUTON VIDÉO DANS L'ENTÊTE ------- */

#videoButton {
    position: absolute;
    top: 15px;
    left: 20px;

    background: #4f8f46;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;

    transition: background 0.25s ease, transform 0.2s ease;
    z-index: 9999;
}

#videoButton:hover {
    background: #3a6c35;
    transform: scale(1.05);
}
