@media (min-width: 1200px) {
  .container {
    max-width: 1250px;
  }
}

/************************HERO*****************/
.hero-en {
  margin-top: 8rem !important;
}

.title_hero-en {
  font-family: "the-seasons", serif;
  font-size: 60px;
  color: #1c4845;
  margin-bottom: 0;
  line-height: 60px;
}

.subtitle_hero-en {
  font-size: 1rem;
  font-weight: 400;
}

@media (max-width: 480px) {
  .hero-en {
    margin-top: 6.5rem !important;
  }

  .title_hero-en {
    font-size: 40px;
    line-height: 45px;
  }

  .subtitle_hero-en {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1rem;
  }
}

.img-hero-en {
  margin-top: 1.5rem;
}

.img-hero-en img {
  width: 100%;
  height: 65vh;
  object-fit: cover;
  object-position: center;
}

/************************AUTHENTIC*****************/

/************************GALLERY*****************/

.green-section {
  background-color: #1c4845;
  padding: 2rem 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 10px;
}

.item1 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.item2 {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}
.item3 {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}
.item4 {
  grid-column: 1 / 2;
  grid-row: 2 / 4;
}
.item5 {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
}
.item6 {
  grid-column: 3 / 4;
  grid-row: 2 / 4;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.photo-grid .item {
  overflow: hidden;
}

.photo-grid .item:hover img {
  transform: scale(1.1);
}

@media (max-width: 1024px) {
  .photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
    gap: 15px;
  }

  /* Reset posizioni: ogni item prende una riga */
  .item1,
  .item2,
  .item3,
  .item4,
  .item5,
  .item6 {
    grid-column: auto;
    grid-row: auto;
  }
}

.title-en-gallery {
  font-family: "the-seasons", serif;
  color: white;
  font-size: 40px;
}

.subtitle-en-gallery {
  font-family: "Pinyon Script", serif;
  font-size: 35px;
  position: relative;
  color: white;
}

.subtitle-position-gallery {
  position: absolute;
  top: -1.1rem;
  left: 13rem;
  right: 0;
  text-align: center;
}

.text-gallery {
  font-size: 16px;
  color: white;
}

@media (max-width: 1025px) {
  .subtitle-position-gallery {
    position: absolute;
    top: -1.1rem;
    left: 8rem;
    right: 0;
    text-align: center;
  }

  .text-gallery {
    font-size: 16px;
    color: white;
  }
}

@media (max-width: 480px) {
  .title-en-gallery {
    font-size: 30px;
    line-height: 40px;
  }
  .subtitle-en-gallery {
    font-size: 25px;
    line-height: 30px;
  }

  .subtitle-position-gallery {
    top: -0.8rem;
    left: 2rem;
  }
}

/************************HOW IT WORKS*****************/

.title-en {
  font-family: "the-seasons", serif;
  color: #1c4845;
  font-size: 60px;
}

.subtitle-en {
  font-family: "Pinyon Script", serif;
  font-size: 40px;
  position: relative;
}

.subtitle-position {
  position: absolute;
  top: -2.2rem;
  left: 13rem;
  right: 0;
  text-align: center;
}

.fiore {
  position: absolute;
  bottom: 35%;
  right: -22%;
  width: 50%;
  z-index: -1;
}

.fiore-2 {
  position: absolute;
  bottom: 5%;
  left: -25%;
  width: 50%;
}

@media (max-width: 540px) {
  .fiore {
    position: absolute;
    bottom: 46%;
    right: -35%;
    width: 100%;
    z-index: -1;
  }

  .fiore-2 {
    position: absolute;
    bottom: 5%;
    left: -35%;
    width: 100%;
  }
}

@media (max-width: 825px) {
  .title-en {
    font-size: 60px;
  }
  .subtitle-en {
    font-size: 40px;
  }

  .subtitle-position {
    top: -1.6rem;
    left: 2rem;
  }
}

@media (max-width: 680px) {
  .title-en {
    font-size: 40px;
  }
  .subtitle-en {
    font-size: 30px;
  }

  .subtitle-position {
    top: -1.2rem;
    left: 2rem;
  }
}

@media (max-width: 480px) {
  .title-en {
    font-size: 40px;
    line-height: 40px;
  }
  .subtitle-en {
    font-size: 30px;
    line-height: 30px;
  }

  .subtitle-position {
    top: 0.5rem;
    left: 0;
  }
}

.how-it-works {
  height: auto;
  max-width: 960px;
  margin: 0 auto;
}

.how-it-works-sx {
  position: relative;
  border-right: 1px solid black;
}

.dot {
  position: absolute;
  right: -6px;
  width: 10px;
  height: 10px;
  background-color: black;
  border-radius: 50%;
}

.dot-1 {
  top: 8%;
}
.dot-2 {
  top: 33%;
}
.dot-3 {
  top: 56%;
}
.dot-4 {
  top: 80%;
}

.box-work {
  width: auto;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 2rem;
  margin-bottom: 4rem;
}

.number {
  font-size: 2.5rem;
}

.width-box-work {
  max-width: 350px;
}

.title-box {
  font-family: "the-seasons", serif;
  font-size: 1.8rem;
  line-height: 1.8rem;
  margin-bottom: 1rem !important;
}

.subtitle-box {
  font-size: 1rem;
  line-height: 1rem;
}

.box-work-img {
  width: auto;
  height: 200px;
  margin-bottom: 4rem;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.img-a {
  background-image: url("Simone-Rossetto-Private-Chef-Image/Your_Private_chef_\ Journey1.webp");
  background-position: center;
  background-size: cover;
}

.img-b {
  background-image: url("Simone-Rossetto-Private-Chef-Image/Your_Private_chef_\ Journey2.webp");
  background-position: center;
  background-size: cover;
}

.img-c {
  background-image: url("Simone-Rossetto-Private-Chef-Image/Your_Private_chef_\ Journey3.webp");
  background-position: center;
  background-size: cover;
}

.img-d {
  background-image: url("Simone-Rossetto-Private-Chef-Image/Your_Private_chef_\ Journey4.webp");
  background-position: center;
  background-size: cover;
}

.img-e {
  background-image: url("Simone-Rossetto-Private-Chef-Image/beyond-the-kitchen-1.webp");
  background-position: center;
  background-size: cover;
}

.img-f {
  background-image: url("Simone-Rossetto-Private-Chef-Image/beyond-the-kitchen-2.webp");
  background-position: center;
  background-size: cover;
}

.img-g {
  background-image: url("Simone-Rossetto-Private-Chef-Image/beyond-the-kitchen-3.webp");
  background-position: center;
  background-size: cover;
}

.box-work-dx {
  width: auto;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 780px) {
  .box-work {
    padding: 0;
  }

  .box-work-dx {
    padding: 0;
  }

  .subtitle-box {
    font-size: 0.9rem;
  }
}

.box-work-img-mobile {
  width: auto;
  height: 200px;
  margin-bottom: 2rem;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

@media (max-width: 780px) {
  .dot {
    display: none;
  }
  .how-it-works-sx {
    position: relative;
    border-left: 1px solid black;
    border-right: none;
  }
}

/************************LOGHI*****************/

.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-track {
  display: flex;
  width: calc(220px * 22);
  animation: scroll 45s linear infinite;
}

.logo-slider img {
  width: 90px;
  height: 60px;
  margin: 0 20px;
  object-fit: contain;
  object-position: center;
  transition: all 0.3s ease;
  background-color: transparent;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .logo-track {
    animation-duration: 60s;
  }
}

@media (max-width: 480px) {
  .logo-slider img {
    width: 90px;
    height: 60px;
    margin: 0 8px;
  }
}

/************************EXPERIENCE*****************/
.title-experience {
  font-family: "the-seasons", serif;
  color: #1c4845;
  font-size: 60px;
}

.subtitle-experience {
  font-family: "Pinyon Script", serif;
  font-size: 40px;
  position: relative;
}

.subtitle-position-experience {
  position: absolute;
  top: -1.8rem; /* Sposta verso l'alto */
  left: 14rem;
  right: 0;
}

@media (max-width: 825px) {
  .title-experience {
    font-size: 60px;
  }
  .subtitle-experience {
    font-size: 40px;
  }

  .subtitle-position-experience {
    top: -1.6rem;
    left: 15rem;
  }
}

@media (max-width: 680px) {
  .title-experience {
    font-size: 40px;
  }
  .subtitle-experience {
    font-size: 30px;
  }

  .subtitle-position-experience {
    top: -1.4rem;
    left: 12rem;
  }
}

@media (max-width: 480px) {
  .title-experience {
    font-size: 40px;
    line-height: 2.5rem;
  }
  .subtitle-experience {
    font-size: 30px;
  }

  .subtitle-position-experience {
    top: -3px;
    left: 1rem;
    line-height: 25px !important;
  }
}

.menu-box {
  max-width: 250px;
  background-color: #1c4845;
  color: white;
  padding: 18px 10px;
  cursor: pointer;
  margin-bottom: 10px;
  text-align: center;
  font-family: "the-seasons", serif;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.menu-box:hover,
.menu-box.active {
  background-color: #1e5c57;
}

.image-wrapper {
  width: 350px;
  height: 420px;
  overflow: hidden;
}

@media (max-width: 480px) {
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-overlay {
  position: absolute;
  bottom: 3%;
  right: 1%;
  padding: 15px 20px;
  font-family: "the-seasons", serif;
  max-width: 50%;
}

@media (max-width: 1100px) {
  .menu-box {
    max-width: 220px;
    padding: 10px;
    font-size: 1rem;
  }

  .text-overlay {
    line-height: 1.3rem;
    max-width: 40%;
    right: 0;
  }
}

@media (max-width: 990px) {
  .image-wrapper {
    width: 300px;
    height: 400px;
    overflow: hidden;
  }

  .text-overlay {
    line-height: 1.3rem;
    max-width: 60%;
    right: -10rem;
    text-align: start;
    bottom: 1%;
  }
}

@media (max-width: 640px) {
  .custom-menu-layout .row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .custom-menu-layout .col-sm-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .custom-menu-layout .menu-box {
    margin-bottom: 10px;
    text-align: center;
    width: 190px;
  }

  .menu-box {
    font-size: 0.8rem;
  }

  .custom-menu-layout .col-sm-6 {
    width: 100%;
  }

  .custom-menu-layout .image-wrapper {
    width: 100%;
    height: auto;
    margin-top: 20px;
    position: relative;
  }

  .custom-menu-layout .image-wrapper img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
  }

  .custom-menu-layout .text-overlay {
    position: static;
    padding: 15px 10px;
    max-width: 100%;
    text-align: left;
    font-size: 1rem;
    line-height: 1.4rem;
  }
}

@media (max-width: 540px) {
  .custom-menu-layout .row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Forza l’ordine: 1 pulsanti, 2 testo, 3 immagine */
  .custom-menu-layout .col-sm-4 {
    order: 1;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  /* Sposta la descrizione sotto i bottoni e sopra l’immagine */
  .custom-menu-layout #description {
    order: 2;
    position: static !important;
    padding: 15px 15px;
    text-align: left;
    max-width: 100%;
  }

  /* L’immagine va in fondo */
  .custom-menu-layout .image-wrapper {
    order: 3;
    width: 100%;
    height: auto;
    margin-top: 10px;
  }

  .custom-menu-layout .image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

@media (max-width: 399px) {
  .custom-menu-layout .menu-box {
    width: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.fiore-3 {
  position: absolute;
  bottom: -10%;
  right: -25%;
  width: 60%;
  z-index: -1;
}

@media (max-width: 1100px) {
  .fiore-3 {
    display: none;
  }
}

/************************ REVIEW *****************/

@media (min-width: 1100px) {
  .box-review {
    max-width: 540px !important;
    margin: 2rem 1rem;
    height: 280px;
  }
}

/************************ FAQ *****************/
.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  background-color: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.accordion-button {
  background-color: #fff;
  border: none;
  border-radius: 0.5rem;
  box-shadow: none;
  font-weight: 500;
  color: #000;
}

/* Rimuove hover/focus strani */
.accordion-button:not(.collapsed),
.accordion-button:focus {
  background-color: #fff;
  color: #000;
  box-shadow: none;
}

/* Icona + personalizzata */
.accordion-button::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 700;
  transform: none !important;
  background-image: none !important;
}

.accordion-button:not(.collapsed)::after {
  content: "-";
}

/************************ LUXURY MENU *****************/
.card-gallery {
  width: 60%;
  margin: 0 auto;
}

.text-gallery-1 {
  max-width: 640px;
}

/************************ ABOUT ME *****************/
.text-about {
  line-height: 20px;
}
