body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #333;
}

/* HEADER */
header {
  background: #fff;
  padding: 15px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: #333;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.hero {
  position: relative;
  height: 60vh;
  background: url('img/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  overflow: hidden;
}

/* Overlay trasparente */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3); /* trasparenza regolabile */
  z-index: 1;
}

.hero h1,
.hero p {
  position: relative;
  z-index: 2;
}

/* TITOLI */
.page-title {
  text-align: center;
  margin: 40px 0 20px;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px;
}

.card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: center;
}

.card img {
  width: 100%;
  border-radius: 10px;
}

/* STORIA */
.storia-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px;
  align-items: center;
}

.storia-img img {
  width: 300px;
  height: auto;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  background: #f9f9f9;
}

.storia-text {
  flex: 1;
  min-width: 250px;
}

/* CONTATTI */
.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}

.social-links .btn {
  background: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
}

.social-links .btn i {
  margin-right: 8px;
  font-size: 1.2em;
}

.social-links .btn:hover {
  background: #666;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 15px;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }

  nav ul.active {
    max-height: 500px;
    opacity: 1;
  }

  .hamburger {
    display: block;
  }
}

/* RESPONSIVE CONTATTI */
@media (max-width: 600px) {
  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .social-links .btn {
    width: 80%;
    justify-content: center;
    font-size: 1.1em;
  }
}

