
:root {
  --color-tema: #fe322a; /* colore tema */
}

body {
  font-family: "Lato", sans-serif;
}

.cover {
    width: 100%;
    height: 150px;
    margin-bottom: 10px;
    margin-top:100px ;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Style the sidenav links and the dropdown button */
.dropdown-btn {
  padding: 5px;
  text-decoration: none;
  color: var(--color-tema);
  display: block;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
}
.categoria {
    font-size: 21px;
}

/* Add an active class to the active dropdown button */
.active {
  background-color: var(--color-tema);
  color:#FFF;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
  display: none;
  background-color: #FFF;
  cursor: pointer;
  width: 100%;
}

img{
    margin: 10px;
}
.title{
   color: #ffffff; 
   font-size: clamp(20px, 2vw, 36px);
   font-weight: 700;
}

.sidenav {
  width:100%;
  height:100%;
  position: relative;
  top: 0;
  left: 0;
  background-color: #FFF;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0px;
}
.card{
    margin-bottom: 10px;
    margin-left: -10px;
    margin-right:-10px;
}

.menu-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-tema);
}

.menu-price{
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px; 
}

.close-btn {
  bottom: 10px;
  display: none;
  right: 0px;   /* oppure left/center */
  background-color: var(--color-tema);
  color: #fff;
  border: 1px solid #FFF;
  border-radius: 25px;
  padding: 5px 5px;
  cursor: pointer;
}

.close-btn:hover {
  background-color: var(--color-tema);
}

  .card.offerta {
    border: 2px solid gold;       /* bordo dorato */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(218,165,32,0.5); /* effetto glow dorato */
  }
  .card.offerta .card-title {
    color: goldenrod;             /* titolo dorato */
  }
  .card.offerta h1{
      padding: 5px;
      font-size: 40px;
      margin-top: 10px;
      color: goldenrod; 
  }
  .bg-tema{
      background-color:var(--color-tema) ;
  }

#loading {
  position: fixed;   
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-tema);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#loading p{
      font-size: 0.6rem;
    color: #FFF;
}

#spinner {
  width: 30px;
  height: 30px;
  border: 2px solid #FFF;
  border-top-color:var(--color-tema) ;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: auto;
  margin-bottom: 15px; /* spazio sopra al testo */
}

#loading-footer {
  margin-top: auto;
  text-align: center;
    justify-content: center;
  align-items: center;
  padding: 20px;
}

#loading .footer-img {
  display: block;
  margin-top:  auto;
  width: 65px;
  height: auto;
}

#loading .saluto {
  font-family: "Great Vibes", cursive;
  font-size: 1.2rem;
  color: #FFF;
  margin: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.allergeni img.allergene-icon {
  width: 50px;
  height: 50px;
  margin-right: 5px;
}


.gallery-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 50px;
  box-sizing: border-box;
  scroll-behavior: smooth;
  /* opzionale: barra scrollbar più sottile */
  scrollbar-width: thin;              /* Firefox */
}

/* WebKit (Chrome, Edge, Safari) */
.gallery-wrapper::-webkit-scrollbar {
  height: 8px;
}

.gallery-wrapper::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.gallery-wrapper::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}}

.gallery-container {
  width: 100%;
  margin-bottom: 20px;
}

.gallery-title {
  font-size: 22px;
  padding: 10px;
  font-weight: 600;
  margin: 0 0 10px 5px;
  color: #333;
  font-family: sans-serif;
}
.gallery-title-camera {
  font-size: 40px;
  padding: 10px;
  font-weight: 600;
  margin: 0 0 10px 5px;
  color: #333;
  font-family: sans-serif;
}

/* Wrapper con scroll orizzontale */
.gallery-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 10px;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

/* Scrollbar WebKit */
.gallery-wrapper::-webkit-scrollbar {
  height: 8px;
}

.gallery-wrapper::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.gallery-wrapper::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}

.gallery {
  display: inline-flex;
  gap: 10px;
}

/* Immagini con larghezze variabili */
.gallery img {
  height: 250px;
  width: auto;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

/* Effetto hover */
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  filter: brightness(1.05);
}


