/* --- BASE --- */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  /*background: url('https://images.unsplash.com/photo-1581090700227-1e37b190418e?auto=format&fit=crop&w=1200&q=60') no-repeat center center fixed;*/
  background: url('img/sfondo.png?auto=format&fit=crop&w=1200&q=60') no-repeat center center fixed;
  background-size: cover;
  color: #f4f4f4;
}

a { color: #61dafb; text-decoration: none; }
a:hover { text-decoration: underline; }

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(106, 125, 188, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  color: #61dafb;
  font-weight: bold;
}

.logo-img {
  width: 300px;
  margin-right: 10px;
}

nav {
  display: flex;
}

nav a {
  color: #f4f4f4;
  margin: 0 15px;
  transition: color 0.3s;
}

nav a:hover, nav a.active {
  color: #61dafb;
}

/* --- MENU MOBILE --- */
.menu-toggle {
  display: none;
  cursor: pointer;
  color: #61dafb;
  font-size: 1.5em;
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: rgba(10,25,47,0.95);
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    text-align: right;
    padding: 10px 20px;
  }
  nav.show { display: flex; }
  .menu-toggle { display: block; }
}

/* --- HERO --- */
.hero {
  margin-top: 70px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.carousel {
  width: 100%;
  overflow: hidden;
  height: 600px;
}

.slides {
  display: flex;
  transition: transform 1s ease;
}

.slides img {
  width: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  bottom: 40px;
  width: 100%;
  text-align: center;
  background: rgba(0,0,0,0.4);
  padding: 20px 0;
}

/* --- CONTENUTO --- */
.content {
  margin-top: 100px;
  padding: 40px;
  background: rgba(10,25,47,0.85);
  border-radius: 8px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.content h1 {
  color: #61dafb;
  margin-bottom: 15px;
}

.content ul {
  list-style: none;
  padding: 0;
}

.content li {
  margin: 10px 0;
}

.contact-info p {
  margin: 8px 0;
}

/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 15px;
  background: rgba(0,0,0,0.7);
  font-size: 0.9em;
  margin-top: 60px;
}

footer .gdpr {
  font-size: 0.8em;
  color: #ccc;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
}

.contact-form button {
  background: #61dafb;
  color: #0a192f;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #4ec3e0;
}

.gdpr-consenso {
  font-size: 0.9em;
  color: #ccc;
}

.gdpr-consenso a {
  color: #61dafb;
}

/* GDPR Banner */
.gdpr-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.9);
  color: white;
  padding: 1em;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  font-size: 0.9em;
}
.gdpr-banner a {
  color: #66ccff;
  text-decoration: underline;
}
.gdpr-banner button {
  background: #00aaff;
  border: none;
  color: white;
  padding: 0.5em 1em;
  border-radius: 5px;
  cursor: pointer;
}
