:root {
  --primary: #1a73e8;       /* Blu primario */
  --secondary: #34a853;     /* Verde secondario */
  --accent: #fbbc05;        /* Accent */
  --light: #f8f9fa;
  --dark: #202124;
  --gray: #5f6368;
  --light-gray: #dadce0;
}

/* Reset e stili base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  padding-top: 80px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}
/* Logo: "Move" in blu e "Me" in verde */
.logo span {
  color: var(--secondary);
}
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}
.nav-links li {
  margin-left: 30px;
}
.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-links .contatti-link {
  font-weight: 600;
  color: var(--primary);
}
.total-header {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  background-color: #eef6ff;
  padding: 8px 12px;
  border-radius: 4px;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("moveme.png");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 150px 20px 100px;
  text-align: center;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: white;
}
.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 30px;
  color: white;
}
.hero .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
  cursor: pointer;
}
.hero .btn:hover {
  background-color: #0d5bcd;
}

/* Booking Section */
.booking-section {
  background-color: #fff;
  padding: 40px 20px 60px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin: 40px auto;
}
.booking-section h2 {
  text-align: center;
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 20px;
}

/* Descrizione dei passaggi */
.booking-description {
  text-align: center;
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 30px;
}
.booking-description strong {
  color: var(--primary);
}

/* Sezione Traslochi case intere – Promozione */
.traslochi-case {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.promozione {
  text-align: center;
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Box traslochi interi con controlli plus/minus (max 1 per box) */
.traslochi-item {
  background-color: var(--light);
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  padding: 15px;
  text-align: center;
  width: 22%;
  margin-bottom: 15px;
  position: relative;
  cursor: pointer;
  transition: border 0.3s;
}
.traslochi-item.selected {
  border: 2px solid var(--secondary);
}
.traslochi-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}
.traslochi-controls button {
  background-color: var(--light);
  border: 1px solid var(--light-gray);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 16px;
  line-height: 28px;
  text-align: center;
  margin: 0 5px;
}
.traslochi-controls span {
  font-size: 16px;
  font-weight: 600;
}
.traslochi-item i {
  font-size: 1.16rem; /* 20% in meno rispetto a 1.45rem */
  color: var(--primary);
  margin-bottom: 5px;
}
.traslochi-item h4 {
  font-size: 16px;
  margin-bottom: 5px;
}
.traslochi-item p {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 600;
}
.traslochi-item small {
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-size: 12px;
  color: var(--gray);
}

/* Items Grid per altri oggetti */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.item-card {
  background-color: var(--light);
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.item-card i {
  font-size: 1.16rem;  /* 20% in meno */
  color: var(--primary);
  margin-bottom: 5px;
}
.item-card h4 {
  font-size: 16px;
  margin-bottom: 5px;
}
.item-card p {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 600;
}

/* Pulsanti Quantità per altri oggetti */
.quantity-btn {
  background-color: var(--light);
  border: 1px solid var(--light-gray);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 18px;
}
.quantity-btn:hover {
  background-color: var(--light-gray);
}
.quantity-display {
  font-size: 16px;
  margin: 0 10px;
  min-width: 20px;
  display: inline-block;
  text-align: center;
}

/* Form Prenotazione */
.booking-form {
  padding: 20px;
  margin-bottom: 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}
.form-group input, 
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-size: 16px;
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.extra-checkbox {
  margin-top: 10px;
  font-weight: 600;
  text-align: center;
}
.extra-checkbox input {
  margin-right: 5px;
}

/* Sezione Punti di Forza */
.punti-forza {
  background-color: #fff;
  padding: 40px 20px;
  margin: 40px auto;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 8px;
}
.punti-forza h2 {
  text-align: center;
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 10px;
}
.punti-forza .slogan {
  text-align: center;
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 30px;
}
.punti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.punto {
  text-align: center;
  padding: 10px;
}
.punto i {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 10px;
  transition: transform 0.3s;
}
.punto i:hover {
  transform: rotate(10deg);
}
.punto h4 {
  font-size: 20px;
  margin-bottom: 5px;
}
.punto p {
  font-size: 16px;
  color: var(--dark);
}

/* Sezione Recensioni */
.recensioni {
  background-color: #fff;
  padding: 40px 20px;
  margin: 40px auto;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 8px;
}
.recensioni h2 {
  text-align: center;
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 20px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.review {
  background-color: var(--light);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 20px;
}
.review p {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--dark);
}
.review .author {
  font-weight: 600;
  color: var(--primary);
}

/* Sezione Partners */
.partners {
  background-color: #fff;
  padding: 40px 20px;
  margin: 40px auto;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 8px;
}
.partners h2 {
  text-align: center;
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 20px;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.partner {
  text-align: center;
  padding: 10px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  background-color: var(--light);
}
.partner img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}
.partner h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--dark);
}

/* Sezione Contattaci */
.contattaci-section {
  background-color: #fff;
  padding: 40px 20px;
  margin: 40px auto;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 8px;
}
.contattaci-section h2 {
  text-align: center;
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 20px;
}
.contatti-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.contatti-info {
  flex: 1 1 300px;
  padding: 20px;
}
.contatti-info p {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--dark);
  display: flex;
  align-items: center;
}
.contatti-info p i {
  color: var(--primary);
  margin-right: 10px;
}
.contatti-map {
  flex: 1 1 300px;
  min-height: 300px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
}
.contatti-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background-color: white;
  text-align: center;
  padding: 20px 0;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

/* Animazione in scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Pulsante Invia richiesta (verde) */
.btn-invio {
  background-color: var(--secondary);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}
.btn-invio:hover {
  background-color: #2ecc71;
  transform: scale(1.05);
}

/* Media Queries per Mobile */
@media (max-width: 600px) {
  .traslochi-case, .contatti-box {
    flex-direction: column;
    align-items: center;
  }
  .traslochi-item {
    width: 80%;
    margin-bottom: 15px;
  }
  .items-grid {
    grid-template-columns: 1fr;
  }
  .item-card i, .traslochi-item i {
    font-size: 1rem;
  }
}
