/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: #1a1a1a;
  background: #fafafa;
  line-height: 1.6;
}

img {
  max-width: 100%;
  border-radius: 10px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* NAVBAR */
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  color: #1a237e;
  font-weight: 700;
  font-size: 1.6rem;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #ff6600;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO */
.hero {
  background: url("banner.jpg") center/cover no-repeat;
  color: white;
  position: relative;
  text-align: center;
}

.hero .overlay {
  background: rgba(0, 0, 0, 0.45);
  padding: 6rem 1rem;
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background: #ff6600;
  color: white;
  border: none;
  padding: 0.8rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #e55b00;
}

/* BENEFITS */
.benefits {
  background: #f9fafb;
  padding: 3rem 0;
  text-align: center;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}

.benefit h3 {
  color: #1a237e;
  margin-bottom: 0.5rem;
}

/* PRODOTTI */
.products {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #eef4ff, #fff);
  text-align: center;
}

.products h2 {
  margin-bottom: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.img-placeholder {
  width: 100%;
  height: 160px;
  background: #cde2ff;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.btn-outline {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  border: 2px solid #ff6600;
  color: #ff6600;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: #ff6600;
  color: white;
}

/* CONTATTO */
.contact {
  background: #f3f4f6;
  padding: 4rem 0;
  text-align: center;
}

.contact form {
  max-width: 600px;
  margin: 2rem auto;
  text-align: left;
}

.contact textarea {
  width: 100%;
  height: 80px;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 1rem;
  resize: vertical;
}

/* FOOTER */
.footer {
  background: #1a237e;
  color: white;
  text-align: center;
  padding: 1.2rem;
  font-size: 0.9rem;
}

/* RESPONSIVE NAV */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 1rem;
    width: 200px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

/* PAGINA PRODOTTI */
.products-page {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #eef4ff, #fff);
  text-align: center;
}

.brand-menu {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.brand-btn {
  background: #fff;
  border: 2px solid #1a237e;
  color: #1a237e;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.brand-btn:hover,
.brand-btn.active {
  background: #1a237e;
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
}
