/** General **/

:root {
    --header-color: #023047;
    --accent-color: #fb8500;
    --footer-color: #ffb703;
    --content-bg-color:#FCF2E6;
}

body {
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
    margin: 0%;
}


/* Animation */

@keyframes hovernav {
    from {
        border: 3px solid var(--header-color);
    }

    to {
        border: 3px solid var(--accent-color);
    }
}

@keyframes hoverlogo {
    from {
        filter: none;
    }

    to {
        filter: invert(100%);
    }
}

/* Navigation */

h1#banniere img {
    text-align: left;
    vertical-align: middle;
    width: 60px;
}

header {
    background-color: var(--header-color);
    color: white;
    box-shadow: 0px 3px 5px #888;
}

#banniere {
    font-weight: normal;
    width: 350px;
    height: 100%;
    display: inline-block;
    padding-left: 2%;
    margin: 0%;
    font-size: 28px;
}

#banniere:hover {
    animation: 1s hoverlogo forwards;
}

nav#barre_info {
    font-size: large;
    width: auto;
    display: inline-flex;
}


nav#barre_info a {
    padding: 3%;
    margin: 5px;
    border-radius: 10px;
    border: 3px solid var(--header-color);
}

nav#langues {
  display: flex;
  justify-content: flex-end; /* ➜ à droite */
  gap: 15px;
}

nav#langues a {
  color: white;
  border: 1px solid white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  display: flex;
  justify-content: flex-end; /* ➜ à droite */
  gap: 15px;
}

nav#langues a:hover {
  background-color: white;
  color: black;
}



.inactive-page:hover {
    animation: 1.0s hovernav forwards;
}

.special-link,
.special-link:visited,
.special-link:hover,
.special-link:active {
    color: inherit;
    text-decoration: inherit;
    background-color: inherit;
}

.active-page,
.active-page:active,
.active-page:hover {
    background-color: var(--accent-color);
}

/* Partie video*/

.hero-video {
  position: relative;
  width: 100%;
  height: 70vh; /* hauteur de la vidéo */
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* remplit sans déformer */
}

/* Voile sombre pour lisibilité du texte */
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Texte par-dessus */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
  padding: 20px;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.3rem;
  letter-spacing: 1px;
}

/* Footer */

.social_icons {
    vertical-align: middle;
    width: 25px;
    margin-left: 25px;
    filter: invert(100%)
}

.img{
	max-width: 100px;
    height: auto;

}

.img-profil{
  max-width: 500px;
  width: 800%;
  height: auto;
  margin-left: 10px;
  margin-top: 20%;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}



.page-accueil main h2 {
  color: black;
  text-align: center;
  margin-left: 0;
  grid-column: 1 / 3;
}
	
.titre-accueil {
  color: black;
  text-align: center;
   margin-top: 5%;
  margin-left: 0;
  grid-column: 1 / 3;
}

.page-bottom {
  color: black;
  position: fixed;
  bottom: 30px; /* au-dessus du footer */
  right: 15px;
  z-index: 5;
  }	
	
.titre-bottom {
   color: black;
   text-align: center;
   margin: 0;
   font-size: 0.8rem;
}	
	

footer {
    padding: 3px 15px;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 25px;
    color: white;
    background-color: var(--footer-color);
}

.stripe-btn {
  display: inline-block;
  padding: 14px 24px;
  background-color: #635bff;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
}
.stripe-btn:hover {
  background-color: #4b44c2;
}


/**Arrière-plan**/

main p {
    margin-bottom: 0px;
}

main h2 {
    font-weight: normal;
    font-size: 50px;
    color: black;
    margin-top: 20%;
    margin-left: 8%;
    padding: 10px 20px;
    grid-column: 1;
}


main::before {
    content: "";
    position: fixed;
    top: -5%;
    left: -5%;
    right: -5%;
    z-index: -1;

    display: block;
    background-image: url('/background_3.jpg');
    background-size: cover;
    width: 110%;
    height: 110%;

    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}

main {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 10px 5px;
    display: grid;
    grid-template-columns: 40% 60%;
}

/* Content */

#content-container p {
    font-size: medium;
}

#content-container img {
    float: right;
}

#content-container {
    text-align: justify;
    font-family: 'Open Sans', sans-serif;
    grid-column: 2;
    background-color: var(--content-bg-color);
    margin: 0 auto;
    margin-top: 80px;
    margin-bottom: 40px;
    padding: 20px;
    height: fit-content;
    width: 500px;
    box-shadow: 2px 2px 5px #888, -2px 0px 5px #888;
}

#content-container a,
#content-container a:visited,
#content-container a:hover,
#content-container a:active {

    background-color: inherit;
    text-decoration: none;
    color: inherit;
}


#content-container a {
    color: darkslateblue;
}

#content-container a:hover,
#content-container a:active {
    color: darkorange;
}

#content-container dd img {
    margin-left: 40px;
    width: 45%;
}

#content-container dd {
    margin-bottom: 20px;
}

#content-container dt {
    margin-top: 10px;
    font-weight: bold;
}

img:hover{
-ms-transform: scale(2); /* IE 9 */
-webkit-transform: scale(2); /* Safari 3-8 */
transform: scale(2);
}

.profil-layout {
    display: grid;
    grid-template-columns: auto 500px;
    align-items: start;
    gap: 200px;
	}

.profil-header {
    display: flex;
    align-items: flex-start; /* aligne en haut */
    gap: 30px;
	}

/**--Gallery/lLightbox ----**/


#gallery {
  width: 600px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin: 100px auto;
  border: 2px solid #003c72;
}
#navigation {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
}
#navigation li {
  padding: 0;
  margin: 0;
  margin: 5px 0 20px;
}
#navigation li a img {
  display: block;
  border: none;
}
#navigation li a {
  display: block;
}
#full-picture {
  width: 600px;
  height: 375px;
  overflow: hidden;
  float: left;
}
#full-picture img {
  width: 100%;
}

/* ------------------------------------------------------------------------------*/
.thumb {
    max-height: 171px;
    border: solid 6px rgba(5, 5, 5, 0.8);
}

.lightbox {
    position: fixed;
    z-index: 1;
    height: 0;
    width: 0;
    text-align:center;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    margin-top: 2%;
    opacity: 0;
}

.lightbox:target {
    /** Remove default browser outline */
    outline: none;

    width: 100%;
    height: 100%;
    opacity: 1 !important;
    
}

.lightbox:target img {
    border: solid 17px rgba(77, 77, 77, 0.8);
    opacity: 1;
    webkit-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

.light-btn {
    color: #fafafa;
    background-color: #333;
    border: solid 3px #777;
    padding: 5px 15px;
    border-radius: 1px;
    text-decoration: none;
    cursor: pointer;
    vertical-align: middle;
    position: absolute;
    top: 45%;
    z-index: 99;
}

.light-btn:hover {
    background-color: #111;
}

.btn-prev {
    left: 7%;
}

.btn-next {
    right: 7%;
}

.btn-close {
    position: absolute;
    right: 2%;
    top: 2%;
    color: #fafafa;
    background-color: #92001d;
    border: solid 5px #ef4036;
    padding: 10px 15px;
    border-radius: 1px;
    text-decoration: none;
}

.btn-close:hover {
    background-color: #740404;
}

/** ---------------- Responsive ---------------- **/

/* Tablette (max 1024px) */
@media (max-width: 1024px) {
    main { grid-template-columns: 1fr; padding: 10px; }
    main h2 { font-size: 40px; margin-top: 15%; margin-left: 5%; padding: 5px 10px; }
    #content-container { width: 90%; margin-top: 60px; margin-bottom: 20px; grid-column: 1; padding: 15px; }
    #content-container dd img { width: 70%; margin-left: 0; }
    #gallery, #full-picture { width: 90%; height: auto; margin: 50px auto; }
    h1#banniere { width: 200px; font-size: 24px; }
    nav#barre_info { flex-wrap: wrap; font-size: medium; }
    nav#langues { justify-content: center; margin-top: 10px; }
	.hero-video {height: 55vh; }
	.hero-content h2 { font-size: 2.2rem; }
	.hero-content p { font-size: 1.1rem; }
	.img-profil { max-width: 350px; margin: 10%; display: block;}
	}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    main h2 { font-size: 30px; margin-top: 10%; margin-left: 5%; }
    #banniere { width: 150px; font-size: 20px; padding-left: 1%; }
    nav#barre_info { flex-direction: column; align-items: center; }
    nav#barre_info a { padding: 5px; margin: 5px 0; }
    #content-container { width: 95%; margin-top: 40px; margin-bottom: 40px; padding: 10px; }
    #content-container dd img { width: 100%; margin-bottom: 20px; margin-bottom: 40px; }
    #gallery, #full-picture { width: 100%; height: auto; margin: 30px auto; }
	.hero-video { height: 50vh; }
	.hero-content h2 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
	.img-profil { max-width: 300px; margin: 30px auto; display: block; }
	.page-bottom { font-size: 0.8rem; height: auto; padding: 10px 5px; }
	 footer { font-size: 0.9rem; height: auto; padding: 10px 5px; }
}

/* Extra small screens (max 480px) */
@media (max-width: 480px) {
    main h2 { font-size: 24px; margin-top: 8%; margin-left: 5%; }
    #banniere { font-size: 18px; width: 120px; }
    nav#barre_info a { font-size: 0.9rem; padding: 4px; }
    #content-container { width: 100%; margin: 20px auto; margin-bottom: 10px; margin-bottom: 80px; padding: 8px; }
    #gallery, #full-picture { width: 100%; height: auto; }
	.hero-video { height: 45vh; }
	.hero-content { padding: 10px; }
	.hero-content h2 { font-size: 1.6rem; line-height: 1.2; }
	.hero-content p { font-size: 0.95rem; }
	.img-profil { max-width: 90%; margin: 20px auto; display: block; }
	}




