body {
  font-family: 'Inter', Arial, sans-serif;
  background: #fff8f1;
  color: #2c221b;
  margin: 0;
}

html { scroll-behavior: smooth; }

.specials, .menu, .about, .contact {
  max-width: 900px;
  margin: 0 auto 48px auto;
  padding: 0 18px;
}

.specials h2, .menu h2, .about h2, .contact h2 {
  color: #d24a2b;
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
}


.hero {
  background: linear-gradient(100deg, #d24a2b 0%, #ffba7a 100%);
  text-align: center;
  padding: 60px 0 40px 0;
  color: #fff;
}
.logo-pizzeria {
  width: 90px; background: #fff; border-radius: 50%; box-shadow: 0 2px 10px #9c441033;
  margin-bottom: 14px;
}
.hero h1 { font-size: 2.5rem; margin: 0; }
.subtitle { font-size: 1.1rem; margin: 18px 0 22px 0; color: #fff6e9;}

a.btn-main {
  text-decoration: none !important;
  outline: none;
}

.btn-main {
  background: #fff6e9;
  color: #c53e1d;
  border: none;
  border-radius: 5px;
  padding: 13px 32px;
  font-size: 1.09rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.btn-main:hover { background: #fce2ca; color: #a22800;}
.menu { padding: 40px 18px; }
.menu h2 { color: #c53e1d; text-align: center; }
.menu-table th, .menu-table td { border-bottom: 1px solid #ffe2c6; padding: 11px 8px; }
.menu-table th { background: #ffe6c5; color: #b93817;}
.menu-table tr:hover { background: #fff0e1;}

.order-form button {
  background: #c53e1d;
  color: #fff;
  border: none; border-radius: 5px;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 7px;
  cursor: pointer;
  box-shadow: 0 1px 6px #d24a2b24;
  transition: background 0.18s;
}
.order-form button:hover { background: #a22800;}

footer {
  text-align: center; 
  color: #c4a085; 
  padding: 32px 0 18px 0; 
  font-size: 0.97rem;
}

/*===HEADER===*/
.pizza-hero-bg {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 12px auto;
}
.pizza-hero-bg .pizza-floating {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 8px 32px #d24a2b44);
  animation: pizzaFloat 2.5s ease-in-out infinite alternate;
}

@keyframes pizzaFloat {
  from { transform: translateY(0) rotate(-10deg) scale(1); }
  to   { transform: translateY(-22px) rotate(10deg) scale(1.06); }
}

/*===SPECIALS===*/
.specials {
  max-width: 900px;
  margin: 0 auto;
  padding: 38px 16px 0 16px;
}
.specials h2 {
  color: #c53e1d;
  text-align: center;
  margin-bottom: 30px;
}
.specials-list {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.special-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px #d24a2b17;
  width: 240px;
  padding: 18px;
  text-align: center;
  transition: box-shadow 0.15s, transform 0.15s;
  cursor: pointer;
  position: relative;
}
.special-card:hover {
  box-shadow: 0 4px 24px #d24a2b36;
  transform: scale(1.04) translateY(-4px);
}
.special-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px #efb37838;
  transition: transform 0.22s cubic-bezier(.21,.68,.39,1.13);
}
.special-card:hover img {
  transform: rotate(-2deg) scale(1.06);
}
.special-card h3 {
  color: #d24a2b;
  margin: 10px 0 6px 0;
  font-size: 1.17rem;
}
.special-card p {
  color: #5d4037;
  font-size: 0.98rem;
  margin-bottom: 0;
}

/*===MENU'===*/
.menu-table {
  width: 100%;
  max-width: 100%;
  margin: 24px auto 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 2px 14px #d24a2b13;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
}

.menu-table th, .menu-table td {
  padding: 14px 12px;
  text-align: left;
}
.menu-table th {
  background: #ffe6c5;
  color: #b93817;
  font-size: 1.09rem;
}
.menu-table tr:nth-child(even) td {
  background: #fff4e5;
}
.menu-table tr:hover td {
  background: #ffecd0;
  transition: background 0.18s;
}
.menu-table td {
  color: #63412d;
  font-size: 1rem;
  border-bottom: 1px solid #ffe2c6;
}
.menu-table tr:last-child td { border-bottom: none; }

/*===ABOUT===*/
.about-inner {
  display: flex;
  gap: 36px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.about-image-vertical {
  width: 200px;
  height: 320px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 4px 18px #d24a2b29;
  margin: 0 auto;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-vertical img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 90% center;
  display: block;
}

.about-highlight {
  position: relative;
  flex: 1 1 320px;
  padding: 38px 8px 32px 28px;
}

.about-highlight::before {
  content: "La nostra storia";
  position: absolute;
  top: -16px;
  left: 22px;
  background: #ffd28b;
  color: #8a440c;
  font-size: 0.98rem;
  padding: 3px 13px 3px 11px;
  border-radius: 10px 10px 10px 0;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px #ffd38b1c;
}

.about-highlight p {
  display: inline-block;
  border-bottom: 4px solid #ffd7b0;
  padding-bottom: 6px;
  margin-bottom: 18px;
  font-size: 1.08rem;
}

.about-highlight ul {
  margin: 18px 0 0 20px;
  color: #9a5927;
  list-style: none; /* nessun pallino standard */
  padding: 0;
}
.about-highlight li {
  margin-bottom: 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 9px;
}
.about-highlight li i {
  color: #d24a2b;
  font-size: 1.09em;
  min-width: 19px;
  opacity: 0.93;
}

/*===CONTATTI===*/
.contact-main-flex {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.contact-side {
  flex: 0 0 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
}

.contact-cards-vertical {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: linear-gradient(100deg, #ffd69d 0%, #ffe5c3 100%);
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: 0 4px 14px #d24a2b24;
  color: #943600;
  transition: box-shadow 0.14s;
}

.contact-card .label {
  font-size: 0.97rem;
  color: #bf6300;
  display: block;
  margin-bottom: 2px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.contact-card a, .contact-card span {
  font-size: 1.07rem;
  color: #422b1b;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
  color: #d24a2b;
}

.contact-icon {
  font-size: 1.7rem;
  color: #d24a2b;
  min-width: 28px;
  text-align: center;
  filter: drop-shadow(0 2px 6px #ffdab032);
}

.contact-main {
  flex: 1 1 0;
  min-width: 300px;
  max-width: 100%;
  /* puoi aggiungere padding-left se vuoi più spazio */
}

/*===FORM CONTATTO===*/
.contact {
  max-width: 900px;
  margin: 0 auto 48px auto;
  padding: 0 18px;
  text-align: center;
}

.contact h2 {
  color: #d24a2b;
  margin-bottom: 18px;
}

.contact-info-box {
  margin-bottom: 18px;
  font-size: 1.09rem;
  color: #704527;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 18px;
}

.order-form input, .order-form textarea {
  padding: 11px 10px;
  border-radius: 7px;
  border: 1.2px solid #ffddb5;
  font-size: 1rem;
  font-family: inherit;
  background: #fffdf9;
  width: 100%;
  box-shadow: 0 1px 4px #ffe6d233;
  transition: border 0.18s, box-shadow 0.18s;
}

.order-form input:focus,
.order-form textarea:focus {
  border: 1.3px solid #ffbe8b;
  outline: none;
  box-shadow: 0 2px 12px #ffe6d2aa;
}

.order-form textarea {
  min-height: 72px;
  resize: vertical;
  width: 100%;
  /* NEW: */
  max-width: none;
  box-sizing: border-box;
}

.form-intro {
  margin-bottom: 10px;
  padding: 0 0 0 16px;
  border-left: 4px solid #ffbe8b;
  background: none;
  color: #b55517;
  font-weight: 500;
  line-height: 1.55;
  box-shadow: none;
  border-radius: 0;
  text-align: left;
}

.form-row {
  display: flex;
  gap: 13px;
  width: 100%;
}

.form-row input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.order-form button {
  background: #c53e1d;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 13px 0;
  font-size: 1.08rem;
  font-weight: 600;
  margin-top: 9px;
  cursor: pointer;
  box-shadow: 0 1px 6px #d24a2b14;
  transition: background 0.17s;
}

.order-form button:hover {
  background: #a22800;
}

.order-success {
  background: #fff4e2;
  color: #178a18;
  border-radius: 8px;
  padding: 14px 10px;
  margin-top: 18px;
  font-size: 1.08rem;
  box-shadow: none;
  border: 1.2px solid #d2e5bd;
  display: none;
}

/*===MODALE===*/
.modal-success-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(42,22,6,0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.2s;
}

@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.modal-success-box {
  background: #fffbe7;
  border-radius: 16px;
  padding: 38px 28px 24px 28px;
  box-shadow: 0 8px 32px #d24a2b24;
  text-align: center;
  min-width: 240px;
  max-width: 92vw;
}
.modal-success-icon {
  font-size: 3rem;
  color: #28b94b;
  margin-bottom: 16px;
}
.modal-success-message {
  font-size: 1.11rem;
  color: #724d1e;
  margin-bottom: 18px;
  line-height: 1.5;
}
.modal-success-btn {
  background: #c53e1d;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 12px #d24a2b23;
  transition: background 0.15s;
}
.modal-success-btn:hover { background: #a22800; }

/*=== MEDIA QUERIES RESPONSIVE FINALE ===*/
@media (max-width: 900px) {
  .contact-main-flex {
    flex-direction: column;
    gap: 32px;
    padding: 0 10px;
  }
  .contact-side, .contact-main {
    min-width: 0;
    width: 100%;
  }
  .contact-cards-vertical {
    flex-direction: row;
    gap: 14px;
    justify-content: center;
  }
  .contact-card {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 850px) {
  .about-inner { flex-direction: column; gap: 24px;}
  .about-image-vertical { margin-bottom: 0;}
  .about-highlight { padding: 24px 12px; margin-right: 0;}
}

@media (max-width: 700px) {
  .specials-list {
    flex-direction: column;
    align-items: center;
  }
  .special-card {
    width: 95%;
    margin-bottom: 16px;
  }
  .contact-cards-vertical {
    flex-direction: column;
    gap: 11px;
    align-items: stretch;
  }
  .form-row {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .specials, .menu, .about, .contact {
    padding: 0 6px;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .special-card, .about-highlight, .menu-table, .order-form, .contact-card {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .menu-table th, .menu-table td {
    padding: 10px 6px;
  }
  .about-highlight {
    padding: 18px 4px 18px 10px;
    margin-right: 0;
  }
  .about-inner,
  .contact-main-flex {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    padding: 0 2px;
  }
}

@media (max-width: 600px) {
  .about-highlight::before {
    top: 6px;
    left: 10px;
    font-size: 0.90rem;
    padding: 2px 9px 2px 8px;
    border-radius: 7px 7px 7px 0;
  }
}

@media (max-width: 600px) {
  .specials, .menu, .about, .contact {
    padding: 0 6vw;
  }
}
