/* =====================================
   Jenny et Antoine © Maison-lusson
===================================== */
html {
    scroll-behavior: smooth;
}

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

.image-group {
  display: flex;
  justify-content: center; /* Horizontal centering */
  align-items: center;     /* Vertical centering */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.container,
.info-site,
.share-container,
form,
footer {
    transition: all 0.3s ease;
}

.container:hover {
    transform: translateY(-3px);
}

/* =====================================
   BASE
===================================== */
body {
    background: black;
    line-height: 1.6;
}

/* =====================================
   TYPOGRAPHIE
===================================== */
h1, h2, h3, h4, h5, h6 {
    color: black;
    margin-bottom: 0.5em;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

p {
    color: black;
    margin-bottom: 1em;
    text-align: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

p:hover {
    color: #333333;
    transform: translateY(-2px);
}

/* =====================================
   HEADER
===================================== */
header {
    background-color: black;   /* fond du header noir */
    text-align: center;
    position: relative;
    padding: 20px 0;
}

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

/* =====================================
   MAIN NAV HORIZONTAL
===================================== */
.main-nav {
    background-color: #5a5a5a;   /* fond du menu horizontal gris foncé */
    padding: 15px 0;
	border-radius: 10px;
	max-width: 1100px;
	margin: 0 auto;
    width: 90%;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav li {
    margin: 0 10px;
}

/* BOUTONS MENU */
.main-nav a {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: #433e3e; /* gris plutot foncé */
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
	box-shadow: 0px 1px #a8a8a8 inset;
	border: solid 1px #a8a8a8;
	text-shadow: 0 1px 0 #a8a8a8; 
}

.main-nav a:active {
  background: #d8dade;
border: solid 2px white;
}

.main-nav a:hover {
    background-color: #333; /* gris foncé au hover */
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav li {
        margin: 5px 0;
    }

    .main-nav a {
        width: 90%;
        text-align: center;
        margin: 5px auto;
    }
}

/* =====================================
   ESPACEMENT AUTOMATIQUE DU MAIN
===================================== */
.site-main {
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

header::after {
    content: "";
    display: block;
    height: 1vh; /* espace automatique sous le header */
}

/* =====================================
   BLOCS GRIS CENTRÉS
===================================== */
.info-site,
.share-container,
.container,
form,
footer {
    background-color: #6c6666;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin: 10px auto;
    width: 90%;
    max-width: 1100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.info-site:hover,
.share-container:hover,
.container:hover,
form:hover,
footer:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* =====================================
   SHARE
===================================== */
.share-container {
    border-top: 2px solid #8B0000;
    border-bottom: 2px solid #8B0000;
}

.share-container a.btn-share-facebook {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background-color: #8B0000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.share-container a.btn-share-facebook:hover {
    background-color: #5a0000;
    transform: scale(1.05);
}

/* =====================================
				FOOTER
===================================== */
footer {
    background-color: #5a5a5a;
    color: black;
    text-align: center;
    padding: 10px 20px;
    margin: 20px auto;
    width: 90%;
    max-width: 1100px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

footer:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

footer a {
    color: black;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #333333; /* couleur gris foncé Maison Lusson */
    
}

footer p {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Optionnel : petites icônes sociales alignées horizontales */
footer .footer-social {
    margin-top: 10px;
}

footer .footer-social a {
    display: inline-block;
    margin: 0 8px;
    font-size: 1.2rem;
    color: black;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer .footer-social a:hover {
    color: #333333;
    transform: scale(1.1);
}

/* BOUTONS FOOTER */
footer .footer-btn {
    display: inline-block;
    margin: 5px 8px;
    padding: 8px 16px;
    background-color: #ddd; /* gris clair */
    color: #333; /* texte sobre */
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
	box-shadow: 0px 1px #a8a8a8 inset;
	border: solid 1px #a8a8a8;
	text-shadow: 0 1px 0 #a8a8a8;
}

footer .footer-btn:hover {
    background-color: #bbb; /* gris foncé au hover */
    transform: translateY(-2px);
    color: #000;
}

footer .footer-btn:active {
  background: #d8dade;
  border-color: white;
}

/* Lien email ou réseaux sociaux peuvent aussi être boutons */
footer .footer-btn span {
    background-color: #ddd;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
}

footer .footer-copyright {
    display: inline-block;
    margin: 0px 3px;
    padding: 0px 3px;
    background-color: #5a5a5a; /* gris clair */
    color: white; /* texte blanc */
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
	font-size: 1.1rem;
	
}

footer .footer-copyright:hover {
    transform: translateY(-2px);
    color: #cccccc;
	text-decoration: underline;
	
}

/* Effet hover sur amour-france.png */
.img-amour-france {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    display: block;
    margin: 0 auto; /* centrer si besoin */
}

.img-amour-france:hover {
    transform: scale(1.05); /* léger zoom */
    box-shadow: 0 10px 20px rgba(0,0,0,0.3); /* ombre portée */
    opacity: 0.9; /* légère transparence */
	border-radius: 5px;
}


/* BOUTONS SOCIAUX */
footer .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 5px 8px;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1rem;
}

/* Facebook */
footer .social-btn.facebook {
    background: linear-gradient(#1877F2, #1366d2, #135ebf, #09499b); /* bleu dégradé Facebook */
}

footer .social-btn.facebook:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
}

footer .social-btn.facebook:active {
    border-color: #white;
	border: solid 1px #a8a8a8;
}

/* Instagram */
footer .social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); /* gradient officiel Instagram */
}

footer .social-btn.instagram:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
}

footer .social-btn.instagram:active {
    border-color: #white;
	border: solid 1px #a8a8a8;
}

/* Icones à gauche du texte */
footer .social-btn i {
    margin-right: 8px;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    footer {
        padding: 30px 15px;
    }

    footer .footer-social a {
        font-size: 1.1rem;
        margin: 0 5px;
    }
}


/* =====================================
   COOKIE BANNER
===================================== */
#cookie-banner {
    position: fixed;
    bottom: 20px;                /* un petit espace depuis le bas */
    left: 50%;
    transform: translateX(-50%); /* centre horizontalement par rapport au site */
    width: 90%;
    max-width: 1100px;           /* même largeur que le footer */
    background-color: #333333;   /* gris foncé */
    color: #fff;
    padding: 20px 20px;          /* moins haut que le footer */
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    font-weight: bold;
    font-size: 1rem;
}

/* Liens */
#cookie-banner a {
    color: #fff;
    text-decoration: underline;
    margin: 0 5px;
    transition: color 0.3s;
}

#cookie-banner a:hover {
    color: #ddd;
}

/* Boutons */
#cookie-banner button {
    margin-left: 10px;
    padding: 8px 16px;           /* plus petit que le footer */
    background-color: #555;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

#cookie-banner button:hover {
    background-color: #777;
    transform: translateY(-1px);
}


/* =====================================
   RESPONSIVE
===================================== */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        margin: 5px 0;
    }

    .main-nav a {
        width: 90%;
        margin: 5px auto;
        text-align: center;
    }
@media (max-width:768px){
    #cookie-banner {
        width: 90%;
        padding: 30px 15px;
        font-size: 0.9rem;
    }

    #cookie-banner button {
        margin: 10px 5px 0 5px;
        width: 45%;
    }

}

/* =====================================
   FORMULAIRE
===================================== */
form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    max-width: 600px;
    padding: 8px;
    margin: 0 auto 15px auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
}

form input[type="submit"] {
    background-color: #333333;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #333333;
    transform: scale(1.05);
}

