body {
  margin: 0;
  font-size: 18px;
  font-family: 'Segoe UI', sans-serif;
  background-image: url('sfondo.jpeg'); /* Sostituisci con il tuo file */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #fff;
}

/* Overlay per leggibilità */
.overlay {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 40px;
  max-width: 1000px;
  margin: auto;
}

header {
  text-align: center;
  margin-bottom: 40px;
}

header h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2em;
}

section {
  margin-bottom: 40px;
}

section h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #00796b;
}

.photos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.photos img {
  max-width: 300px;
  height: auto; /* ✅ Mantiene le proporzioni */
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

.photos img:hover {
  transform: scale(1.05);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

footer {
  text-align: center;
  font-size: 0.9em;
  margin-top: 40px;
}

footer a {
  color: #000000;
  text-decoration: none;
}

/* Lightbox */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2em;
  color: white;
  cursor: pointer;
}

.logo {
  width: 120px;
  display: block;
  margin: 0 auto 20px;
}

.map {
  margin-top: 40px;
  text-align: center;
}

.map h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #00796b;
}

.language-selector {
  margin-top: 20px;
  text-align: center;
}

.language-selector select {
  padding: 5px;
  font-size: 1em;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f4f4f4;
  padding: 20px;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
  z-index: 9999;
  font-family: sans-serif;
}

#cookie-banner p {
  margin: 0;
  font-size: 14px;
}

#cookie-banner button {
  margin-top: 10px;
  margin-right: 10px;
}


