* {
  box-sizing: border-box;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.brand {
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
}

.menu-toggle {
  font-size: 26px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.menu {
  position: fixed;
  top: 60px;
  right: -100%;
  width: 260px;
  height: calc(100vh - 60px);
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  padding: 30px 20px;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.menu.open {
  right: 0;
}

.menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-links li {
  margin-bottom: 20px;
}

.menu-links a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

.menu-links a.highlight {
  padding: 10px 16px;
  background: #f5c400;
  color: #000;
  border-radius: 25px;
  display: inline-block;
  font-weight: bold;
}

.menu-contacts {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  gap: 15px;
  justify-content: center;
}


.menu-contacts img {
  width: 26px;
  opacity: 0.85;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.menu-contacts img:hover {
  transform: scale(1.2);
  opacity: 1;
}

body {
  margin: 0;
  padding: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  min-height: 100vh; /* così parte da tutta l’altezza, ma può crescere */
  overflow-x: hidden; /* blocchiamo solo lo scroll orizzontale */
  overflow-y: auto; /* permettiamo lo scroll verticale */
  background: #000;
  color: #fff;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 32px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

header a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

header a:hover {
  text-decoration: underline;
}

.wall {
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-rows: 180px;
  overflow: hidden;
}

.wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.wall img:hover {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
  padding: 24px 32px;
}

.logo img {
  width: 260px;
  max-width: 80vw;
  height: auto;
  display: block;
  margin: 0 auto 12px auto;
}

.logo-title {
  font-size: 28px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0;
}

.logo-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 8px;
  opacity: 0.8;
}
.social-slider {
  width: 100%;
  padding: 30px 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 30;
  margin-top: -40px;
}

.social-slider h2 {
  text-align: center;
  margin: 0 0 20px 0;
  font-size: 20px;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.slider-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 0 20px;
  scroll-snap-type: x mandatory;
}

.slide {
  min-width: 350px;
  max-width: 350px;
  scroll-snap-align: start;
  background: #111;
  padding: 10px;
  border-radius: 12px;
}

.overlay-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.4), transparent 50%),
    radial-gradient(circle at bottom, rgba(0, 0, 0, 0.4), transparent 50%);
  z-index: 15;
}

@media (max-width: 600px) {
  header {
    justify-content: center;
    padding: 12px 16px;
    gap: 12px;
  }

  header a {
    font-size: 12px;
  }

  .wall {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    grid-auto-rows: 120px;
  }

  .logo-title {
    font-size: 20px;
    letter-spacing: 0.2em;
  }

  .logo-subtitle {
    font-size: 12px;
  }
}

.btn-iscrizioni {
  padding: 10px 18px;
  border: 1px solid #fff;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.15em;
  transition: all 0.3s ease;
}

.btn-iscrizioni:hover {
  background: #fff;
  color: #000;
  text-decoration: none;
}