/*
Theme Name: osteria ficamaschia customized
Theme URI: 
Author: me
Author URI: 
Description: Tema elegante per ristorante con slideshow, sezione Chi Siamo, Menu (Antipasti, Primi, Secondi, Contorni, Dessert, Vini), Piatti Speciali, Gallery e Contatti.
Version: 1.0
Text Domain: osteria ficamaschia  V3 
*/

/****************************************************
 * INDICE
 * 1. Reset e Stili di Base
 * 2. Header e Navigazione
 *    - Top Bar
 *    - Navbar
 *    - Menu Navigation
 *    - Burger Menu Toggle
 *    - Reservation Button
 * 3. Slideshow
 * 4. Sezioni Principali
 *    - Chi Siamo (About)
 *    - Menu
 *    - Galleria
 *    - Contatti
 *    - Eventi
 * 5. Form di Contatto
 * 6. Footer
 * 7. Media Queries Responsive
 ****************************************************/
 @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/****************************************************
 * 1. RESET E STILI DI BASE
 ****************************************************/
 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Trebuchet MS", Helvetica, sans-serif;
}

body {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Contenitore principale - usato in tutto il sito */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/****************************************************
 * 2. HEADER E NAVIGAZIONE
 ****************************************************/
/* Top Bar - Barra superiore con telefono e social */
.top-bar {
  background-color: rgb(55 55 43 / 82%);
  padding: 5px 0;
  border-bottom: 1px solid #5b5138;
  position: fixed;
  width: 100%;
  height: 58px;
  top: 0;
  left: 0;
  z-index: 1000; /* Valore z-index alto per sovrapporsi agli altri elementi */
  transition: background-color 0.3s ease;
}

/* Effetto quando si scorre la pagina */
.top-bar.scrolled {
  background-color: rgb(48 48 46);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.contact-phone {
  font-size: 0.9em;
  color: #333;
}

.top-bar.scrolled .contact-phone {
  color: #fbf7f0;
}

.social-icons a {
  margin-left: 10px;
}

.social-icons img {
  width: 20px;
  height: 20px;
}

/* Navbar - Barra di navigazione principale */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  background-color: rgb(48 48 46); /* Sfondo leggermente trasparente */
  position: fixed;
  width: 100%;
  top: 55px; /* Posizionato sotto la top bar */
  left: 0;
  z-index: 999;
  transition: background-color 0.3s ease;
}

/* Effetto quando si scorre la pagina */
.navbar.scrolled {
  background-color: rgb(48 48 46);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo del ristorante */
.navbar .logo a {
  color: #0c0b00;
  margin-left:-60px;
}

/* Cambio colore del logo durante lo scroll */
.navbar.scrolled .logo a,
.navbar.scrolled .menu-nav ul li a {
  color: #fbf7f0;
  font-size: 1.1em;
}

/* logo navbar */ 
img.site-logo {
    height: 52px;
}

/* Menu di navigazione principale */
.menu-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu-nav ul li {
  margin-left: 25px;
}

.menu-nav ul li a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 1em;
  transition: color 0.3s ease;
  font-weight: bold;

}

/* Effetto hover sui link del menu */
.menu-nav ul li a:hover {
  color: #f5dab1;
}

/* Pulsante hamburger per menu mobile */
.menu-toggle {
  display: none; /* Nascosto di default, mostrato solo in mobile */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

/* Stile dell'icona hamburger */
.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #a84601;
  position: relative;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Linee sopra e sotto l'hamburger */
.hamburger::before,
.hamburger::after {
  content: '';
  width: 25px;
  height: 3px;
  background-color: #a84601;  
  position: absolute;
  left: 0;
  transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Animazione dell'icona quando il menu è aperto (forma X) */
.menu-toggle.active .hamburger {
  background-color: transparent; /* Rimuove la linea centrale */
}

.menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Pulsante di prenotazione */
.reservation-link {
  text-decoration: none;
  font-size: 18px;
  color: #f2fbf7;
  margin-left: 40em;
  padding: 4px;
  border: 1px solid #577267;
  border-radius: 4px;
  font-weight: bold;
}

.reservation-link:hover {
  color: #f5b651;
  text-decoration: none;
}

/****************************************************
 * 3. SLIDESHOW
 ****************************************************/
.slideshow {
  position: relative;
  height: 485px;
  overflow: hidden;
  margin-top: -13px; /* Sposta slideshow sopra per coprire navbar */
  z-index: 1;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* Slide attiva visibile */
.slide.active {
  opacity: 1;
}
/* Testo di benvenuto sulle slide */
.slide-content {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  background-color: #fbf7f04f;
  padding: 21px;
  border-radius: 5px;
  max-width: 80%;
}

.slide-content h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px #594a41;
}

.slide-content p {
  font-size: 1.2em;
  text-shadow: 1px 1px 2px #594a41;
}



/* Pulsanti di navigazione slideshow - migliorati */
.slideshow-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

/* Pulsanti di navigazione slideshow */
.slideshow-nav .prev, 
.slideshow-nav .next {
  position: absolute;
  top: 0;
  font-size: 2em;
  color: #fff;
  cursor: pointer;
  padding: 15px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: background-color 0.3s ease;
}


.slideshow-nav .prev:hover, 
.slideshow-nav .next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.slideshow-nav .prev { left: 20px; }
.slideshow-nav .next { right: 20px; }

/* Puntini di navigazione */
.slideshow-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
  background-color: #fff;
}

/* Aggiungi anche lo stile CSS per il pulsante in  */

.slide-button {
  display: inline-block;
  background-color: #f5b651;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.slide-button:hover {
  background-color: #e09c38;
}

/****************************************************
 * 4. SEZIONI PRINCIPALI
 ****************************************************/
/* Stili comuni per tutte le sezioni */
.about-section,
.menu-section,
.events-section {
  padding-top: 30px;
  scroll-margin-top: 130px; /* Per gestire offset di scroll con ancore */
}

/*** 4.1 Chi Siamo - About Section ***/
.about-section {
  padding: 60px 0;
  position: relative;
  background-color: #f9f7f2; /* Colore beige chiaro semi-trasparente */
}

.about-section h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
  color: #594a41;
}

/* Layout flessibile per immagine e testo */
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.about-image {
  flex: 1 1 400px;
}

.about-image img {
  height: 436px;
  width: 70%;
  border-radius: 10px;
}

.about-text {
  flex: 1 1 400px;
  font-size: 1em;
}
.about-text p{
    line-height: 2.4;
    font-family: cursive;
}

/*** 4.2 Menu Section ***/
.menu-section {
  padding: 60px 0;
  background: #f9f7f2;
  position: relative;
  z-index: 5;
  border-top: 1px solid #bfa05547;
}

.menu-section h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
  color: #594a41;
  font-family: 'Playfair Display', serif;
}

/* Grid layout per le categorie del menu */
.menu-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 25px;

  /*  05/05 */
   position: relative;
}

.menu-category {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  cursor: pointer;
  background-color: #ffffff;
  padding: 0;
}

.menu-category h3 {
  font-size: 1.5em;
  margin: 0;
  padding: 20px 30px;
  color: #3c3c3ae0;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);

}

.menu-category h3:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.menu-category:hover h3 {
  transform: translateX(8px);
}
/* Stato attivo quando il menu è aperto */
.menu-category h3.active {
  color: #fbf7f0;
  transform: translateX(8px);
}

/* Pseudo-elemento per la barra laterale colorata */
.menu-category::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 6px;
  transition: width 0.2s ease;
  z-index: 1;
}
.menu-category:hover::before {
  width: 12px;
}

/* Texture sottile di sfondo */
.menu-category::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}
/* Icone per ciascuna categoria */
.menu-category .icon {
  position: absolute;
  stroke: #666; /* Colore più scuro invece di ereditare */
  opacity: 0.4; /* Aumenta l'opacità predefinita */
  right: 20px;
  top: 40px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  opacity: 0.2;
  transition: all 0.2s ease;
  z-index: 2;
}

.menu-category:hover .icon {
  opacity: 0.8;
  transform: translateY(-50%) scale(1.3);
  stroke: #333; /* Colore più scuro all'hover */
}
/*Aggiungi uno stile specifico per le icone quando la categoria è attiva*/
.menu-category h3.active + .icon {
  opacity: 0.8;
  stroke: #fff; /* Bianco per risaltare sul background colorato */
 
}
/* Stili per liste dei piatti */
.menu-category ul {
    display: none;
  list-style: none;
  padding: 20px;
  margin: 0;
  background-color: white;
  border-top: 1px solid rgba(0,0,0,0.05);
  /* transition: all 0.2s ease; */
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;

}

/*  inizio espnade categoria */ 


.menu-category.active {
  grid-column: 1 / -1; /* Da inizio a fine griglia */
  z-index: 2; /* Si sovrappone leggermente alle altre categorie */
  
  /* Effetto di espansione */
  transition: all 0.3s ease-in-out;
}

/* Mantiene l'ordine delle categorie */
.menu-category {
  order: 0; /* Mantiene l'ordine originale */
}

/* Aggiunge indicatore per mostrare che la categoria è espandibile */
.menu-category h3::after {
  content: "+";
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  transition: all 0.3s ease;
}

.menu-category.active h3::after {
  content: "−"; /* Cambia in simbolo meno */
}




/*  fine espande*/


/* Mostra il menu solo quando la categoria è attiva */
.menu-category.active ul {
  display: block;
}

/* Stili specifici per ogni categoria (opzionale) */

#menu-pizza {
    border-left: 4px solid #e9c46a;
  background-color: #efebe0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
        
}
.menu-category h3#menu-pizza.active {
  background-color: #d32f2f;
  color: #fff;
}

.pizza {
  background-color: #f8efef;
}

.pizza::before {
  background-color: #d32f2f;
}

.pizza h3.active {
  background-color: #d32f2f;
}


#menu-antipasti {
  border-left: 4px solid #e9c46a;
  background-color: #efebe0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.menu-category h3#menu-antipasti.active {
  background-color: #e9c46a;
}


#menu-primi {
  border-left: 4px solid #f4a261;
  background-color: #f3ede7;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.menu-category h3#menu-primi.active {
  background-color: #f4a261;
}

#menu-secondi {
  border-left: 4px solid #e76f51;
  background-color: #f1e5e3;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.menu-category h3#menu-secondi.active {
  background-color: #e76f51;
}

#menu-contorni {
  border-left: 4px solid #2a9d8f;
  background-color: #e6f2f1;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.menu-category h3#menu-contorni.active {
  background-color: #2a9d8f;
}

#menu-dessert {
  border-left: 4px solid #e63946;
  background-color: #f3eaea;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.menu-category h3#menu-dessert.active {
  background-color: #e63946;
}


#menu-vini {
  border-left: 4px solid #457b9d;
  background-color: #e9eff3;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.menu-category h3#menu-vini.active {
  background-color: #457b9d;
}

.menu-category ul li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed rgba(0,0,0,0.1);
  display: flex;
  flex-wrap: nowrap; /* Impedisce il wrapping dei flex items */
  justify-content: space-between;
  align-items: center;
}

.menu-category ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Stili per elementi del menu */
.dish-name { font-weight: bold; flex: 0 1 auto; font-size: 0.9em; margin-right: 10px;}
.dish-description {flex: 1 1 auto; color: #666; font-size: 0.9em;font-style: italic; margin: 0 10px; white-space: normal; line-height: 1 !important; /* Permette il wrapping del testo */}
.dish-price { font-weight: bold; color: #8c3a3a; flex: 0 0 auto; margin-left: 10px;}



/*** 4.3 Special Dishes - Piatti Speciali ***/






/* Simbolo euro davanti al prezzo */
.dish-price::before {
  content: '€';
  margin-right: 2px;
  display:none;
}

/* Colori specifici per ogni categoria */
.antipasti {
  background-color: #f8f5eb;
}
.antipasti::before {
  background-color: #e2b06c;
}
.antipasti h3.active {
  background-color: #e2b06c;
}

.primi {
  background-color: #f8f5eb;
}
.primi::before {
  background-color: #e28f45;
}
.primi h3.active {
  background-color: #e28f45;
}

.secondi {
  background-color: #f9efef;
}
.secondi::before {
  background-color: #c75e5e;
}
.secondi h3.active {
  background-color: #c75e5e;
}

.contorni {
  background-color: #eef7f5;
}
.contorni::before {
  background-color: #5ba891;
}
.contorni h3.active {
  background-color: #5ba891;
}

.dessert {
  background-color: #faf0f2;
}
.dessert::before {
  background-color: #d94e6b;
}
.dessert h3.active {
  background-color: #d94e6b;
}

.vini {
  background-color: #f3f1f8;
}
.vini::before {
  background-color: #7a6cad;
}
.vini h3.active {
  background-color: #7a6cad;
}




/*** 4.4 Gallery Section ***/
.gallery-section {
  padding: 4rem 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  border-top: 1px solid #bfa05530;
  background-color: #f9f7f247;
}

.gallery-section .container {
  width: 95%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 15px;
}

.gallery-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: #594a41;
}

.gallery-container {
  width: 100%;
  margin: 0 auto;
}

/* Layout principale con thumbnails e immagine grande */
.gallery-layout {
  display: flex;
  width: 95%;
  gap: 92px;
}

/* Thumbnails verticali a sinistra */
.thumbnail-slider-vertical {
  width: 15%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 70vh;
  overflow-y: auto;
  position: relative;
}

/* Linea decorativa a sinistra */
.thumbnail-slider-vertical::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 0;
  width: 5px;
  height: 100%;
  background-color: #e7a6049c;
  z-index: 1;
}

.thumbnail-item {
  width: 100%;
  height: 100px;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0.7;
  border: 2px solid transparent;
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-item:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Thumbnail selezionata */
.thumbnail-item.active {
  opacity: 1;
  border: 2px solid #d9940094;
}

/* Immagine principale a destra */
.featured-image {
  width: 85%;
  height: 70vh;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.featured-image .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Linea decorativa a destra */
.featured-image::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 0;
  width: 5px;
  height: 100%;
  background-color: #d9000d;
  z-index: 1;
}

/* Caption dell'immagine */
.image-caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  max-width: 80%;
  text-shadow: 1px 1px 3px rgba(244, 201, 109, 0.7);
  background-color: rgba(238, 226, 202, 0.612);
  padding: 15px;
  border-radius: 5px;
}

.image-caption h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.image-caption p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Pulsante fullscreen */
.fullscreen-btn {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.fullscreen-btn:hover {
  opacity: 1;
}

/* Layout alternativo a griglia per la galleria */
.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.row {
  display: flex;
  gap: 20px;
}

.row-top {
  height: 300px;
}

.row-bottom {
  height: 250px;
}

.gallery-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

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

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

/* Overlay per visualizzazione immagine a schermo intero */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.overlay img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close-icon {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

/*** 4.5 Contacts Section ***/

/*** 4.6 Events Section ***/
.events-section {
  border-top: 1px solid #bfa05547;
  width: 100%;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f3f0eb63;
}

.events-section .container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/****************************************************
 * 5. FORM DI CONTATTO
 ****************************************************/
.wpcf7-form {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.wpcf7-form p {
  margin-bottom: 20px;
}

/* Campi di input */
.wpcf7-form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  margin-top: 5px;
}

/* Pulsante di invio */
.wpcf7-submit {
  background-color: #ae7925e1;
  color: white;
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.wpcf7-submit:hover {
  background-color: #1e880c;
}

/****************************************************
 * 6. FOOTER
 ****************************************************/
.site-footer {
  background: rgb(48 48 46);
  color: #fbf7f0;
  padding: 40px 0 0 0;
  position: relative;
  z-index: 5;
  border-top: 1px solid #bfa05530;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1 1 300px;
}

.footer-column h3 {
  color: #43826e;
  font-size: 0.9em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

/* Linea sotto i titoli del footer */
.footer-column h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #594a41;
}

/* Informazioni di contatto */
.footer-address, 
.footer-phone, 
.footer-email {
  margin-bottom: 10px;
  display: inline-block;
}

.footer-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  position: relative;
  top: 3px;
}

/* Icone footer */
.location-icon {
  background: url('images/icon-location.png') no-repeat center center / contain;
}

.phone-icon {
  background: url('images/icon-phone.png') no-repeat center center / contain;
}

.email-icon {
  background: url('images/icon-email.png') no-repeat center center / contain;
}

/* Orari di apertura */
.day-category {
  font-weight: bold;
  color: #fbf7f0;
  display: inline-block;
  width: 139px;
}

.day-category.weekday {
  padding-left: 15px;
  width: 145px;
  color: #d3a05e;
}

/* Social icons */
.footer-social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.footer-social-icon {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.footer-social-icons a:hover .footer-social-icon {
  transform: translateY(-5px);
}

/* Quick links */
.quick-links-title {
  margin-top: 20px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: #fbf7f0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #f5b651;
  text-decoration: underline;
}

/* Copyright bar */
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 15px 0;
  margin-top: 30px;
  text-align: center;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 5px 0;
}

.footer-bottom a {
  color: #b06c08;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #f5b651;
  text-decoration: underline;
}

/****************************************************
 * 7. MEDIA QUERIES RESPONSIVE
 ****************************************************/

/*** Tablet grandi (max 992px) ***/
@media (max-width: 992px) {
  /* Slideshow più basso */
  .slideshow {
    height: 600px;
    margin-top:0;
  }
/* Media query per mobile */
.menu-categories {
  grid-template-columns: 1fr;
}

.menu-category h3 {
  font-size: 1.3em;
  padding: 15px 20px;
    
}


  /* Layout a 2 colonne per galleria */
  .row-top .gallery-item,
  .row-bottom .gallery-item {
    width: calc(50% - 5px);
  }
  
  /* Layout gallery invertito */
  .gallery-layout {
    flex-direction: column-reverse;
  }
  
  /* Thumbnails in orizzontale anziché verticale */
  .thumbnail-slider-vertical {
    width: 100%;
    max-height: none;
    flex-direction: row !important;
    overflow-x: auto;
    overflow-y: hidden;
  }
  
  /* Nascondi linee decorative */
  .thumbnail-slider-vertical::before {
    display: none;
  }
  
  .featured-image::after {
    display: none;
  }
  
  /* Dimensioni thumbnail */
  .thumbnail-item {
    flex: 0 0 120px;
    height: 80px;
  }
  
  /* Immagine principale */
  .featured-image {
    width: 100%;
    height: 50vh;
  }
  
  /* Testo più piccolo */
  .image-caption h3 {
    font-size: 2rem;
  }
}

/*** Tablet e Mobile () ***/

/* Correzione per topbar responsive */
@media (max-width: 1200px) {
  .reservation-link {
    margin-left: 0;
    margin-right: 15px;
  }
  
  .social-icons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
}

/* Questi stili definiscono il comportamento responsivo per tablet e smartphone */
@media (max-width: 768px) {

   /* Aggiungi container flessibile per la topbar */
   .top-bar .container {
    flex-wrap: wrap;
    justify-content: space-between;
  }
	.top-bar {
        background-color: #274e42;
    }
    .top-bar.scrolled {
        background-color: #274e42;
    }
  .contact-phone {
    flex: 0 0 100%;
    text-align: center;
    margin-bottom: 5px;
  }
  .social-icons {
    gap: 10px;
  }
  /* Menu navigazione mobile - stato default */
  .menu-nav {
    display: none;
    width: 36%;
    position: relative;
    top: 100%;
    left: 0;
    background-color: #fbf7f0b8;
    z-index: 1000;
  }
  
  /* Menu aperto mobile - fullscreen */
  .menu-nav.active {
    display: block;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    /*height: 66vh; */
    background-color: #fbf7f0;
    z-index: 1001;
    padding-top: 80px; /* Spazio per il pulsante di chiusura */
    overflow-y: auto;
    border-bottom: 1px solid rgb(48 48 46 / 14%);  
    
  }
  
  /* Layout verticale menu mobile */
  .menu-nav ul {
    flex-direction: column;
  }
  
  .menu-nav ul li {
    margin: 10px 23px;
  }
  
  /* Stile menu quando è scrollato */
  .navbar.scrolled .menu-nav ul {
    background-color: #fbf7f0;
  }
/* Stile menu quando è scrollato */
  .navbar.scrolled .logo a, .navbar.scrolled .menu-nav ul li a {
    color: rgb(75 75 55);
    font-size: 0.9em;
      
}
  
  /* Logo e testo mobile */
  .navbar .logo a {
    
	margin-left:-85px;  
  }
  
  .menu-nav ul li a {
    font-size: 0.9em;
  }
  
  .navbar.scrolled {
    background-color: #325a4d;
  }
  
/*  logo */
img.site-logo {
    height: 63px;
}	
	
  /* Menu toggle pulsante hamburger */
  .menu-toggle {
    display: block !important;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1002;
  }
  
  /* Stile X quando menu è aperto */
  .menu-toggle.active .hamburger,
  .menu-toggle.active .hamburger::before,
  .menu-toggle.active .hamburger::after {
    background-color: #a84601;
    width: 30px;
  }
  
  /* Migliorare contrasto X */
  .menu-toggle.active .hamburger::before,
  .menu-toggle.active .hamburger::after {
    height: 4px;
  }
  
  /* Link menu quando aperto */
  .menu-nav.active ul li a {
    font-size: 1.2em;
    padding: 0 0;
    display: block;
     font-weight: 600;
     color: rgb(75 75 55);
  }
  
  /* Centrare elementi menu */
  .menu-nav.active ul {
    text-align: center;
  }
  
  /* Spazio tra elementi menu */
  .menu-nav.active ul li {
    margin: 10px 0;
  }
  
  /* Nascondere logo quando menu aperto */
  .menu-nav.active ~ .container .logo,
  .menu-toggle.active ~ .container .logo {
    display: none;
  }
  
  /* Adattamenti slideshow */
  .slideshow {
    height: 500px;
    margin-top:0;
  }


  .slideshow-nav .prev, 
  .slideshow-nav .next {
    font-size: 1.5em;
    padding: 10px;
    width: 40px;
    height: 40px;
  }
	
 /*  content slide show*/
	.slide-content {
		top: 61%;
		
	}
/*      */
	
.slide-content h1 {
	font-size: 1.6em;
	}
.slide-content p {
font-size: 1em;		
		
	}  
  /* Adattamenti form */
  .wpcf7-form {
    padding: 20px;
  }
  
  .wpcf7-form-control {
    font-size: 14px;
  }
  
  /* Adattamenti bottone prenotazione */
  .reservation-link {
    margin-left: 0 !important;
    font-size: 16px;
    padding: 3px 8px;
  }
  
  /* Adattamenti gallery e griglia */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
    gap: 20px;
  }
  
  /* Adattamenti footer */
  .footer-content {
    flex-direction: column;
  }
  
  .footer-column {
    flex: 1 1 100%;
      font-size: 0.9em;
  }
  
  .footer-bottom .container {
    flex-direction: column;
  }

	/*chi siamo */
.about-text p {
    font-size: 0.8em;
	font-family: cursive;
      }
.about-image img {
height:420px;		
	}
}



/* Extra small devices mobile (phones, 600px and down) */


@media (max-width: 480px) { 
	
	/*  logo */
	
img.site-logo{
		height: 50px;
	}

	/*content slideshow*/

.slide-content {
        top: 63%;
	    padding: 6px;
    }
.slide-content {
        top: 63%;
    }

 .slide-content p {
        font-size: 0.9em;
    }
h3#dish-title {
    font-size: 1rem;
}	
p#dish-description {
    font-size: 0.7rem;
}		
	
.slide {
background-position: left center;
background-size: cover;
    }
/* chi siamo  */	
.about-image img {
    height: 265px;
	width:91%;
	 display: block;
    margin: 0 auto;
	
}
	
	
}



.grande {
        font-size: 14px; 
        font-weight: bold; 
        color: #b22222; 
    }


/* other section */ 


/*** Tradizione Toscana Section ***/
/*** Tradizione Toscana Section ***/
.tradition-section {
  padding: 60px 0;
  background-color: #f9f7f2;
  position: relative;
  border-top: 1px solid #bfa05547;
  z-index: 5;
}

.tradition-section h2 {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #b77c2f;
  font-family: 'Playfair Display', serif;
}

.tradition-content {
  display: flex;
  flex-wrap: wrap;
  background-color: transparent; /* Cambiato da #ffffff a transparent */
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.tradition-image {
  flex: 1 1 45%;
  min-height: 400px;
  background-color: #f5f5f5; /* Aggiunto sfondo grigio chiaro per l'area immagine */
  position: relative; /* Assicura che l'immagine rimanga nel suo contenitore */
}

.tradition-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
	transform: rotate(2deg);
}

.tradition-text {
	border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  background-color: #ededed;
  flex: 1 1 55%;
  padding: 40px 60px; 
  font-size: 1.1em;
  line-height: 1.7;
  color: #3c3c3a;
  border-left: 58px solid #f1eee7;
}

.tradition-text p:first-of-type {
  font-size: 1.3em;
  color: #666;
  font-style: italic;
  margin-bottom: 20px;
  font-weight: 300;
}

.tradition-title {
  color: #b77c2f;
  font-size: 1.2em;
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
}

.tradition-subtitle {
  color: #777;
  font-size: 1.3em;
  margin-bottom: 30px;
  font-weight: 300;
}

.tradition-quote {
  padding-left: 20px;
  border-left: 3px solid #ccc;
  font-style: italic;
  margin: 20px 0;
}

.tradition-signature {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #999;
  font-size: 1.4em;
  text-align: right;
  margin-top: 20px;
}

/* Responsive per mobile */
@media (max-width: 992px) {
  .tradition-content {
    flex-direction: column;
  }
  
  .tradition-image {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .tradition-text {
    padding: 25px;
	border-left: 0px;
  }
}

/* fine other section */ 









