* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  color: #333;
  background-color: #faf8f5;
}

/* ---- HEADER ---- */
header {
  width: 100%;
  background-color: white;
  border-bottom: 1px solid #ddd;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.5rem;
}

.logo {
  height: 60px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: #3b3b3b;
  font-weight: 500;
}

nav a:hover,
nav a.active {
  color: #1b7d79;
}

.lang {
  font-size: 0.9rem;
  color: #777;
}

/* ---- HERO ---- */
.hero {
  height: 100vh;
  background: url("../assets/home-bg.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 60, 80, 0.25);
}

.hero .overlay {
  position: relative;
  color: white;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
}

.hero p {
  margin: 1rem 0 2rem;
  font-size: 1.3rem;
}

.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 0.3rem;
}

.btn-primary {
  background-color: #3c9d9b;
  color: #fff;
}

.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
}

/* ---- FOOTER ---- */
footer {
  background-color: #f0efed;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #555;
}
.whatsapp-container {
  text-align: center;
  margin-top: 2rem;
}

.whatsapp-button {
  background-color: #25D366;
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #1ebe5d;
}
/* 🌿 RESPONSIVE DESIGN */

/* --- Dispositivi piccoli (smartphone) --- */
@media (max-width: 768px) {

  /* HEADER */
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.5rem 1rem;
  }

  .logo {
    height: 50px;
  }

  nav ul {
    display: none; /* menu nascosto sul mobile */
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    color: #3b3b3b;
    cursor: pointer;
  }

  /* HERO */
  .hero h1 {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* BUTTONS */
  .btn {
    display: inline-block;
    margin: 0.3rem 0.2rem;
  }

  /* CONTACT FORM */
  form {
    width: 90%;
    margin: auto;
  }

  input, textarea {
    width: 100%;
    margin-bottom: 1rem;
  }

  /* WHATSAPP BUTTON FLOATING */
  .whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 0.9rem 1.1rem;
    border-radius: 50px;
    font-size: 0.9rem;
  }
}

/* --- Dispositivi medi (tablet) --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero h1 { font-size: 2.4rem; }
  .hero p { font-size: 1.1rem; }
}



