html {
  scroll-behavior: smooth;
}

/* RESET BASE */
body {
  font-family: 'Inter', sans-serif;
  background-color: #111;
  color: #eee;
  margin: 0;
  padding: 0;
}

/* HEADER */
header {
  background-color: #111;
  padding: 20px;
  text-align: center;
  font-size: 2.2em;
  font-weight: bold;
  letter-spacing: 3px;
  font-family: 'Playfair Display', serif;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

header a {
  color: inherit;
  text-decoration: none;
}

/* HOME BACKGROUND */
.home {
  background: url('../img/sfondo.jpg') no-repeat center center fixed;
  background-size: cover;
  position: relative;
}

.home::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 0;
}

.home * {
  position: relative;
  z-index: 1;
}

/* BOTTONI HOME */
.menu-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 70vh;
}

.menu-section a {
  text-decoration: none;
  background: linear-gradient(145deg, #d6c3a3, #c5b299);
  color: #111;
  padding: 14px 26px;
  margin: 10px;
  border-radius: 12px;
  font-size: 1.4em;
  min-width: 180px;
  text-align: center;
  transition: all 0.25s ease;
}

.menu-section a:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* NAV */
.back-home, .back-to-top {
  text-align: center;
  margin: 20px;
}

.back-home a, .back-to-top a {
  text-decoration: none;
  color: #111;
  background-color: #d6c3a3;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.9em;
  opacity: 0.85;
}

/* QUICK LINKS */
.quick-links {
  text-align: center;
  margin: 30px 0;
  position: sticky;
  top: 0;
  background: #111;
  padding: 12px 8px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.quick-links a {
  color: #d6c3a3;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid #d6c3a3;
  border-radius: 20px;
  font-size: 0.95em;
  transition: 0.3s;
}

.quick-links a:hover {
  background-color: #d6c3a3;
  color: #111;
}

/* SEZIONI */
.category {
  max-width: 600px;
  margin: 60px auto;
  text-align: center;
  padding: 0 15px;
  scroll-margin-top: 90px;
}

.category h2 {
  border-bottom: 2px solid #d6c3a3;
  padding-bottom: 8px;
  margin-bottom: 25px;
  font-size: 1.8em;
  color: #f5deb3;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Playfair Display', serif;
}

/* =========================
   DRINK MENU (LISTA COMPATTA)
   ========================= */

.menu-item {
  margin: 30px auto;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  animation: fadeUp 0.6s ease forwards;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.menu-item strong {
  font-size: 1.4em;
  letter-spacing: 1px;
}

.menu-text {
  margin-top: 6px;
  font-size: 0.95em;
  color: #ccc;
  line-height: 1.4;
}

.price {
  margin-top: 5px;
  font-weight: bold;
  color: #d6c3a3;
  font-size: 1em;
  opacity: 0.85;
}

/* DRINK INLINE LAYOUT */
.item-row,
.menu-item.compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.price-inline {
  font-weight: bold;
  color: #d6c3a3;
  font-size: 1em;
  white-space: nowrap;
  opacity: 0.9;
}

/* =========================
   FOOD MENU (CARD CENTRATA)
   ========================= */

.food-card {
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  animation: fadeUp 0.6s ease forwards;
}

.food-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  margin-bottom: 12px;
  filter: brightness(0.95);
  transition: 0.3s;
}

.food-card img:hover {
  transform: scale(1.02);
  filter: brightness(1);
}

.food-card strong {
  display: block;
  font-size: 1.4em;
  margin-top: 8px;
}

.food-card .menu-text {
  margin-top: 6px;
  font-size: 0.95em;
  color: #ccc;
  padding: 0 10px;
  line-height: 1.4;
}

.food-card .price {
  margin-top: 6px;
  font-weight: bold;
  color: #d6c3a3;
  font-size: 1.05em;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 15px;
  background-color: #111;
}

/* ANIMAZIONE */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE */
@media (max-width: 600px) {

  header {
    font-size: 1.8em;
  }

  .menu-section a {
    font-size: 1.3em;
    min-width: 200px;
    padding: 16px;
  }

  .category {
    max-width: 100%;
    padding: 0 10px;
  }

  .food-card img {
    height: 160px;
  }
}

/* PROMO BOX */
.two-buttons {
  flex-direction: row;
  gap: 14px;
  height: auto;
  margin-top: 60px;
}

.promo-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 35px;
  padding: 0 20px;
}

.promo-box {
  width: 100%;
  max-width: 360px;
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(17,17,17,0.88);
  border: 1px solid rgba(214,195,163,0.35);
  box-shadow: 0 10px 35px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  text-align: center;
}

.promo-badge {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 12px;
  border-radius: 30px;
  font-size: 0.75em;
  background: #d6c3a3;
  color: #111;
  font-weight: 600;
}

.promo-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5em;
  color: #d6c3a3;
  margin-bottom: 10px;
}

.promo-text {
  font-size: 1.1em;
  color: #fff;
  font-weight: 500;
  margin-bottom: 12px;
}

.promo-note {
  font-size: 0.82em;
  color: #bbb;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .two-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .two-buttons a {
    min-width: 130px;
    font-size: 1.15em;
  }
.footer-info {
  text-align: center;
  padding: 25px 15px;
  font-size: 0.85em;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-top: 40px;
  border-top: 1px solid rgba(214,195,163,0.2);
}
