/* ============================= */
/* Refuge Habitat Juliette 2026 */
/* Style principal */
/* ============================= */

*{
    box-sizing: border-box;
}

body{
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff7fb;
    color: #333;
    line-height: 1.6;
}

/* Header */

header{
    background: #ffffff;
    text-align: center;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.logo{
    margin-bottom: 15px;
}

.site-logo{
    max-width: 160px;
    height: auto;
}

.logo p{
    color: #8a4f68;
    font-weight: bold;
    margin: 10px 0;
}

/* Menu */

nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

nav a{
    background: #ffd6e8;
    color: #6b2f4a;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover{
    background: #ff9fcb;
    color: white;
}

/* Main */

main{
    max-width: 1100px;
    margin: auto;
    padding: 25px;
}

/* Hero */

.hero{
    background: linear-gradient(135deg, #ffe1ef, #ffffff);
    text-align: center;
    padding: 40px 25px;
    border-radius: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.hero h1{
    color: #b63f78;
    font-size: 2rem;
    margin-bottom: 15px;
}

.hero p{
    max-width: 800px;
    margin: 15px auto;
}

.hero-image{
    width: 100%;
    max-width: 420px;
    border-radius: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

/* Titres */

.titre{
    text-align: center;
    color: #b63f78;
    margin: 30px 0 20px;
}

/* Cartes */

.cards{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card,
.sante-card,
.photo-card,
.video-box{
    background: #ffffff;
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 25px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.card h3,
.sante-card h2,
.photo-card h3,
.video-box h3{
    color: #b63f78;
}

/* Boutons */

.button{
    display: inline-block;
    background: #ff9fcb;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: bold;
    margin: 8px;
    transition: 0.3s;
}

.button:hover{
    background: #d94f8c;
}

/* Galerie photos */

.gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.photo-card{
    text-align: center;
}

.photo-card img,
.story-image{
    width: 100%;
    max-width: 520px;
    border-radius: 20px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.10);
}

.photo-card p{
    margin: 10px 0;
}

/* Vidéos */

.video-box{
    text-align: center;
}

.video-juliette,
video{
    width: 25%;
    max-width: 420px;
    min-width: 220px;
    border-radius: 20px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.10);
}

/* Listes */

ul{
    padding-left: 25px;
}

li{
    margin-bottom: 8px;
}

/* Footer */

footer{
    background: #ffffff;
    text-align: center;
    padding: 20px;
    color: #8a4f68;
    font-weight: bold;
    margin-top: 40px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}

/* Téléphone */

@media screen and (max-width: 700px){

    main{
        padding: 15px;
    }

    .hero{
        padding: 30px 15px;
    }

    .hero h1{
        font-size: 1.5rem;
    }

    nav a{
        padding: 9px 13px;
        font-size: 0.95rem;
    }

    .video-juliette,
    video{
        width: 100%;
    }
}