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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #050505;
  color: #fff;
  line-height: 1.6;
  max-width: 1280px;
  margin: auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

main {
  flex: 1;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #fff;
  color: #0a0a0a;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Top bar - socials */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  max-width: 1280px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.2rem;
  z-index: 10;
}

.burger-btn {
  display: none;
}

.mobile-menu {
  display: none;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
  filter: invert(1);
}

.socials-top {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

.socials-top a {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
}

.socials-top a:hover {
  opacity: 1;
}

.socials-top a img {
  width: 18px;
  height: 18px;
  display: block;
  filter: invert(1);
}

.hero {
  min-height: 90vh;
  margin-top: 3rem;
  background: url("./assets/images/Greenfiestaevenpic_005.png") center / cover no-repeat;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #0a0a0a 15%, #0a0a0a 85%, transparent 100%),
    linear-gradient(to right, transparent 0%, #0a0a0a 12%, #0a0a0a 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #0a0a0a 15%, #0a0a0a 85%, transparent 100%),
    linear-gradient(to right, transparent 0%, #0a0a0a 12%, #0a0a0a 88%, transparent 100%);
  mask-composite: intersect;
}

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.hero-sub {
  margin-top: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.7;
}

.section-title {
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
}

section {
  padding: 6rem 0.5rem;
  max-width: 980px;
  margin: auto;
  width: 100%;

  & p {
    margin-top: 1rem;
    opacity: 0.9;
  }
}

.about {
  text-align: center;
  max-width: 720px;
}

.newsletter {
  text-align: center;
  max-width: 560px;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 1px solid #333;
  color: #fff;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-form input[type="email"]::placeholder {
  color: #777;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.newsletter-form input[type="email"]:focus {
  border-color: #fff;
}

.form-hint {
  margin-top: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
}

.contact {
  text-align: center;
  max-width: 560px;
  border-top: 1px solid #1a1a1a;
}

.contact-toggle {
  width: 100%;
  background: #fff;
  color: #050505;
  border: 1px solid #fff;
  padding: 1.4rem 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-toggle:hover {
  background: transparent;
  color: #fff;
}

.contact-toggle .section-title {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: inherit;
}

.contact-toggle-icon {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s ease;
}

.contact-toggle[aria-expanded="true"] .contact-toggle-icon {
  transform: rotate(45deg);
}

.contact-panel[hidden] {
  display: none;
}

.contact-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.4s ease, opacity 0.3s ease, margin-top 0.4s ease;
  margin-top: 0;
}

.contact-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 2rem;
}

.contact-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.contact-form .form-row input,
.contact-form .form-row textarea {
  width: 100%;
  background: transparent;
  border: 1px solid #333;
  color: #fff;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
  resize: vertical;
}

.contact-form .form-row input::placeholder,
.contact-form .form-row textarea::placeholder {
  color: #777;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.contact-form .form-row input:focus,
.contact-form .form-row textarea:focus {
  border-color: #fff;
}

.btn-submit {
  background: #fff;
  color: #050505;
  border: 1px solid #fff;
  padding: 0.85rem 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  align-self: center;
}

.btn-submit:hover {
  background: transparent;
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2rem);
}

/* Music */
.music {
  text-align: center;

  & > p {
    max-width: 720px;
    margin: 1rem auto 0;
  }

  & .video {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 760px;
    margin: auto;

    & iframe {
      width: 100%;
      height: 100%;
      border: 0;
    }
  }
}

/* TVSL / Gallery */
.tvsl {
  display: flex;
  gap: 2rem;
  flex-direction: column;

  & .gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    align-items: stretch;

    & img {
      width: 100%;
      height: auto;
      object-fit: contain;
      align-self: start;
    }

    & img.fill-cover {
      height: 100%;
      aspect-ratio: 3/4;
      object-fit: cover;
      object-position: top;
      align-self: stretch;
    }
  }
}

.concerts, .radio {
  display: flex;
  gap: 2rem;
  flex-direction: column;
  align-items: center;
  text-align: center;

  & > div:first-child {
    max-width: 520px;
  }

  & .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    flex: 1;

    & img {
      width: 100%;
      height: auto;
      object-fit: contain;
    }

    &.single {
      grid-template-columns: 1fr;
      max-width: 380px;
    }
  }
}

/* Videos carousel */
.videos {
  text-align: center;
  max-width: 980px;
}

.carousel {
  position: relative;
  margin-top: 2rem;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  padding: 0;
}

.carousel-slide .video {
  aspect-ratio: 16 / 9;
  width: 100%;

  & iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }
}

.carousel-btn {
  position: absolute;
  top: calc(50% - 14px);
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.55);
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #333;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.carousel-dot.is-active {
  background: #fff;
}

.carousel-platforms {
  margin-top: 2rem;
  border-top: 1px solid #1a1a1a;
  padding-top: 1.5rem;
}

.platform-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  justify-content: center;
  align-items: center;

  & a {
    display: flex;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  & a:hover {
    opacity: 1;
    transform: translateY(-1px);
  }

  & img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: invert(1);
  }
}

.carousel-btn:focus-visible,
.carousel-dot:focus-visible,
.socials-top a:focus-visible,
.skip-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@supports not (mask-image: linear-gradient(#000, #000)) {
  .hero {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

@media (max-width: 768px) {
  body::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  }

  .top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
  }

  .logo img {
    height: 32px;
  }

  .socials-top {
    display: none;
  }

  .burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    z-index: 1000;
    opacity: 0.85;
    transition: opacity 0.2s ease;
  }

  .burger-btn:hover {
    opacity: 1;
  }

  .burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .burger-btn.is-active .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .burger-btn.is-active .burger-line:nth-child(2) {
    opacity: 0;
  }

  .burger-btn.is-active .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
  }

  .mobile-menu-content a {
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
  }

  .mobile-menu-content a:hover {
    opacity: 1;
    transform: scale(1.1);
  }

  .mobile-menu-content a img {
    width: 32px;
    height: 32px;
    display: block;
    filter: invert(1);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .btn-submit {
    width: 100%;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    top: calc(50% - 14px);
    font-size: 16px;
  }

  .platform-logos {
    gap: 1.4rem;
    & img {
      width: 26px;
      height: 26px;
    }
  }
}

@media (min-width: 768px) {
  .hero {
    background: url("./assets/images/Greenfiestaevenpic_005.png") center / cover no-repeat;
  }

  .tvsl {
    flex-direction: row;
    text-align: left;

    & .gallery {
      max-width: 50%;
    }
  }

  .concerts, .radio {
    flex-direction: row;
    text-align: left;

    & .gallery {
      max-width: 50%;
    }
  }
}
