:root {
    --verde-acqua: #00C9A7;
    --rosso-mela: #E63946;
    --bianco: #f7f7f7;
    --grigio-chiaro: #f7f7f3;
    --grigio-testo: #333333;
}

/* ===== COOKIE POPUP ===== */

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 20px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.cookie-popup.show {
  opacity: 1;
  visibility: visible;
}

.cookie-box {
  background: #ffffff;
  padding: 20px 25px;
  border-radius: 12px;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  animation: slideUp 0.4s ease forwards;
  font-family: "Inter", sans-serif;
}

.cookie-box h3 {
  margin: 0 0 10px;
  color: #111;
}

.cookie-box p {
  margin: 0;
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

.cookie-box a {
  color: #4a9fff;
  text-decoration: underline;
}

.cookie-btn {
  margin-top: 15px;
  padding: 10px 18px;
  background: #4a9fff;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s ease;
}

.cookie-btn:hover {
  background: #2f80ed;
}

/* Animazione */
@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* RESET BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--grigio-testo);
    background-color: var(--grigio-chiaro);
}

/* PRELOADER  */
#preloader{
  position: fixed;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 9999;
  background: #f6f0e6; /* bianco panna */
}

.apple-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;
}

/* PIÙ GRANDE */
.apple{
  width: 160px;   /* aumenta qui se la vuoi ancora più grande */
  height: 160px;
}

.apple-body{ fill:#d34a3a; }
.apple-leaf{ fill:#4aa64a; }
.apple-stem{ fill:#6b4a2b; }

.loading-text{
  font-family: system-ui, Arial, sans-serif;
  font-size: 15px;
  color: #4b4b4b;
}

/* Morso progressivo sul lato destro:
   3 "morsi" che aumentano uno dopo l’altro, poi reset e riparte (loop). */
.bite{ animation: biteCycle 1.4s ease-in-out infinite; }

.b1{ animation-delay: 0s; }
.b2{ animation-delay: .18s; }
.b3{ animation-delay: .36s; }

@keyframes biteCycle{
  0%   { r:0; }
  40%  { r:0; }
  70%  { r:22; }  /* dimensione morso */
  92%  { r:22; }  /* tiene il morso un attimo */
  100% { r:0; }   /* reset rapido e riparte */
}
.page {
    opacity: 0;
    transition: opacity 0.4s ease;
    min-height: 100vh;
}

body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.loaded .page {
    opacity: 1;
}

/* HEADER / NAVBAR */
.main-header {
    background: var(--bianco);
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--verde-acqua);
}

.logo span {
    color: var(--rosso-mela);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 16px;
}

.nav-links a {
    text-decoration: none;
    color: var(--grigio-testo);
    font-size: 0.95rem;
    padding: 6px 10px;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
    background: var(--verde-acqua);
    color: var(--bianco);
}

/* HERO CON SFONDO IMMAGINE */
.hero {
    position: relative;
    min-height: 420px;
    background-image: url('https://st.depositphotos.com/1063437/2890/i/450/depositphotos_28904945-stock-photo-basket-of-fresh-organic-fruits.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.hero-overlay {
    flex: 1;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.25)
    );
    display: flex;
    align-items: center;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    color: var(--bianco);
}

.hero-text {
    max-width: 520px;
}

.hero-text h1 {
    font-size: 2.4rem;
    margin-bottom: 8px;
}

.hero-text h2 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.hero-text p {
    line-height: 1.6;
    margin-bottom: 14px;
    font-size: 0.98rem;
}

.hero-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.hero-elogi {
    font-size: 0.9rem;
    opacity: 0.95;
}

/* BOTTONI */
.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s, color 0.2s;
}

.btn-primary {
    background: var(--verde-acqua);
    color: var(--bianco);
    box-shadow: 0 6px 15px rgba(0, 201, 167, 0.35);
}

.btn-secondary {
    background: var(--bianco);
    color: var(--verde-acqua);
    border: 1px solid var(--verde-acqua);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* SEZIONI GENERALI */
.section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--verde-acqua);
}

.section p {
    line-height: 1.6;
}

/* GRID 2 COLONNE */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* CARD */
.card {
    background: var(--bianco);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* LISTE */
.badge-list li {
    list-style: none;
    margin-bottom: 6px;
}

/* SLIDER NUTRIZIONALE */
.nutri-slider {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    height: 220px;
    margin-top: 14px;
}

.nutri-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.nutri-slide.active {
    opacity: 1;
}

.nutri-caption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 14px;
    background: rgba(0,0,0,0.55);
    color: var(--bianco);
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.9rem;
}

/* RECENSIONI */
.subheading {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.reviews {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.review-content {
    flex: 1;
    font-size: 0.9rem;
}

.review-name {
    font-weight: 600;
}

.review-stars {
    color: #f6b800;
    font-size: 0.9rem;
    margin-bottom: 4px;
}
.recensioni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.recensione {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    animation: fadeIn 1s ease;
}

.rec-profile {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}

.recensione h4 {
    margin: 6px 0;
}

.recensione p {
    margin: 6px 0;
}

/* BLOG */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.blog-item {
    background: var(--bianco);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.blog-item h3 {
    font-size: 1rem;
    margin: 10px 12px 4px;
    color: var(--rosso-mela);
}

.blog-item p {
    font-size: 0.9rem;
    margin: 0 12px 8px;
}

.blog-link {
    margin: auto 12px 10px;
    font-size: 0.9rem;
    color: var(--verde-acqua);
    text-decoration: none;
}

.blog-link:hover {
    text-decoration: underline;
}


/* ORARI */
.orari-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 0.9rem;
}

.orari-table th,
.orari-table td {
    padding: 10px;
    text-align: left;
}

.orari-table thead {
    background: var(--verde-acqua);
    color: var(--bianco);
}

.orari-table tbody tr:nth-child(odd) {
    background: var(--grigio-chiaro);
}

.orari-table tbody tr:nth-child(even) {
    background: var(--bianco);
}

.orari-table a {
    color: var(--rosso-mela);
    font-size: 0.85rem;
}
/* AVVISO PRENOTAZIONI */
.prenota-avviso {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    animation: fadeLoop 4s infinite;
}

.prenota-avviso p {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--rosso-mela);
    text-decoration: underline;
    text-shadow: 0px 0px 12px rgba(255, 0, 0, 0.6);
    line-height: 1.4;
}

/* ANIMAZIONE FADE IN / FADE OUT */
@keyframes fadeLoop {
    0% { opacity: 0; }
    20% { opacity: 1; }
    50% { opacity: 1; }
    80% { opacity: 0; }
    100% { opacity: 0; }
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonne */
    gap: 20px; /* spazio uniforme */
    width: 100%;
}

.map-card {
    background: rgba(255, 255, 255, 0.65); /* vetro opaco */
    padding: 15px;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    backdrop-filter: blur(8px);
}

.map-card h3 {
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.map-card iframe {
    width: 100%;
    height: 220px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* MOBILE: tutte in colonna */
@media (max-width: 768px) {
    .map-grid {
        grid-template-columns: 1fr;
    }
}


/* SOCIAL */
.social-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.social-card {
    background: var(--bianco);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    font-size: 0.9rem;
}

.social-card h3 {
    margin-bottom: 4px;
}

.social-handle {
    font-weight: 600;
    margin-bottom: 6px;
}

.social-preview {
    background: #f2fffb;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
}

.badge-social {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--verde-acqua);
    color: var(--bianco);
    margin-bottom: 4px;
}

/* HELP TEXT */
.helper-text {
    font-size: 0.8rem;
    color: #666;
    margin-top: 4px;
}

/* FADE-IN SU SCROLL + RIGHE ORARI */
.fade-on-scroll {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

.fade-row {
    opacity: 0;
    animation: fadeInUp 0.7s forwards;
}

.fade-row:nth-child(1) { animation-delay: 0.1s; }
.fade-row:nth-child(2) { animation-delay: 0.2s; }
.fade-row:nth-child(3) { animation-delay: 0.3s; }
.fade-row:nth-child(4) { animation-delay: 0.4s; }
.fade-row:nth-child(5) { animation-delay: 0.5s; }
.fade-row:nth-child(6) { animation-delay: 0.6s; }
.fade-row:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FOOTER (barra verde acqua con scritta centrata) */
footer {
    margin-top: 40px;
    background: var(--verde-acqua);
    color: var(--bianco);
    padding: 18px 20px;
    text-align: center;
    font-size: 0.92rem;
}

.video-page header {
    background-color: var(--verde-acqua);
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-inner {
        padding: 50px 16px;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text h2 {
        font-size: 1.15rem;
    }
}
/* =========================
   RECENSIONI (ELEGANT)
========================= */

:root{
  --accent: #2f8f4e;          /* sostituisci col verde del tuo tema se diverso */
  --accent-2: rgba(47,143,78,.12);
  --text: #1f2937;
  --muted: #6b7280;
  --card: #ffffff;
  --line: rgba(0,0,0,.08);
  --shadow: 0 10px 25px rgba(0,0,0,.06);
}

.reviews-elegant{
  margin-top: 14px;
}

.reviews-summary{
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 18px;
  background: linear-gradient(180deg, #fff, rgba(47,143,78,.04));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.summary-left{
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.avg-score{
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--text);
}

.avg-score span{
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.avg-score small{
  font-size: 16px;
  color: var(--muted);
  font-weight: 600;
}

.avg-meta{
  color: var(--muted);
  font-size: 14px;
}

.avg-stars{
  display: flex;
  gap: 4px;
  align-items: center;
}

.star{
  width: 18px;
  height: 18px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27L18.18 21 16.54 13.97 22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27L18.18 21 16.54 13.97 22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.star.full{
  color: var(--accent);
}

.star.empty{
  color: rgba(0,0,0,.12);
}

.star.half{
  position: relative;
  color: rgba(0,0,0,.12);
}
.star.half::after{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  -webkit-mask: inherit;
          mask: inherit;
  clip-path: inset(0 50% 0 0);
}

.summary-right{
  display: grid;
  gap: 14px;
  align-content: center;
}

.dist{
  display: grid;
  gap: 8px;
}

.dist-row{
  display: grid;
  grid-template-columns: 18px 1fr 26px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.dist-label{
  font-weight: 700;
  color: var(--text);
  opacity: .8;
}

.dist-bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.05);
}

.dist-bar span{
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), rgba(47,143,78,.6));
  border-radius: 999px;
}

.dist-val{
  text-align: right;
  font-weight: 700;
  color: var(--text);
  opacity: .65;
}

.reviews-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

/* Lista card */
.reviews-list{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-e-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,.04);
  display: grid;
  gap: 10px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.review-e-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.08);
}

.review-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-person{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.review-avatar{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--accent-2);
}

.review-name-wrap{
  display: grid;
  gap: 2px;
  min-width: 0;
}

.review-name{
  font-weight: 800;
  color: var(--text);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-date{
  font-size: 12px;
  color: var(--muted);
}

.review-stars{
  display: flex;
  gap: 3px;
  align-items: center;
  flex-shrink: 0;
}

.review-text{
  color: var(--text);
  opacity: .92;
  font-size: 14px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px){
  .reviews-summary{
    grid-template-columns: 1fr;
  }
  .reviews-list{
    grid-template-columns: 1fr;
  }
}
/* ====== BLOCCO ASSOLUTO DESKTOP ====== */
@media (min-width: 769px){
  .mobile-menu-btn,
  .mobile-overlay,
  .mobile-drawer{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

