/* Reset base */
body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9fafb; /* Sfondo chiaro */
  color: #2c3e50; /* Testo principale */
  line-height: 1.6;
}

/* Header */
header {
  background: linear-gradient(135deg, #4facfe, #00f2fe); /* Gradiente blu-ciano */
  color: black;
  text-align: center;
  padding: 40px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
  letter-spacing: 1px;
}

/* Navbar */
nav {
  background-color: #ffffff;
  padding: 15px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

nav a {
  margin: 0 20px;
  text-decoration: none;
  color: #2c3e50;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00c6ff; /* Accento blu acceso */
  transition: width 0.3s ease;
}

nav a:hover {
  color: #00c6ff;
}

nav a:hover::after {
  width: 100%;
}

/* Intro */
.intro {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
}

.intro h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.intro img {
  max-width: 450px;
  margin-top: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.intro img:hover {
  transform: scale(1.03);
}

/* Sezioni */
section {
  padding: 60px 30px;
  background-color: #ffffff;
  margin: 30px auto;
  max-width: 1100px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

h2 {
  text-align: center;
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 30px;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #00c6ff; /* Colore accento */
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Footer */
footer {
  text-align: center;
  padding: 25px;
  background: #2c3e50;
  color: #ecf0f1;
  margin-top: 40px;
  font-size: 0.95rem;
}

footer a {
  color: #00c6ff;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #4facfe;
}

