body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #1a3c34; /* Deep green */
  color: #d1d5db; /* Soft gray */
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: linear-gradient(135deg, #1a3c34, #4CAF50); /* Green gradient */
  padding: 20px 0 30px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: transform 0.5s ease-in-out;
}

header.scrolled-up {
  transform: translateY(-100%);
}

header h1 {
  margin: 0 0 15px 0;
  font-size: 2.8rem;
  font-weight: 900;
  color: #f7e987; /* Warm yellow */
  padding-left: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: fadeIn 1s ease-out;
}

nav {
  position: absolute;
  top: 60px;
  right: 20px;
}

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

nav ul li a {
  text-decoration: none;
  color: #f7e987;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 8px 15px;
  border: 2px solid #a8e658; /* Solid border */
  border-radius: 8px;
  transition: all 0.3s ease;
  transform: translateY(10px);
  text-transform: uppercase;
}

nav ul li a:hover {
  background-color: #a8e658;
  color: #1a3c34;
  transform: translateY(7px);
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: url('steel-texture.jpg') center/cover; /* Subtle steel texture */
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darker for intensity */
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #f7e987;
  animation: floatIn 1s ease-in-out;
}

.banner-text h2 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 3px 3px 7px rgba(0, 0, 0, 0.8);
  text-transform: uppercase;
}

.banner-text p {
  font-size: 1.8rem;
  font-weight: 400;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes floatIn {
  0% { opacity: 0; transform: translate(-50%, -60%); }
  100% { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

.vantaggi, .testimonianze, .form-section, .content, .gallery {
  padding: 60px 20px;
  background-color: #1a3c34;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

.vantaggi-grid, .testimonianze-grid, .allenamento-grid, .ricette-grid, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.vantaggio, .testimonianza, .allenamento, .ricetta {
  background: linear-gradient(145deg, #2d6b5f, #1a3c34);
  padding: 25px;
  border-radius: 8px; /* Sharper edges */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: slideInLeft 1s ease-in-out forwards;
  border: 1px solid #a8e658; /* Subtle border for intensity */
}

.vantaggio:nth-child(even), .testimonianza:nth-child(even), .allenamento:nth-child(even), .ricetta:nth-child(even) {
  animation: slideInRight 1s ease-in-out forwards;
}

.vantaggio:hover, .testimonianza:hover, .allenamento:hover, .ricetta:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 3px solid #a8e658;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid #a8e658;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 30px auto;
  background: linear-gradient(145deg, #2d6b5f, #1a3c34);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  animation: fadeIn 1.5s ease-in-out;
  border: 1px solid #a8e658;
}

.feedback-form input, .feedback-form textarea {
  margin-bottom: 20px;
  padding: 15px;
  border: 2px solid #a8e658;
  border-radius: 8px;
  font-size: 1.1rem;
  background-color: #1a3c34;
  color: #d1d5db;
  transition: border-color 0.3s ease;
}

.feedback-form input:focus, .feedback-form textarea:focus {
  border-color: #f7e987;
  outline: none;
}

.feedback-form textarea {
  height: 150px;
}

.btn {
  background-color: #a8e658;
  color: #1a3c34;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 700;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn:hover {
  background-color: #f7e987;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.prezzo {
  color: #a8e658;
  font-weight: 700;
  font-size: 1.8rem;
}

.prezzo-scontato {
  color: #ef4444;
  text-decoration: line-through;
  font-size: 1.4rem;
  margin-left: 10px;
}

footer {
  background: linear-gradient(135deg, #1a3c34, #4CAF50);
  padding: 30px 0;
  text-align: center;
}

footer p {
  margin: 0;
  color: #f7e987;
  font-weight: 700;
}

footer ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

footer ul li {
  display: inline;
  margin: 0 15px;
}

footer ul li a {
  text-decoration: none;
  color: #a8e658;
  transition: color 0.3s ease;
  font-weight: 700;
}

footer ul li a:hover {
  color: #f7e987;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
    text-align: center;
    padding-left: 0;
    margin-bottom: 20px;
  }

  nav {
    position: static;
    top: auto;
    right: auto;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  nav ul li a {
    transform: translateY(0); /* Reset for mobile */
  }

  .hero {
    height: 400px;
  }

  .banner-text h2 {
    font-size: 2.5rem;
  }

  .banner-text p {
    font-size: 1.2rem;
  }

  .vantaggi-grid, .testimonianze-grid, .allenamento-grid, .ricette-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 180px;
  }

  .feedback-form {
    padding: 20px;
  }
}