body {
    background-color: #1b3847;
    overflow-x: hidden;
}

.poppins-regular {
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
}
  
.poppins-bold {
    font-family: "Poppins", serif;
    font-weight: 700;
    font-style: normal;
}

.poppins-extrabold {
    font-family: "Poppins", serif;
    font-weight: 800;
    font-style: normal;
}


.raleway-regular {
    font-family: "Raleway", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.raleway-bold {
    font-family: "Raleway", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}



.dancing-bold {
    font-family: "Dancing Script", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 50px;
}

.dancing-bold-pc {
    font-family: "Dancing Script", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 80px;
}


.color-main {
    background-color: #1b3847;
}
.logo-dim-pc {
    width: 170px;
}


/* header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    /* background-color: rgba(255, 255, 255, 0.1); */
    backdrop-filter: blur(8px);
    transition: all 0.3s ease-in-out;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
header.transparent {
    background-color: transparent;
}  
.transparent {
    background-color: transparent;
}
.scrolled {
    background-color: #1b3847 !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.dropstart .dropdown-toggle::before {
    color: #fff;
    display: none;
}

/* sfondo opaco per banner */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    z-index: 1;
  }
  
.btn-custom {
    background-color: #ff5221;
    text-decoration: none;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 50px;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-custom:hover {
    background-color: #1b3847;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* navigation icons */
.nav-icons {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 0px;
    z-index: 1000;
    background-color: #ff5221;
}
.nav-icons a {
    display: block;
    margin-bottom: 15px;
    color: #000;
    font-size: 24px;
    text-decoration: none;
}
  
/* recensioni */
.review-container {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.star-rating {
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.star-full {
    color: #ffc107;
}

.star-empty {
    color: #ddd;
}
.progress-bar {
    background-color: #ffc107 !important; 
}


/* mappa */
.responsive-iframe {
    width: 100%;
    height: 500px;
    border: 0;
}

/* photo gallery */
.image-wrapper {
    position: relative;
    overflow: hidden;
}
  
.zoom {
    display: block;
    transition: transform 1s ease;
}
  
.zoom:hover {
    transform: scale(1.1); 
}
  



/* menu.html */
.spacing {
    width: 100%;
    height: 100px;
}

.titoli-menu {
    color: #fff;
}
.category-icon {
    width: 32px;
}
/* accordion */
.accordion-item {
    background: transparent;
    border-left: none;
    border-right: none;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}
.accordion-button {
    background: transparent;
    color: #fff;
    border: none;
    box-shadow: none;
}
.accordion-button:focus,
.accordion-button:not(.collapsed) {
    background: transparent;
    color: #fff;
    box-shadow: none;
}
.accordion-button::after {
    filter: invert(1);
}
/* wishlist.html */

/* serve per dare spazio in caso non ci fossero card dei sushi nella pagina */
.main {
    min-height: calc(100vh - 62px);
}
@media screen and (max-width: 576px) {
    .main {
    min-height: calc(100vh - 103px);
}
}

.circle-logout {
    position: fixed !important;
    bottom: 20px !important;
    right: 5px !important;
    z-index: 1050; /* assicurati che stia sopra altri elementi */
}

/* section registrati e login */
.logo-section {
    width: 65px;
}
.card {
    border-radius: 16px;
}
.login-image {
    border-radius: 16px 0 0 16px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.login-section button {
    background-color: #ff5221;
    text-decoration: none;
    border: none;
}
.login-section button:hover {
    background-color: #1b3847;
}
.form-title {
    letter-spacing: 1px;
    color: #cea56b;
}
.form-footer button {
    background: none;
    color: #0d6efd;
    text-decoration: none;
    text-decoration: underline;
}
.form-footer button:hover {
    background: none;
    color: #0d6efd;
    text-decoration: none;
    text-decoration: underline;
}
/* Stili per la Modal */
.modal {
    display: none; /* di default è nascosta */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Sfondo semitrasparente con effetto blur */
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    z-index: 1050;
    justify-content: center;
    align-items: center;
}
  
/* La classe active visualizza la modal come flex */
.modal.active {
    display: flex;
}
  
.modal-content {
    position: relative;
    background: #fff; /* Personalizza lo sfondo della modal */
    border-radius: 16px;
    overflow: hidden;
    width: 90%;
    max-width: 900px;
}

.dim {
    font-size: 11px;
}


.custom-tooltip {
    position: relative;
}
  /* Pseudo-elemento per il contenuto del tooltip */
.custom-tooltip::before {
    content: attr(data-title);  /* Usa l'attributo "data-title" per il testo del tooltip */
    position: absolute;
    right: 100%;               /* Posiziona il tooltip a sinistra dell'elemento */
    top: 50%;
    transform: translate(-5px, -50%);  /* Sposta leggermente il tooltip per creare spazio */
    background-color: #ff5221;
    color: #fff;
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
    padding: 5px 10px;
    border-radius: 4px;
    /* white-space: nowrap; */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 10;
  }
  /* Pseudo-elemento per la freccia del tooltip */
.custom-tooltip::after {
    content: "";
    position: absolute;
    /* right: calc(100% - 5px);  /* Posiziona la freccia al bordo destro del tooltip */
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent rgba(0, 0, 0, 0.8) transparent transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
/* Mostra tooltip e freccia al passaggio del mouse */
.custom-tooltip:hover::before {
    opacity: 1;
}

/* animazione per le freccie che invitano allo scroll */
.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%); 
}

.scroll-svg {
    display: block;
    animation: scrollDown 1.5s infinite;
}

  @keyframes scrollDown {
    0% {
      transform: translateY(0);
      opacity: 1;
    }
    50% {
      transform: translateY(10px);
      opacity: 0.5;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
}

.custom-counter {
    background-color: #ff0000; /* rosso puro */
    color: #fff;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    border-radius: 10px; /* mantiene la forma rotonda */
}

.bacchetta {
    width: 220px;
    position: absolute;
}
.bacchetta:first-child {
    transform: rotate(-10deg) translateY(-4px) translateX(20px);
    transform-origin: left;
}
.bacchetta:last-child {
    transform: rotate(10deg) translateY(-10.5px) translateX(20px);
    transform-origin: left;
}