/* ==========================================================================
   HOME
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero con slideshow
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  overflow: hidden;
  z-index: 1;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .5s linear;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Ken Burns: zoom-out lento */
  transform: scale(1.3);
  transition: transform 10s linear;
}

.hero__slide.is-active img {
  transform: scale(1);
}

/* Velo scuro sfumato */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(180deg, var(--c-black) 53%, #0E0C0CFC 100%);
  opacity: .75;
}

/* Ovale centrale */
.hero__oval {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 830px;
  max-width: 100%;
  min-height: 450px;
  padding-top: 20px;
  border: 1px solid #DCA26B4A;
  border-radius: 50%;
  background-color: #8B322461;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  text-align: center;
}

.hero__kicker {
  margin-left: 4px;
  color: var(--c-cream);
  font-family: var(--f-serif);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.hero__title {
  color: var(--c-cream);
  font-family: var(--f-hero);
  font-size: 200px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  text-transform: none;
}

@media (max-width: 1024px) {
  .hero {
    min-height: 901px;
  }

  .hero__oval {
    width: 700px;
    min-height: 480px;
  }

  .hero__title {
    font-size: 180px;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 90vh;
    padding-inline: 5px;
  }

  .hero__slide img {
    object-position: bottom center;
  }

  .hero__oval {
    width: 100%;
    min-height: 450px;
    padding: 0;
  }

  .hero__kicker {
    margin-left: 0;
    font-size: 15px;
  }

  .hero__title {
    font-size: 125px;
  }
}

/* --------------------------------------------------------------------------
   2. Il Ristorante
   -------------------------------------------------------------------------- */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 60px 0 130px;
  background-color: var(--c-peach);
  background-image: url("../../img/bg/skyline-bologna-desktop.webp");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
}

.about__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding-inline: var(--gutter);
}

.about__lead {
  width: 60%;
  color: #000;
  text-align: center;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 80%;
  margin-top: 10px;
}

.about__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.about__photo {
  width: 80%;
  border: 5px solid var(--c-frame);
  box-shadow: var(--shadow-soft);
  filter: brightness(102%) contrast(77%) saturate(137%);
}

.about__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
}

.about__claim {
  color: var(--c-primary);
}

.about__body {
  color: var(--c-black);
}

/* Badge Google / Facebook / Instagram */
.badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  margin-top: 30px;
}

.badges a {
  display: block;
  transition: transform .3s var(--ease);
}

.badges a:hover {
  transform: translateY(-2px);
}

.badges__google img {
  width: 100px;
  filter: brightness(107%) contrast(122%) saturate(51%);
}

.badges__facebook img {
  width: 42px;
  filter: brightness(67%) contrast(66%) saturate(84%) hue-rotate(26deg);
}

.badges__instagram img {
  width: 42px;
  filter: brightness(103%) contrast(88%) saturate(95%) hue-rotate(350deg);
}

@media (max-width: 1024px) {
  .about {
    min-height: 90vh;
    justify-content: center;
    padding: 60px 0 160px;
    background-image: url("../../img/bg/skyline-bologna-tablet.webp");
    background-position: center center;
    background-size: contain;
  }

  .about__lead {
    width: 90%;
  }

  .about__grid {
    width: 90%;
    margin-top: -20px;
  }

  .about__photo {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .about {
    padding: 30px 0 230px;
    background-image: url("../../img/bg/skyline-bologna-mobile.webp");
    background-position: bottom center;
    background-size: cover;
  }

  .about__lead {
    width: 100%;
  }

  .about__grid {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: -10px;
  }

  .badges {
    margin-top: 20px;
    padding-inline: 15%;
  }

  .badges__google img {
    width: 70px;
  }

  .badges__facebook img,
  .badges__instagram img {
    width: 42px;
  }
}

/* --------------------------------------------------------------------------
   3. Il Menu' (tab + flipbook)
   -------------------------------------------------------------------------- */
.menu-preview {
  padding: 30px 0 50px;
}

.menu-preview .frame-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.menu-preview__title {
  margin-top: 30px;
}

.menu-preview__lead {
  color: var(--c-black);
}

@media (max-width: 1024px) {
  .menu-preview {
    padding: 30px 40px 40px;
  }

  .menu-preview__lead {
    max-width: 75%;
  }
}

@media (max-width: 767px) {
  .menu-preview {
    padding: 30px 15px 40px;
  }

  .menu-preview__title {
    font-size: 50px;
  }

  .menu-preview__lead {
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   4. Prenota Ora (modulo veloce)
   -------------------------------------------------------------------------- */
.quick-booking {
  display: flex;
  align-items: center;
  min-height: 55vh;
  padding: 40px 0 90px;
}

.quick-booking__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}

.quick-booking__lead {
  color: var(--c-cream);
}

.quick-booking .form {
  width: 100%;
  margin-top: 10px;
  text-align: left;
}

@media (max-width: 1024px) {
  .quick-booking {
    padding: 40px 60px 90px;
  }
}

@media (max-width: 767px) {
  .quick-booking {
    padding: 60px 30px 110px;
  }
}

/* --------------------------------------------------------------------------
   5. I Nostri Piatti
   -------------------------------------------------------------------------- */
.dishes {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 60px 0;
  background-color: var(--c-peach);
}

.dishes__head {
  width: 100%;
  max-width: var(--container);
  padding: 10px;
}

.dishes__title {
  text-align: left;
}

.dishes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 0;
  width: 85%;
  margin-top: 40px;
}

.dishes__grid > :nth-child(1) { margin-right: 20px; }
.dishes__grid > :nth-child(2) { margin-inline: 10px; }
.dishes__grid > :nth-child(3) { margin-left: 20px; }
.dishes__grid > :nth-child(4) { grid-column: 2; margin-inline: 10px; }

.dish {
  display: flex;
  flex-direction: column;
}

.dish__media {
  overflow: hidden;
  border: 5px solid var(--c-frame-dish);
}

.dish__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.dish:hover .dish__media img {
  transform: scale(1.1);
}

.dish__body {
  width: 83.462%;
  padding: 25px 10px 30px;
}

.dish__name {
  margin-bottom: 8px;
  padding-right: 20px;
  color: var(--c-primary);
  font-family: var(--f-serif);
  font-size: var(--fs-item);
  font-weight: 700;
  letter-spacing: .6px;
  line-height: 1.3;
  text-transform: none;
}

.dish__desc {
  color: #000;
}

@media (max-width: 1024px) {
  .dishes__grid {
    width: 95%;
    padding: 0 20px 40px;
  }

  .dish__body {
    width: 100%;
    padding-inline: 4px;
  }

  .dish__name {
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .dishes {
    padding: 100px 0;
  }

  .dishes__title {
    text-align: center;
  }

  .dishes__grid {
    grid-template-columns: 1fr;
    padding: 0 30px 30px;
  }

  .dishes__grid > * {
    grid-column: auto !important;
    margin: 0 !important;
  }

  .dish__body {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   6. I nostri Ristoranti
   -------------------------------------------------------------------------- */
.partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0 0 60px;
}

.partners__head {
  width: 70%;
  max-width: var(--container);
  margin-top: 40px;
  padding: 10px;
  text-align: center;
}

.partners__lead {
  margin-top: 20px;
  color: var(--c-cream);
}

.partners__band {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin-top: 30px;
  padding: 10px 0;
}

.partners__band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../../img/bg/tovaglia-rossa.webp") center / cover no-repeat;
  opacity: .1;
  mix-blend-mode: luminosity;
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 80%;
  margin-inline: auto;
}

.partner {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 60vh;
  padding: 30px;
  overflow: hidden;
  border: 8px solid var(--c-cream);
  border-color: rgba(229, 207, 189, .75);
  text-align: center;
}

.partner__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #000;
  opacity: .55;
}

.partner__logo--finestrella {
  width: min(100%, 320px);
}

.partner__logo--victoria {
  width: 113px;
}

.partner__name {
  color: var(--c-white);
  font-family: "Cantarell", var(--f-body);
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.1;
}

.partner__actions {
  display: flex;
  justify-content: space-around;
  gap: 5px;
  width: 100%;
  margin-top: 20px;
}

.partner__address {
  margin-top: 10px;
  color: var(--c-grey);
  font-family: var(--f-serif);
  font-size: 16px;
  letter-spacing: .5px;
}

.partner__address a {
  color: var(--c-cream);
}

.partner__address a:hover {
  color: var(--c-secondary);
}

@media (max-width: 1024px) {
  .partners {
    padding: 0 0 60px;
  }

  .partners__head {
    width: 100%;
  }

  .partners__grid {
    width: 95%;
    max-width: none;
  }

  .partner__actions {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .partner__name {
    font-size: 20px;
  }

  .partner__address {
    letter-spacing: 1px;
  }
}

@media (max-width: 767px) {
  .partners {
    padding: 10px 10px 100px;
  }

  .partners__band {
    padding-inline: 20px;
  }

  .partners__grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .partner {
    padding: 20px;
  }
}

/* --------------------------------------------------------------------------
   7. Per le tue occasioni
   -------------------------------------------------------------------------- */
.occasions {
  display: flex;
  align-items: center;
  min-height: 56vh;
  padding: 0 0 50px;
  background-color: var(--c-peach);
  background-image: url("../../img/bg/skyline-bologna-occasioni.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.occasions__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  padding: 10px;
  text-align: center;
}

.occasions__lead {
  color: var(--c-text);
}

@media (max-width: 1024px) {
  .occasions {
    padding: 0 60px 50px;
    background-size: cover;
  }
}

@media (max-width: 767px) {
  .occasions {
    padding: 0 30px 50px;
    background-image: url("../../img/bg/skyline-bologna-mobile.webp");
    background-size: contain;
    background-position: bottom center;
  }

  .occasions__inner {
    padding: 60px 0 140px;
  }
}
