/* Polices */
@font-face {
  font-family: 'Rodfat';
  src: url(../fonts/rodfat-two.otf);
}
@font-face {
  font-family: 'MyriadPro';
  src: url(../fonts/myriad-pro-regular.otf);
}
@font-face {
  font-family: 'MyriadProSB';
  src: url(../fonts/myriad-pro-semibold.otf);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/lalouverie-tree.webp");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* Styles de base */
body {
  font-family: 'MyriadPro', sans-serif;
  color: #007875;
  line-height: 1.6;
}

p {
  color: #49423e;
}

/* Header et navigation */
header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
}

h1.hidden {
  display: none;
}

/* Bouton du menu */
#menu-btn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: radial-gradient(circle at center,
    rgba(247, 243, 226, 0.95) 0%,
    rgba(247, 243, 226, 0.5) 60%,
    rgba(247, 243, 226, 0) 90%
  );
  border: none;
  cursor: pointer;
  z-index: 999;
  border-radius: 50%;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

#menu-btn img {
  width: 3.5rem;
  transition: transform 0.5s ease;
}

#menu-btn.open img {
  transform: rotate(180deg);
}

/* Menu */
#menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: flex-end;
  background-color: #f7f3e2;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
  z-index: 998;
}

#menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Liens du menu */
#menu li {
  margin: 0.8rem 0;
  list-style-type: none;
}

#menu li a {
  text-decoration: none;
  font-family: 'Rodfat';
  text-align: end;
  font-size: 1.5rem;
  padding-right: 1rem;
  color: #007875;
  transition: color 0.3s ease;
  letter-spacing: 0.1em;
}

#menu li a:hover {
  color: #b87333;
}

/* Réseaux sociaux */
.menu-socials {
  gap: 1rem;
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
}

.menu-socials a {
  color: #007875;
  font-size: 2.5rem !important;
  transition: color 0.3s ease;
  padding: 0.5rem;
}

.menu-socials a:hover {
  color: #b87333;
}

/* Sections */
section {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

section h2 {
  font-family: 'Rodfat';
  font-size: 1.5rem;
  margin: 2rem auto;
}

h2.moulin {
  font-size: 1.2rem;
}

section h3, section h4, section h5 {
  font-family: 'MyriadProSB';
  font-size: 1.4rem;
  letter-spacing: 0.2rem;
  margin: 2rem 0;
}

section h4 {
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
}

/* Séparateurs */
.hr {
  display: flex;
  margin: 0 20rem 0;
}

.hr-line {
  width: 100%;
  position: relative;
  border-bottom: 1px solid #f7f3e2;
  margin: 0.5rem 0.5rem;
}

/* Icônes */
.fa-brands {
  position: relative;
  top: 10px;
}

.fa-brands.fa-wolf-pack-battalion {
  font-size: xx-large;
  color: #f7f3e2;
}

/* Blocs de contenu */
div.block {
  width: 100%;
  margin-top: 2em;
}

/* Boutons */

.button-55 {
  margin-top: 2rem;
  align-self: center;
  background-color: #f7f3e2;
  background-image: none;
  background-position: 0 90%;
  background-repeat: repeat no-repeat;
  background-size: 4px 3px;
  border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
  border-style: solid;
  border-width: 2px;
  box-shadow: rgba(0, 0, 0, .2) 15px 28px 25px -18px;
  box-sizing: border-box;
  color: #007875;
  cursor: pointer;
  display: inline-block;
  font-family: 'Rodfat';
  letter-spacing: 0.2rem;
  font-size: 1rem;
  line-height: 23px;
  outline: none;
  padding: .75rem;
  text-decoration: none;
  transition: all 235ms ease-in-out;
  border-bottom-left-radius: 15px 255px;
  border-bottom-right-radius: 225px 15px;
  border-top-left-radius: 255px 15px;
  border-top-right-radius: 15px 225px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-55:hover {
  box-shadow: rgba(0, 0, 0, .3) 2px 8px 8px -5px;
  transform: translate3d(0, 2px, 0);
}

.button-55:focus {
  box-shadow: rgba(0, 0, 0, .3) 2px 8px 4px -6px;
}

section#infos .button-55 {
  margin: 2rem auto;
}

/* Sections spécifiques */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  padding-top: 80px;
}

.hero-img {
  position: relative;
  width: 40%;
  max-width: 600px;
  margin: 0 auto;
  object-fit: contain;
  margin-top: 3rem;
  height: auto;
}

.hero-content, .manifeste, .charte, div.lineup {
  position: relative;
  z-index: 2;
  padding: 1rem;
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
  background: radial-gradient(circle at center, 
    rgba(0, 120, 117, 0.95) 20%,
    rgba(0, 120, 117, 0.8) 40%,
    rgba(0, 120, 117, 0.5) 60%,
    rgba(0, 120, 117, 0.3) 80%,
    rgba(0, 120, 117, 0) 90%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.charte h3, .charte p {
  color: #f7f3e2;
  letter-spacing: 0;
}
.hero-content h2, .hero-content h3, .manifeste h2, .charte h2, .programme-section h2, .programme-section h3, .lineup h2 {
  letter-spacing: 0.3rem;
  color: #f7f3e2;
}

.hero-content p {
  color: #f7f3e2;
  padding: 0 2rem;
}

.manifeste p {
  margin: 2rem 2rem;
  color: #f7f3e2;
}

div.infos-block {
  padding: 1rem;
  max-width: 80%;
  margin: 0 auto;
  background: linear-gradient(135deg, 
    rgba(247, 243, 226, 0.3) 0%,
    rgba(247, 243, 226, 0.7) 15%,
    rgba(247, 243, 226, 0.8) 40%,
    rgba(247, 243, 226, 0.95) 60%,
    rgba(247, 243, 226, 0.8) 85%,
    rgba(247, 243, 226, 0.3) 100%
  );
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

div.infos-block h2, div.lineup {
  letter-spacing: 0.3rem;
}
div.infos-block h4 {
  margin-bottom: 1rem;
  color: #007875;
}

div.infos-block p {
  color: #49423e;
  padding: 0 2rem;
}

img.flyer{
  width: 50%;
}
/*
div.lineup{
  max-width: 80%;
  padding-bottom: 3rem;
  margin: 0 auto;
  background: linear-gradient(135deg, 
    rgba(247, 243, 226, 0.3) 0%,
    rgba(247, 243, 226, 0.7) 15%,
    rgba(247, 243, 226, 0.8) 40%,
    rgba(247, 243, 226, 0.95) 60%,
    rgba(247, 243, 226, 0.8) 85%,
    rgba(247, 243, 226, 0.3) 100%
  );
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}*/
div.artist-block {
  max-width: 80%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

div.artist-block li{
  list-style-type: none;
  line-height: 1.8rem;
  color: #f7f3e2;
  padding: 0 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

div.artist-block a{
  text-decoration: none;
  color: #f7f3e2;
  font-family: 'Rodfat';
  letter-spacing: 3px;
  font-size: 1rem;
}

div.artist-block a:hover{
  color: #e68b37;
}

div.artist-block li p {
  margin: 0;
  font-size: 1rem;
  font-family: 'Rodfat';
  color: #f7f3e2;
}

/* Footer */
footer {
  background: radial-gradient(circle at center, 
    rgba(0, 120, 117, 0.95) 0%,
    rgba(0, 120, 117, 0.8) 15%,
    rgba(0, 120, 117, 0.5) 30%,
    rgba(0, 120, 117, 0.3) 50%,
    rgba(0, 120, 117, 0) 100%
  );
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

footer h3 {
  color: #f7f3e2;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.socials a {
  color: #f7f3e2;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.socials a:hover {
  color: #b87333;
}

/* Media Queries */
@media (max-width: 767px) {
  .hero-content, .manifeste, div.infos-block, div.lineup {
    max-width: 100%;
  }
  .hero-img {
    width: 60%;
  }
  img.flyer{
    width: 100%;
  }
  .hr {
    margin: 0 5rem 0;
  }
  .hero-content p {
    padding : 0 0rem;
  }
  .manifeste p {
    margin: 2rem 0;
  }
  div.artist-block {
    max-width: 100%;
  }
}