* {
  box-sizing: border-box;
}

:root {
  --cream: #fbf3e3;
  --cream-2: #f5e4c8;
  --bread: #8b5a2b;
  --bread-dark: #3a2415;
  --brown: #5a3822;
  --white: #fffaf2;
  --muted: #7d6958;
  --line: rgba(90, 56, 34, 0.18);
  --shadow: 0 18px 45px rgba(58, 36, 21, 0.12);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(139, 90, 43, 0.10), transparent 32rem),
    var(--cream);
  color: var(--bread-dark);
  padding-bottom: 86px;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 12px 18px;
  background: rgba(251, 243, 227, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.nav {
  display: none;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
  color: var(--brown);
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  place-items: center;
  padding: 70px 20px;
  background: url("images/1.jpg") center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(42, 25, 12, 0.76), rgba(42, 25, 12, 0.42)),
    radial-gradient(circle at center, transparent, rgba(42, 25, 12, 0.45));
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  text-align: center;
}

.hero-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 auto 24px;
  background: rgba(255, 250, 242, 0.90);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--bread);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.hero .eyebrow {
  color: #f6d29b;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 11vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 580px;
  margin: 20px auto 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 250, 242, 0.92);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--bread);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.btn-secondary {
  background: rgba(255, 250, 242, 0.12);
  color: var(--white);
  border-color: rgba(255, 250, 242, 0.45);
}

.btn-light {
  background: var(--white);
  color: var(--bread-dark);
  border-color: var(--line);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-heading h2,
.info-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.65;
}

/* GALLERY 3:4 */
.gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px max(8px, calc((100vw - 1120px) / 2)) 20px;
  margin-inline: -16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.gallery img {
  width: min(70vw, 320px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  flex: 0 0 auto;
  scroll-snap-align: center;
  box-shadow: var(--shadow);
  background: var(--cream-2);
}

/* CONTATTI + ORARI */
.info-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.info-grid .info-card {
  width: min(100%, 620px);
}

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.info-card.highlight {
  background:
    linear-gradient(145deg, rgba(139, 90, 43, 0.10), transparent),
    var(--white);
}

.info-card p {
  color: var(--muted);
  line-height: 1.65;
}

.map-container {
  width: 100%;
  margin: 20px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.hours-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.hours-list li:last-child {
  border-bottom: 0;
}

.hours-list strong {
  color: var(--bread);
}

.hours-list .closed strong {
  color: #9b3f32;
}

/* PRODUCTS */
.products-section {
  padding-top: 38px;
}

.product-grid {
  display: grid;
  gap: 18px;
}

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--cream-2);
}

.product-card div {
  padding: 22px;
}

.product-card h3,
.seasonal-grid h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  color: var(--bread);
}

.product-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--brown);
  line-height: 1.8;
}

/* SEASONAL */
.seasonal-section {
  padding-top: 20px;
}

.seasonal-grid {
  display: grid;
  gap: 14px;
}

.seasonal-grid article {
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.seasonal-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: 46px 20px 108px;
  background: var(--bread-dark);
  color: var(--cream);
}

.footer-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 14px;
  background: var(--white);
  border-radius: 18px;
  padding: 10px;
}

.site-footer a {
  color: var(--cream);
  font-weight: 800;
}

/* MOBILE STICKY */
.mobile-sticky {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-sticky a {
  min-height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  background: var(--bread);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

.mobile-sticky a:nth-child(2) {
  background: var(--bread-dark);
}

/* ANCORE MENU */
#contatti,
#orari,
#prodotti {
  scroll-margin-top: 90px;
}

/* TABLET / DESKTOP */
@media (min-width: 760px) {
  body {
    padding-bottom: 0;
  }

  .site-header {
    padding: 14px 34px;
  }

  .nav {
    display: flex;
  }

  .hero {
    min-height: 82vh;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seasonal-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .mobile-sticky {
    display: none;
  }

  .site-footer {
    padding-bottom: 46px;
  }
}

@media (min-width: 1060px) {
  .product-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
  }

  .product-card img {
    height: 100%;
    aspect-ratio: auto;
  }
}

.seasonal-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.season-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}

.season-item h3 {
  margin: 0 0 8px;
  color: var(--bread);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.season-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}