* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #111;
  background: #fff;
  position: relative;
  min-height: 100vh;
  padding-bottom: 120px; /* Spazio per il footer fisso */
}

/* Sfondo centrato assoluto */
.background-center {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url('../assets/fondo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

.page-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  height: 50px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav li a {
  padding: 10px 15px;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  transition: color 0.3s;
}

nav li a:hover {
  color: #00F0FF;
}

/* HERO */
.hero {
  background: rgba(249, 249, 249, 0.85); /* leggera opacità per leggibilità sullo sfondo */
  padding: 100px 0;
  text-align: center;
  backdrop-filter: blur(2px); /* opzionale, per effetto moderno */
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  margin-bottom: 20px;
  color: #000;
}

.hero h1 span {
  color: #00F0FF;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #00F0FF;
  color: #000;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background: #00D0DD;
}

/* FOOTER fisso in basso */
footer {
  background: #111;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 99;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

footer .social a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}

footer .social a:hover,
footer a:hover {
  color: #00F0FF;
}

footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

footer {
  height: 120px; /* rendilo esplicito */
}

  /* Bottone "hamburger" (da aggiungere in HTML se vuoi) → opzionale */
/* --- HAMBURGER BUTTON --- */
.hamburger {
  display: none; /* Nascondi di default */
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #111;
  transition: all 0.3s ease;
}

/* Stile quando il menu è aperto (opzionale) */
.hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --- MENU MOBILE --- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav ul {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px 0;
    display: none; /* Nascondi di default */
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 100;
  }

  nav ul.active {
    display: flex;
  }

  nav li {
    width: 100%;
    text-align: center;
  }

  nav li a {
    display: block;
    padding: 12px 20px;
    font-size: 1rem;
    color: #111;
    text-decoration: none;
    transition: background 0.3s;
  }

  nav li a:hover {
    background: #f9f9f9;
    color: #00F0FF;
  }

  .hero {
    margin-top: -90px;
  }
}