:root {
  /* Colori Principali */
  --primary-color: #F4773A;
  --primary-hover: #E65C00;
  --primary-light: #F7996B;
  --primary-dark: #CC5200;
  --primary-pale: #FFE0CC;

  /* Colori Sfondo */
  --bg-white: #FFFFFF;
  --bg-light: #F9FAFA;
  --bg-light-orange: #FFF5ED;
  --bg-dark: #333333;

  /* Colori Testo */
  --text-dark: #333333;
  --text-white: #FFFFFF;
  --text-gray: #cccccc;

  /* Font */
  --font-main: 'Rajdhani', sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --padding-mobile: 1rem;
  --padding-desktop: 2rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  font-weight: 500;
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.33;
  letter-spacing: 0.08em;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ===== TIPOGRAFIA ===== */

/* Desktop Typography */
h1 {
  font-size: 56px;
  font-weight: 600;
  line-height: 66px;
  letter-spacing: 0.08em;
}

h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: 0.08em;
}

h3 {
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: 0.08em;
}

h4 {
  font-size: 28px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: 0.08em;
}

p {
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0.08em;
}

/* Mobile Typography */
@media (max-width: 768px) {
  h1 { font-size: 41px; line-height: 48px; }
  h2 { font-size: 35px; line-height: 41px; }
  h3 { font-size: 28px; line-height: 35px; }
  h4 { font-size: 25px; line-height: 30px; }
  p  { font-size: 21px; line-height: 28px; }
}

/* ===== UTILITIES ===== */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--padding-mobile);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--padding-desktop); }
}

#scopri-menu {
  scroll-margin-top: 120px;
}

/* ===== PULSANTI ===== */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-family: var(--font-main);
  text-transform: none;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .btn {
    font-size: 21px;
    line-height: 25px;
    padding: 10px 24px;
  }
}

/* Primary Button - Filled Orange */
.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
}

/* Hover (desktop) + feedback su tap/focus (mobile/tastiera) */
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus-visible {
  background-color: var(--bg-white);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Secondary Button - Lighter Orange */
.btn-secondary {
  background-color: var(--primary-light);
  color: var(--text-white);
  border-color: var(--primary-light);
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus-visible {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Outline Button - Orange border, transparent bg */
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover,
.btn-outline:active,
.btn-outline:focus-visible {
  background-color: var(--primary-color);
  color: var(--text-white);
}

/* Outline Button on dark backgrounds */
.btn-outline-white {
  background-color: transparent;
  border: 2px solid var(--text-white);
  color: var(--text-white);
}

.btn-outline-white:hover,
.btn-outline-white:active,
.btn-outline-white:focus-visible {
  background-color: var(--text-white);
  color: var(--bg-dark);
}

/* Disabled Button */
.btn-disabled {
  background-color: #cccccc;
  color: #999999;
  border-color: #cccccc;
  cursor: not-allowed;
}

/* ===== HEADER ===== */

#main-header {
  background-color: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-top: 4px solid var(--primary-color);
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  position: relative;
}

/* Logo centrato */
.logo {
  display: flex;
  justify-content: center;
}

/* Mobile Menu Button - posizionato a sinistra */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 992px) {
  .mobile-menu-btn { display: none; }
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
}

/* Animazione per 2 barre */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  transform: rotate(-45deg) translate(3px, -3px);
}

.logo img { height: 70px; }

/* Desktop Navigation - Layout con logo centrato */
.desktop-nav { display: none; }

@media (min-width: 992px) {
  #main-header .container { position: relative; }

  .header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
  }

  .desktop-nav {
    display: flex;
    justify-content: flex-start;
  }

  .desktop-nav-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
  }

  .logo { justify-self: center; }
  .logo img { height: 80px; }
}

.nav-menu-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 26px;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.nav-link.active,
.nav-link:hover {
  color: var(--primary-color);
}

/* Dropdown arrow */
.nav-link-with-dropdown::after {
  content: '-';
  font-weight: 500;
  margin-left: 0.2rem;
}

/* Dropdown Menu */
.has-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  min-width: 280px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 0;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  margin-top: 0.5rem;
}

.has-dropdown.active .dropdown-menu,
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li { list-style: none; }

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;
}

.dropdown-menu a:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
  padding-left: 2rem;
}

/* Prenota Button Desktop */
.btn-prenota-desktop { display: none; }

@media (min-width: 992px) {
  .btn-prenota-desktop {
    display: inline-block;
    padding: 10px 20px;
    font-size: 20px;
  }
}

/* ===== MOBILE HEADER ===== */

.mobile-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.mobile-menu-label {
  font-size: 21px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
}

@media (min-width: 992px) {
  .mobile-header-content { display: none; }
  .mobile-menu-label { display: none; }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-overlay.active { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.mobile-menu-header .logo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.mobile-menu-header .logo img { height: 60px; }

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
  position: absolute;
  right: 1rem;
}

.mobile-nav { padding: 2rem 1rem; }

.mobile-menu-list { list-style: none; }
.mobile-menu-list > li { border-bottom: 1px solid #eee; }

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  color: var(--text-dark);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 21px;
  line-height: 23px;
  letter-spacing: 0.08em;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary-color);
}

/* Mobile Submenu */
.mobile-submenu {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 1.5rem;
}

.mobile-has-submenu.active .mobile-submenu { max-height: 500px; }

.mobile-submenu li { border-bottom: none; }

.mobile-submenu a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text-dark);
  font-size: 19px;
  font-weight: 400;
  line-height: 21px;
}

.mobile-submenu a:hover { color: var(--primary-color); }

.submenu-toggle-icon {
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.3s ease;
}

.mobile-has-submenu.active .submenu-toggle-icon { transform: rotate(45deg); }

.btn-prenota-mobile {
  margin-top: 2rem;
  width: 100%;
  text-align: center;
}

/* ===== HERO SECTION ===== */

.hero {
  background-color: var(--bg-dark);
  color: var(--text-white);
  text-align: center;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
    url('/img/homepage/ristorante-pizzeria-tre-merate-esterno-hero-homepage.webp');
  background-size: cover;
  background-position: center;

  min-height: clamp(600px, 78vh, 820px);
  padding: 6.5rem 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero {
    min-height: clamp(560px, 72vh, 720px);
    padding: 5.5rem 0;
  }
}

.hero-content { max-width: 800px; }

.hero h1 {
  margin-bottom: 1rem;
  color: var(--text-white);
}

.hero p {
  margin-bottom: 2rem;
  color: var(--text-gray);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* HERO: Prenota Tavolo (outline) -> bianco di default */
.hero .btn-outline {
  background-color: #fff;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* HERO: in hover deve diventare arancione pieno */
.hero .btn-outline:hover,
.hero .btn-outline:active,
.hero .btn-outline:focus-visible {
  background-color: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
}

/* Bottoni a larghezza costante */
.hero .btn { min-width: 240px; }

/* ===== SECTIONS ===== */

section { padding: 4rem 0; }
@media (min-width: 768px) { section { padding: 6rem 0; } }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-header p {
  color: var(--text-dark);
  opacity: 0.8;
}

/* ===== CARDS GRID ===== */

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== MENU CARDS ===== */

.menu-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.menu-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover img { transform: scale(1.05); }

.menu-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.menu-card h3 {
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 28px;
}

.menu-card p {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-gray);
}

.menu-card .btn {
  font-size: 18px;
  padding: 8px 20px;
}

/* ===== EVENTS SECTION ===== */

.events-section { background-color: var(--bg-light); }

.event-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* +++ FIX: meno taglio immagini (desktop) +++ */
.event-image {
  height: 250px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.5s ease;
}

.event-card:hover .event-image img { transform: scale(1.05); }

/* Mobile: meno taglio soggetti */
@media (max-width: 768px) {
  .event-image {
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  .event-image img {
    object-position: center center; /* override del 18% */
  }
}

.event-content {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.event-content h3 {
  font-size: 28px;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.event-content p {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

/* uniforma altezza testo nel carousel */
.carousel-track .event-content p { min-height: 72px; }
.carousel-track .event-content .btn { min-width: 200px; }

.carousel-track .menu-card .btn,
.carousel-track .event-card .btn { min-width: 200px; }

.event-content .btn {
  font-size: 18px;
  padding: 8px 20px;
}

/* ===== JOURNEY SECTION (Cene a Tema) -> STILE HERO ===== */

.journey-section,
.journey-hero {
  color: var(--text-white);
  text-align: center;

  background-image:
    linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62)),
    url('/img/homepage/cene-tema-ristorante-pizzeria-tre-merate-homepage.webp');
  background-size: cover;
  background-position: center;

  min-height: clamp(520px, 65vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

/* Journey hero content spacing (matches your HTML class) */
.journey-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.journey-hero-content h2 {
  margin-bottom: 1rem;
  color: var(--text-white);
}

.journey-hero-content p {
  margin: 0 auto 2.75rem;
  color: var(--text-gray);
  max-width: 900px;
}

.journey-hero-content .btn { margin-top: 0.25rem; }

@media (max-width: 768px) {
  .journey-section,
  .journey-hero {
    min-height: clamp(480px, 58vh, 680px);
    padding: 4.5rem 0;
  }
}

/* Se ti ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¨ rimasto il layout ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“a due colonneÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â vecchio, lo neutralizziamo */
.journey-container {
  display: block;
  text-align: center;
}

.journey-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.journey-content h2 {
  margin-bottom: 1rem;
  color: var(--text-white);
}

.journey-content p {
  margin-bottom: 2rem;
  color: var(--text-gray);
}

/* Nascondi immagine inline se ancora presente (ora ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¨ background) */
.journey-image { display: none; }

/* ===== GALLERY SECTION ===== */

.gallery-section { padding-bottom: 2rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Verticale ma piÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¹ ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“compattaÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â */
.gallery-item {
  height: auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

@media (max-width: 768px) {
  .gallery-item { aspect-ratio: 3 / 4; }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

/* ===== CTA SECTION (Prenota) -> STILE HERO ===== */

.cta-section {
  color: var(--text-white);
  text-align: center;

  background-image:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url('/img/homepage/ristorante-pizzeria-tre-merate-prenota-homepage.webp');
  background-size: cover;
  background-position: top center;

  min-height: clamp(460px, 55vh, 700px);
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 5.5rem 0;
}

@media (max-width: 768px) {
  .cta-section {
    min-height: clamp(420px, 50vh, 620px);
    padding: 4.5rem 0;
  }
}

.cta-section h2 { margin-bottom: 1rem; }

.cta-section p {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-gray);
}

/* ===== SECTION DIVIDER ===== */

.section-divider {
  width: 100%;
  height: 80px;
  background-color: var(--bg-white);
  background-image: radial-gradient(circle, var(--primary-color) 2px, transparent 2px);
  background-size: 24px 24px;
  position: relative;
}

@media (max-width: 768px) {
  .section-divider {
    height: 50px;
    background-size: 18px 18px;
  }
}

/* ===== FOOTER ===== */

#main-footer {
  background-color: var(--bg-white);
  margin-top: 0;
}

/* Newsletter Section */
.newsletter-section-wrapper {
  background-color: var(--bg-white);
  padding: 4rem 0;
  border-bottom: 1px solid #eee;
}

@media (min-width: 768px) {
  .newsletter-section-wrapper { padding: 5rem 0; }
}

.newsletter-section {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-section h2 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.newsletter-section > p {
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.newsletter-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 18px;
  line-height: 24px;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.newsletter-checkbox input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .newsletter-form {
    flex-direction: row;
    justify-content: center;
  }

  .newsletter-form input { flex: 0 1 200px; }
}

.newsletter-form input {
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 18px;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.newsletter-form .btn {
  font-size: 20px;
  padding: 14px 24px;
}

/* Footer Main */
.footer-main {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid #eee;
}

@media (min-width: 768px) {
  .footer-main { padding: 5rem 0 3rem; }
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }
}

@media (min-width: 992px) {
  .footer-content { grid-template-columns: repeat(4, 1fr); }
}

.footer-column h4 {
  font-size: 24px;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-column ul { list-style: none; }

.footer-column ul li {
  margin-bottom: 0.75rem;
  font-size: 20px;
  line-height: 28px;
}

/* Footer links: SOLO ai link che NON sono bottoni */
.footer-column a:not(.btn) {
  color: var(--text-dark);
  transition: color 0.3s ease;
  font-size: 20px;
}

.footer-column a:not(.btn):hover { color: var(--primary-color); }

.footer-column .address { margin-top: 1rem; }

.btn-prenota-footer {
  margin-bottom: 1.5rem;
  font-size: 18px;
  padding: 10px 20px;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #25D366 !important;
  font-weight: 500;
}

.whatsapp-link:hover { color: #128C7E !important; }

/* Footer Bottom */
.footer-bottom {
  background-color: var(--bg-light);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-logo { margin-bottom: 2rem; }

.footer-logo img {
  height: 70px;
  margin: 0 auto;
}

.footer-bottom h3 {
  font-size: 28px;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .footer-bottom h3 { font-size: 24px; }
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-hover);
  transform: scale(1.1);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-dark);
  font-size: 18px;
}

.footer-links a:hover { color: var(--primary-color); }

.copyright {
  color: var(--text-dark);
  font-size: 18px;
  line-height: 26px;
}

/* ===== CAROUSEL STYLES ===== */

.carousel-wrapper {
  position: relative;
  padding: 0 60px;
}

@media (max-width: 768px) {
  .carousel-wrapper {
    padding: 0;
    padding-bottom: 70px;
  }
}

.carousel-container {
  width: 100%;
  padding: 12px 0;
  margin: 0;
  
  /* Scroll nativo su tutti i breakpoint */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

/* Scroll-snap per le card */
.carousel-track > * {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Carousel Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:hover {
  background-color: var(--primary-hover);
  transform: translateY(-50%) scale(1.1);
}

/* Frecce disabilitate (inizio/fine scroll) */
.carousel-arrow[aria-disabled="true"] {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}

/* Desktop: frecce disabilitate mantengono transform verticale */
@media (min-width: 769px) {
  .carousel-arrow[aria-disabled="true"]:hover {
    transform: translateY(-50%);
    background-color: var(--primary-color);
  }
}

.carousel-arrow-left { left: 0; }
.carousel-arrow-right { right: 0; }

.carousel-arrow svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
  .carousel-arrow {
    top: auto;
    bottom: 10px;
    width: 45px;
    height: 45px;
  }

  .carousel-arrow-left {
    left: 50%;
    right: auto;
    transform: translateX(-60px);
  }

  .carousel-arrow-right {
    right: auto;
    left: 50%;
    transform: translateX(15px);
  }

  /* Hover - mantiene la posizione base con scale */
  .carousel-arrow-left:hover {
    transform: translateX(-60px) scale(1.1);
  }

  .carousel-arrow-right:hover {
    transform: translateX(15px) scale(1.1);
  }

  /* Frecce disabilitate su mobile - mantengono la posizione */
  .carousel-arrow-left[aria-disabled="true"] {
    transform: translateX(-60px);
  }

  .carousel-arrow-right[aria-disabled="true"] {
    transform: translateX(15px);
  }

  .carousel-arrow-left[aria-disabled="true"]:hover {
    transform: translateX(-60px);
  }

  .carousel-arrow-right[aria-disabled="true"]:hover {
    transform: translateX(15px);
  }
}

/* ============================================
   MODIFICA DA APPLICARE A style.css
   Sostituisci la sezione "Carousel Indicators" 
   (circa righe 1300-1325) con questo codice:
   ============================================ */

/* Carousel Indicators - Visibili solo su mobile */
.carousel-indicators {
  display: none; /* Nascosto di default (desktop) */
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .carousel-indicators {
    display: flex; /* Visibile solo su mobile */
  }
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-indicator.active {
  background-color: var(--primary-color);
  width: 30px;
  border-radius: 6px;
}

.carousel-indicator:hover { background-color: var(--primary-light); }

/* Default sizing: MENU + EVENTS (3 card desktop) */
.carousel-track .menu-card,
.carousel-track .event-card,
.carousel-track .gallery-item {
  flex: 0 0 calc((100% - 4rem) / 3);
  width: auto;
}

@media (max-width: 1200px) {
  .carousel-track .menu-card,
  .carousel-track .event-card {
    flex: 0 0 calc((100% - 2rem) / 2);
  }
}

@media (max-width: 992px) {
  .carousel-track .gallery-item {
    flex: 0 0 calc((100% - 2rem) / 2);
  }
}

@media (max-width: 768px) {
  .carousel-track .menu-card,
  .carousel-track .event-card,
  .carousel-track .gallery-item {
    flex: 0 0 100%;
  }

  .carousel-container {
    /* Mobile: scroll-padding per centratura */
    scroll-padding: 0 var(--padding-mobile);
  }

  /* gutter laterale + gap piÃƒÂ¹ stretto */
  .carousel-track {
    padding: 0 var(--padding-mobile);
    gap: 1.25rem;
  }

  /* card piÃƒÂ¹ stretta del viewport per far vedere aria ai lati */
  .carousel-track .menu-card,
  .carousel-track .event-card,
  .carousel-track .gallery-item {
    flex: 0 0 calc(100% - (2 * var(--padding-mobile)));
  }

  /* snap centrato */
  .carousel-track > * {
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
}

/* Gallery Carousel wrapper */
.gallery-carousel-wrapper { padding: 0; }

/* frecce gallery: desktop */
.gallery-carousel-wrapper .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 769px) {
  .gallery-carousel-wrapper .carousel-arrow-left { left: 10px; }
  .gallery-carousel-wrapper .carousel-arrow-right { right: 10px; }
}

/* frecce gallery: mobile (FIX: non annullare i transform delle frecce) */
@media (max-width: 768px) {
  .gallery-carousel-wrapper { padding-bottom: 70px; }

  .gallery-carousel-wrapper .carousel-arrow {
    position: absolute;
    bottom: 10px;
    top: auto;
    /* NOTA: niente transform:none qui */
  }

  .gallery-carousel-wrapper .carousel-arrow-left {
    left: 50%;
    transform: translateX(-60px);
  }

  .gallery-carousel-wrapper .carousel-arrow-right {
    left: 50%;
    right: auto;
    transform: translateX(15px);
  }
}

/* +++ FIX: Gallery piÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¹ ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“piccolaÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â e non sborda (4 card desktop) +++ */
.carousel-track.gallery-grid .gallery-item {
  flex: 0 0 calc((100% - 6rem) / 4);
}

@media (max-width: 1200px) {
  .carousel-track.gallery-grid .gallery-item {
    flex: 0 0 calc((100% - 4rem) / 3);
  }
}

@media (max-width: 992px) {
  .carousel-track.gallery-grid .gallery-item {
    flex: 0 0 calc((100% - 2rem) / 2);
  }
}

@media (max-width: 768px) {
  .carousel-track.gallery-grid .gallery-item {
    flex: 0 0 calc(100% - (2 * var(--padding-mobile)));
  }
}

/* ===== MENU PIZZE PAGE STYLES ===== */

/* Breadcrumb */
.breadcrumb-nav {
  background-color: var(--bg-light);
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 18px;
  line-height: 24px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: '>';
  margin-left: 0.5rem;
  color: var(--text-dark);
  opacity: 0.5;
}

.breadcrumb a {
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

.breadcrumb li[aria-current="page"] {
  color: var(--primary-color);
  font-weight: 600;
}

@media (max-width: 768px) {
  .breadcrumb {
    font-size: 16px;
  }
}

/* Submenu Sticky - si posiziona sotto l'header */
.submenu-sticky {
  background-color: var(--bg-white);
  border-bottom: 1px solid #eee;
  position: sticky;
  /* Mobile: header ~107px (logo 70px + padding 32px + border 5px) */
  top: 107px;
  z-index: 998;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
  .submenu-sticky {
    /* Desktop: header ~117px (logo 80px + padding 32px + border 5px) */
    top: 117px;
  }
}

@media (max-width: 991px) {
  .submenu-sticky {
    /* Mobile/Tablet: attacca al header senza gap */
    top: 102px;
    margin-top: -1px;
    border-top: 1px solid #eee;
  }
}

.submenu-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  flex-wrap: nowrap;
}

.submenu-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.submenu-link:hover {
  color: var(--primary-color);
}

.submenu-link.active {
  background-color: var(--primary-color);
  color: var(--text-white);
}

@media (max-width: 768px) {
  .submenu-sticky {
    padding: 0.75rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .submenu-sticky .container {
    max-width: none;
    padding: 0;
  }

  .submenu-list {
    gap: 0.5rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 var(--padding-mobile);
  }

  .submenu-list::-webkit-scrollbar {
    display: none;
  }

  .submenu-link {
    font-size: 16px;
    padding: 0.4rem 0.75rem;
    flex-shrink: 0;
  }
}

/* Menu Section */
.menu-section {
  padding: 4rem 0;
  /* Compenso altezza header + submenu + margine per vedere il titolo */
  scroll-margin-top: 200px;
}

@media (min-width: 768px) {
  .menu-section {
    padding: 5rem 0;
  }
}

@media (min-width: 992px) {
  .menu-section {
    /* Desktop: header + submenu + margine */
    scroll-margin-top: 210px;
  }
}

/* Menu List */
.menu-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .menu-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Menu Item */
.menu-item {
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.menu-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.menu-item-special {
  background-color: var(--bg-light-orange);
  border-left-color: var(--primary-dark);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.menu-item-name {
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
  color: var(--text-dark);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.menu-item-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
}

.menu-item-desc {
  font-size: 18px;
  line-height: 26px;
  color: var(--text-dark);
  opacity: 0.85;
  margin: 0;
}

.allergens {
  font-size: 14px;
  color: var(--text-dark);
  opacity: 0.6;
}

@media (max-width: 768px) {
  .menu-item {
    padding: 1.25rem;
  }

  .menu-item-name {
    font-size: 20px;
    line-height: 26px;
  }

  .menu-item-price {
    font-size: 20px;
  }

  .menu-item-desc {
    font-size: 16px;
    line-height: 24px;
  }
}

/* Allergens Section */
.allergens-section {
  padding: 3rem 0;
  background-color: var(--bg-light);
}

.allergens-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  background-color: var(--bg-white);
  border-radius: 8px;
  border: 1px solid #eee;
}

.allergens-box h3 {
  font-size: 28px;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.allergens-box p {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.allergens-box p:last-child {
  margin-bottom: 0;
}

.allergens-note {
  font-style: italic;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .allergens-box {
    padding: 1.5rem;
  }

  .allergens-box h3 {
    font-size: 24px;
  }

  .allergens-box p {
    font-size: 14px;
    line-height: 22px;
  }
}

/* Feature Section */
.feature-section {
  padding: 4rem 0;
  background-color: var(--bg-white);
}

@media (min-width: 768px) {
  .feature-section {
    padding: 5rem 0;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.feature-grid-reverse {
  direction: rtl;
}

.feature-grid-reverse > * {
  direction: ltr;
}

@media (max-width: 991px) {
  .feature-grid-reverse {
    direction: ltr;
  }
}

.feature-content h2 {
  font-size: 40px;
  line-height: 48px;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-intro {
  font-size: 20px;
  line-height: 30px;
  color: var(--text-dark);
  opacity: 0.85;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 18px;
  line-height: 26px;
}

.feature-list li:last-child {
  margin-bottom: 0;
}

.feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
}

.feature-icon svg {
  width: 16px;
  height: 16px;
}

.feature-list strong {
  color: var(--primary-color);
}

.feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-pale);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-image {
  border-radius: 0;
  overflow: visible;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.feature-image:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .feature-content h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .feature-intro {
    font-size: 18px;
    line-height: 28px;
  }

  .feature-list li {
    font-size: 16px;
    line-height: 24px;
  }
}

/* Feature Section Reverse per mobile - immagine sotto */
@media (max-width: 991px) {
  .feature-section-reverse .feature-grid {
    display: flex;
    flex-direction: column;
  }

  .feature-section-reverse .feature-image {
    order: 2;
  }

  .feature-section-reverse .feature-content {
    order: 1;
  }
}

/* ===== STICKY CTA BOTTOM ===== */

.sticky-cta-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 997;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-cta-bottom.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.sticky-cta-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background-color: var(--bg-light-orange);
  border-radius: 12px;
  border: 1px solid rgba(244, 119, 58, 0.2);
}

.sticky-cta-logo {
  flex-shrink: 0;
}

.sticky-cta-logo img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.sticky-cta-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.sticky-cta-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cta-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
  opacity: 0.7;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cta-btn {
  flex-shrink: 0;
  padding: 10px 24px;
  font-size: 16px;
  line-height: 1.2;
  border-radius: 8px;
  white-space: nowrap;
}

/* Desktop */
@media (min-width: 768px) {
  .sticky-cta-bottom {
    padding: 1rem 2rem;
  }

  .sticky-cta-container {
    padding: 1rem 2rem;
    border-radius: 16px;
  }

  .sticky-cta-logo img {
    width: 50px;
    height: 50px;
  }

  .sticky-cta-title {
    font-size: 20px;
  }

  .sticky-cta-subtitle {
    font-size: 16px;
  }

  .sticky-cta-btn {
    padding: 12px 32px;
    font-size: 18px;
  }
}

/* Mobile - layout compatto */
@media (max-width: 480px) {
  .sticky-cta-bottom {
    padding: 0.5rem;
  }

  .sticky-cta-container {
    padding: 0.6rem 0.75rem;
    gap: 0.6rem;
    border-radius: 10px;
  }

  .sticky-cta-logo img {
    width: 38px;
    height: 38px;
  }

  .sticky-cta-title {
    font-size: 15px;
  }

  .sticky-cta-subtitle {
    font-size: 12px;
  }

  .sticky-cta-btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
  }
}

/* Aggiunge padding al footer per evitare che la CTA copra contenuti */
body:has(.sticky-cta-bottom.visible) #main-footer {
  padding-bottom: 100px;
}

@media (max-width: 480px) {
  body:has(.sticky-cta-bottom.visible) #main-footer {
    padding-bottom: 80px;
  }
}

/* ===== EVENTI PAGES COMMON STYLES ===== */

/* Formula Tabs - filtri categoria */
.formula-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.formula-tab {
  padding: 0.75rem 1.5rem;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  background-color: var(--bg-light);
  border: 2px solid transparent;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-main);
  letter-spacing: 0.05em;
}

.formula-tab:hover {
  border-color: var(--primary-light);
}

.formula-tab.active {
  background-color: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
}

@media (max-width: 768px) {
  .formula-tab {
    padding: 0.6rem 1rem;
    font-size: 16px;
  }
}

/* Formula Preview Grid */
.formula-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .formula-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.formula-preview-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: block;
}

.formula-preview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.formula-preview-card.hidden {
  display: none;
}

.formula-preview-image {
  height: 220px;
  overflow: hidden;
}

.formula-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.formula-preview-card:hover .formula-preview-image img {
  transform: scale(1.08);
}

.formula-preview-content {
  padding: 1.5rem;
  text-align: center;
}

.formula-preview-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: var(--primary-pale);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.formula-preview-content h3 {
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.formula-preview-content p {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-dark);
  opacity: 0.75;
  margin: 0;
}

/* Formula Detail Section */
.formula-detail-section {
  padding: 4rem 0;
  background-color: var(--bg-white);
  scroll-margin-top: 200px;
}

.formula-detail-section-alt {
  background-color: var(--bg-light);
}

@media (min-width: 768px) {
  .formula-detail-section {
    padding: 5rem 0;
  }
}

@media (min-width: 992px) {
  .formula-detail-section {
    scroll-margin-top: 210px;
  }
}

.formula-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .formula-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.formula-detail-grid-reverse {
  direction: rtl;
}

.formula-detail-grid-reverse > * {
  direction: ltr;
}

@media (max-width: 991px) {
  .formula-detail-grid-reverse {
    direction: ltr;
  }

  .formula-detail-grid-reverse .formula-detail-image {
    order: 2;
  }
}

.formula-detail-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: var(--primary-color);
  color: var(--text-white);
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.formula-detail-content h2 {
  font-size: 40px;
  line-height: 48px;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.formula-detail-intro {
  font-size: 20px;
  line-height: 30px;
  color: var(--text-dark);
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.formula-detail-note {
  font-size: 16px;
  line-height: 24px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background-color: var(--bg-light-orange);
  border-radius: 6px;
  border-left: 3px solid var(--primary-color);
}

.formula-detail-image {
  border-radius: 12px;
  overflow: hidden;
}

.formula-detail-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.formula-detail-image:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .formula-detail-content h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .formula-detail-intro {
    font-size: 18px;
    line-height: 28px;
  }
}

/* Menu Example */
.menu-example {
  margin-bottom: 2rem;
}

.menu-example-item {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.menu-example-item:last-of-type {
  border-bottom: none;
}

.menu-example-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.menu-example-item p {
  font-size: 18px;
  line-height: 26px;
  color: var(--text-dark);
  margin: 0;
}

.menu-example-included {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background-color: var(--bg-light-orange);
  border-radius: 8px;
  margin-top: 1rem;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 16px;
}

.menu-example-included svg {
  flex-shrink: 0;
  color: var(--primary-color);
}

.menu-example-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: var(--bg-light);
  border-radius: 6px;
  margin-top: 1rem;
  color: var(--text-dark);
  opacity: 0.8;
  font-size: 14px;
}

.menu-example-note svg {
  flex-shrink: 0;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .menu-example-item p {
    font-size: 16px;
    line-height: 24px;
  }
}

/* CTA Banner */
.cta-banner {
  background-color: var(--bg-dark);
  padding: 2.5rem 0;
}

.cta-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

@media (min-width: 992px) {
  .cta-banner-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.cta-banner-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: var(--text-white);
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-banner-content p {
  font-size: 22px;
  line-height: 30px;
  color: var(--text-white);
  margin: 0;
}

@media (max-width: 768px) {
  .cta-banner-content p {
    font-size: 18px;
    line-height: 26px;
  }
}

/* Feature Steps List */
.feature-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.step-circle {
  width: 48px;
  height: 48px;
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-dark);
  opacity: 0.8;
  margin: 0;
}

@media (max-width: 768px) {
  .step-circle {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .step-content strong {
    font-size: 18px;
  }
}

/* CTA Preventivo Section */
.cta-preventivo-section {
  padding: 4rem 0;
  background-color: var(--bg-light-orange);
}

@media (min-width: 768px) {
  .cta-preventivo-section {
    padding: 5rem 0;
  }
}

.cta-preventivo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .cta-preventivo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.cta-preventivo-image {
  border-radius: 12px;
  overflow: hidden;
}

.cta-preventivo-image img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-preventivo-content h2 {
  font-size: 36px;
  line-height: 44px;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.cta-preventivo-content p {
  font-size: 20px;
  line-height: 30px;
  color: var(--text-dark);
  opacity: 0.85;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .cta-preventivo-content h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .cta-preventivo-content p {
    font-size: 18px;
    line-height: 28px;
  }
}

/* ===== CONTATTI PAGE STYLES ===== */

/* Orari Section */
.orari-section {
  padding: 3rem 0;
  background-color: var(--bg-light);
}

.orari-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.orari-box h2 {
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.orari-intro {
  font-size: 18px;
  line-height: 26px;
  color: var(--text-dark);
  opacity: 0.8;
  margin-bottom: 2rem;
}

.orari-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .orari-grid {
    flex-direction: row;
    max-width: 700px;
    gap: 2rem;
  }
}

.orari-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background-color: var(--bg-white);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  flex: 1;
}

.orari-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background-color: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.orari-text {
  text-align: left;
}

.orari-text strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.orari-text span {
  font-size: 18px;
  color: var(--primary-color);
  font-weight: 600;
}

@media (max-width: 768px) {
  .orari-box h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .orari-intro {
    font-size: 16px;
  }
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background-color: var(--bg-white);
  scroll-margin-top: 200px;
}

.contact-section-alt {
  background-color: var(--bg-light);
}

@media (min-width: 768px) {
  .contact-section {
    padding: 5rem 0;
  }
}

@media (min-width: 992px) {
  .contact-section {
    scroll-margin-top: 210px;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-grid-reverse {
  direction: rtl;
}

.contact-grid-reverse > * {
  direction: ltr;
}

@media (max-width: 991px) {
  .contact-grid-reverse {
    direction: ltr;
  }

  .contact-grid-reverse .contact-image {
    order: 2;
  }
}

.contact-content h2 {
  font-size: 36px;
  line-height: 44px;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact-intro {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-dark);
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.contact-note {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-dark);
  opacity: 0.75;
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: var(--bg-light);
  border-radius: 8px;
}

.contact-note a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
}

.contact-image {
  border-radius: 12px;
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.contact-image:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .contact-content h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .contact-intro {
    font-size: 16px;
    line-height: 26px;
  }
}

/* Booking Widget */
.booking-widget {
  padding: 2rem;
  background-color: var(--bg-light);
  border-radius: 12px;
  margin-top: 2rem;
}

.booking-widget h3 {
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  text-align: center;
}

.guest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.guest-btn {
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--bg-white);
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-main);
}

.guest-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.guest-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-white);
}

.guest-note {
  font-size: 14px;
  text-align: center;
  color: var(--text-dark);
  opacity: 0.7;
  margin: 0;
}

.guest-note a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
}

/* Contact Buttons */
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 480px) {
  .contact-buttons {
    flex-direction: row;
  }
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-width: 180px;
}

.btn-whatsapp {
  background-color: #25D366;
  border-color: #25D366;
  color: var(--text-white);
}

.btn-whatsapp:hover,
.btn-whatsapp:active,
.btn-whatsapp:focus-visible {
  background-color: #128C7E;
  border-color: #128C7E;
  color: var(--text-white);
}

/* Asporto Steps */
.asporto-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .asporto-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.asporto-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background-color: var(--bg-light);
  border-radius: 8px;
  text-align: center;
}

.asporto-step-number {
  width: 36px;
  height: 36px;
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.asporto-step-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

/* Preventivo Section */
.preventivo-section {
  padding: 4rem 0;
  background-color: var(--bg-light);
  scroll-margin-top: 200px;
}

@media (min-width: 768px) {
  .preventivo-section {
    padding: 5rem 0;
  }
}

@media (min-width: 992px) {
  .preventivo-section {
    scroll-margin-top: 210px;
  }
}

.preventivo-form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .preventivo-form-container {
    padding: 3rem;
  }
}

.preventivo-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-required-note {
  font-size: 14px;
  color: var(--text-dark);
  opacity: 0.7;
  margin: 0;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row-2 {
  flex-direction: column;
}

@media (min-width: 768px) {
  .form-row-2 {
    flex-direction: row;
  }

  .form-row-2 .form-group {
    flex: 1;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
  background-color: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 20px;
  padding-right: 3rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:disabled,
.form-group select:disabled {
  background-color: var(--bg-light);
  opacity: 0.6;
  cursor: not-allowed;
}

.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
}

.checkbox-inline input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-color);
}

.checkbox-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.checkbox-privacy input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--primary-color);
}

.checkbox-privacy a {
  color: var(--primary-color);
  text-decoration: underline;
}

.form-submit {
  margin-top: 1rem;
}

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 18px;
}

@media (min-width: 768px) {
  .btn-submit {
    width: auto;
    min-width: 250px;
    margin: 0 auto;
    display: block;
  }
}

/* Mappa Section */
.mappa-section {
  padding: 4rem 0;
  background-color: var(--bg-white);
  scroll-margin-top: 200px;
}

@media (min-width: 768px) {
  .mappa-section {
    padding: 5rem 0;
  }
}

@media (min-width: 992px) {
  .mappa-section {
    scroll-margin-top: 210px;
  }
}

.mappa-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mappa-container iframe {
  display: block;
}

/* Pizza Party Grid */
.pizza-party-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .pizza-party-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pizza-party-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.pizza-party-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.pizza-party-image {
  height: 250px;
  overflow: hidden;
}

.pizza-party-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pizza-party-card:hover .pizza-party-image img {
  transform: scale(1.05);
}

.pizza-party-content {
  padding: 1.5rem;
}

.pizza-party-content h3 {
  font-size: 28px;
  line-height: 34px;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .pizza-party-image {
    height: 200px;
  }

  .pizza-party-content h3 {
    font-size: 24px;
    line-height: 30px;
  }
}