* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --primary-color: #ce166e;  
  --secondary-color: #f6d226; 
  --background-color: rgb(21, 21, 21);
  --low-contrast: #7d7d7d;
  --bar-color: #e4e4e4;
  --main-gradient: linear-gradient(135deg, #7b1a61, #ce166e);
}

@font-face {
  font-family: 'WoodStamp';
  src: url('/assets/fonts/WoodStamp.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
    background-color: var(--background-color);
    color: #ffffff;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Manrope', sans-serif;
    @media (min-width: 1300px) {
      padding-top: 220px;
    }
}

.container-full {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-color: black;
}

.container-medium {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 20px;
  background-color: var(--background-color);
  @media (max-width: 750px) {
    margin: 0;
  }
}

.container-content {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 20px; 
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  @media (max-width: 750px) {
    margin: 0;
  }
}

p {
  font-size: 1.2rem;
  line-height: 1.6; 
}

h1 {
  font-weight: bolder;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  color: var(--secondary-color);
  text-transform: uppercase;
  text-align: center;
  margin: 1.5rem 0;
}

h2 {
  color: white;
  font-weight: normal;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 40px;
  margin-top: 40px;
  text-transform: uppercase;
  background: var(--main-gradient);
  padding: 15px 40px;
  display: inline-block;
  align-self: center;
  text-align: center;
  @media (max-width: 1000px) {
    display: block;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

h3 {
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
  padding: 15px 40px;
}

.accent-text {
 font-weight: bold;
 color: var(--secondary-color);
 font-size: 1.5rem;
 line-height: 1.3;
}

.nav-links a {
  position: relative; 
  color: inherit;
  text-decoration: none;
  margin: 0;
  font-size: 18px;
  font-weight: normal;
  letter-spacing: 1px;
  display: inline-block;
}

.nav-links a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px; 
  width: 100%;
  height: 1px;
  background: currentColor;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.8s cubic-bezier(0.24, 0.43, 0.15, 0.97);
}

.nav-links a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.social-icons a img {
  width: 25px;
  height: auto;
  transition: transform 0.3s ease;
  opacity: 0.9;
}

.social-icons a:hover img {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.links:hover {
  text-decoration: underline;
}

.nav-links a:focus,
a:focus {
  outline: 3px solid var(--primary-color);
}

/* btn */
.btn {
  background-image: var(--main-gradient);
  border: 0 solid #E5E7EB;
  box-sizing: border-box;
  color: rgb(255, 255, 255);
  display: block; 
  width: max-content; 
  margin: 1.5rem auto; 
  padding: 0.75rem 1.65rem 1rem 1.65rem !important;
  text-align: center;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
  border-radius: 0 !important; 
  cursor: pointer;
  transform: rotate(-2deg);
  user-select: none;
  touch-action: manipulation;
}

.btn:hover {
  text-decoration: none;
}

.btn:focus {
  outline: 0;
}

.btn:after {
  content: '';
  position: absolute;
  border: 1px solid #ffffff;
  bottom: 4px;
  left: 4px;
  width: calc(100% - 1px);
  height: calc(100% - 1px);
}

.btn:hover:after {
  bottom: 2px;
  left: 2px;
}

.btn .icon {
  width: auto;
  height: 1.6rem;
  margin-right: .5rem;
}

button {
  margin: 1rem auto;
  padding: 0.7rem 1.5rem;
  background: var(--secondary-color);
  border: none;
  color: #222;
  font-size: inherit;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  filter: brightness(90%);
}


.parallax {
  min-height: 50vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 767px) {
  .parallax {
    background-attachment: scroll;
    height: 422px; 
    min-height: unset; 
  }
}

.bande-image {
  width: 100%;
  max-width: 1200px;
  height: 400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  margin-top: 4rem;
}

@media (max-width: 750px) {
  .bande-image {
    margin-top: 0;
  }
}

.bande-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* cookies banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #222;
  color: white;
  padding: 1rem;
  text-align: center;
  z-index: 1000;
}

.cookie-banner a {
  color: var(--secondary-color);
  text-decoration: underline;
}


.hidden {
  display: none;
}


/* MENU */
header {
  background-color: var(--background-color);
  color: rgb(255, 255, 255);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu {
  display: none;
}

.menu-logos-link {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-decoration: none;
}

.menu-logos {
  display: flex;
  flex-direction: row;
  align-items: flex-start; 
  justify-content: center;
  gap: 20px;
}

.logo {
  height: 120px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 100%;
  width: auto;
  display: block;
}

.logo-festival-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dates {
  background-image: var(--main-gradient);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  max-width: 500px;
  transform: rotate(-2deg);
  user-select: none;
  touch-action: manipulation;
  width: auto;
  margin: 10px auto 0;
}

.menu .btn {
  transform: rotate(0);
  font-size: inherit;
  font-weight: inherit;
}

.menu-nav a {
  color: inherit;
}

.menu-nav li {
  position: relative;
  color: inherit;
  text-decoration: none;
  margin: 0;
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 1px;
  display: inline-block;
}

.menu-nav li::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.8s cubic-bezier(0.24, 0.43, 0.15, 0.97);
}

.menu-nav li:hover::before,
.menu-nav li.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-nav li:last-child:hover::before {
  transform: scaleX(0);
}


.menu-default-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 50px;
  align-items: center;
}

.menu-default-nav li {
  display: inline-block;
}

/* === DESKTOP === */
@media (min-width: 1300px) {
  .menu-default {
    max-width: 100%;
    text-align: center;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    justify-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: var(--background-color); 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);  
  }

  .menu-default::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100vw;
    height: 1px;
    background-color: var(--bar-color);
    transform: translateX(-50%);
    margin-top: 20px;
  }

  .menu-default-nav {
    display: flex;
    gap: 50px;
    text-transform: uppercase;
  }
  .menu-default.shrink .menu-logos {
    gap: 10px;
  }
  
  .menu-default.shrink .logo {
    height: 65px;
  }
  
  .menu-default.shrink .logo img {
    height: 100%;
  }
  
  .menu-default.shrink .dates {
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
  }
  .menu-default .menu-logos,
  .menu-default .logo,
  .menu-default .dates {
    transition: all 0.5s ease;
  }
    
}

/* === MOBILE / TABLET === */
@media (max-width: 1299px) {
  .menu-default {
    display: none !important;
  }

  .menu-small {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    height: 100px;
  }
}

/* === BURGER MENU === */
#overlay-button {
  position: fixed;
  right: 2em;
  top: 2em;
  z-index: 110;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.burger-box {
  position: relative;
  width: 35px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.burger-box span,
.burger-box span:before,
.burger-box span:after {
  height: 3px;
  width: 35px;
  border-radius: 1px;
  background-color: rgb(255, 255, 255);
  position: absolute;
  content: "";
  transition: all 0.2s ease-in-out;
}

.burger-box span {
  background-color: rgb(255, 255, 255);
  position: relative;
}

.burger-box span:before {
  top: -10px;
  left: 0;
}

.burger-box span:after {
  top: 10px;
  left: 0;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"]:checked ~ #overlay {
  visibility: visible;
  opacity: 1;
}

input[type="checkbox"]:checked ~ #overlay-button .burger-box span {
  background: transparent;
}

input[type="checkbox"]:checked ~ #overlay-button .burger-box span:before {
  transform: rotate(45deg) translate(7px, 7px);
  opacity: 1;
}

input[type="checkbox"]:checked ~ #overlay-button .burger-box span:after {
  transform: rotate(-45deg) translate(7px, -7px);
}

#overlay {
  transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 1;
  height: 100vh;
  width: 100vw;
  background-color: var(--background-color);
  z-index: 100;
  visibility: hidden;
  position: fixed;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#overlay .menu-overlay-nav {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-bottom: 20px;
}

#overlay .menu-overlay-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column; 
  align-items: center;    
  gap: 15px;     
}


#overlay .menu-overlay-nav li {
  opacity: 0;
  transform: translateX(20px);
}

input[type="checkbox"]:checked ~ #overlay .menu-overlay-nav li {
  animation: slideIn 0.5s ease-out forwards;
}

input[type="checkbox"]:checked ~ #overlay .menu-overlay-nav li:nth-child(1) { animation-delay: 0.1s; }
input[type="checkbox"]:checked ~ #overlay .menu-overlay-nav li:nth-child(2) { animation-delay: 0.2s; }
input[type="checkbox"]:checked ~ #overlay .menu-overlay-nav li:nth-child(3) { animation-delay: 0.3s; }
input[type="checkbox"]:checked ~ #overlay .menu-overlay-nav li:nth-child(4) { animation-delay: 0.4s; }
input[type="checkbox"]:checked ~ #overlay .menu-overlay-nav li:nth-child(5) { animation-delay: 0.5s; }
input[type="checkbox"]:checked ~ #overlay .menu-overlay-nav li:nth-child(6) { animation-delay: 0.6s; }
input[type="checkbox"]:checked ~ #overlay .menu-overlay-nav li:nth-child(7) { animation-delay: 0.7s; }
input[type="checkbox"]:checked ~ #overlay .menu-overlay-nav li:nth-child(8) { animation-delay: 0.8s; }

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#overlay .menu-overlay-nav a {
  display: inline-block;
  margin: 15px;
  text-transform: uppercase;
  font-size: 20px;
  position: relative;
  color: inherit;
  text-decoration: none;
}



/* FOOTER */
.footer {
  max-width: 1400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  position: relative;
}

.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 80vw;
  height: 1px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
  margin-top: 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: 4fr 2fr 2fr;
  width: 100%;
  gap: 2rem;
  margin-top: 2rem;
  align-items: flex-start;
}

.footer-brand-link {
  order: -1;
}

.footer-logo {
  display: flex; 
  justify-content: flex-start;
  align-items: center;
  gap: 3rem; 
  height: 120px;
  margin: 0 4rem;
}

.footer-logo img {
  height: 100%;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-start;
}

.footer-nav a {
  position: relative;
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: normal;
  letter-spacing: 1px;
  display: inline-block;
  width: fit-content;
}

.footer-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.8s cubic-bezier(0.24, 0.43, 0.15, 0.97);
}

.footer-nav a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-style: italic;
  gap: 1rem;
  color: var(--low-contrast);
  font-size: 0.9rem;
  margin-top: 4rem;
  line-height: 1;
}

.footer-copy .separator {
  color: var(--low-contrast);
}

@media (max-width: 1024px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .footer-nav {
    order: 1;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    width: 100%;
  }

  .footer-brand-link {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer-logo {
    justify-content: center;
    gap: 2rem;
    height: auto;
    margin: 0;
    width: auto;
  }

  .footer-logo img {
    height: 90px;
    width: auto;
  }

  .footer-copy {
    margin-top: 2rem;
  }

  .footer-copy .separator {
    display: none;
  }
}
