/* ============================================================
   Testata + footer che replicano partytour.it (Mantunitour & Partytour).
   Valori presi dal CSS del tema Avada del sito:
   header/footer #24272d, sotto-menu #292d33, copyright #2b2e35,
   menu Montserrat 14px bianco, testi footer #868a92.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&family=Raleway:wght@400;500&family=Open+Sans:wght@400;600&display=swap');

.chrome-mantunitour {
  --mt-dark: #24272d;
  --mt-dark-2: #292d33;
  --mt-dark-3: #2b2e35;
  --mt-muted: #868a92;
  --mt-font-nav: Montserrat, Arial, Helvetica, sans-serif;
  --mt-font-body: "Open Sans", Arial, Helvetica, sans-serif;
}

/* ── Header ── */
.mt-header { background: var(--mt-dark); color: #fff; position: relative; z-index: 50; font-family: var(--mt-font-nav); }
.mt-header a { color: #fff; text-decoration: none; }
.mt-header__inner { max-width: 1170px; margin: 0 auto; padding: 0 30px; }

.mt-nav { display: flex; align-items: center; justify-content: center; min-height: 105px; }
.mt-menu { display: flex; align-items: stretch; list-style: none; margin: 0; padding: 0; }
.mt-menu > .mt-item { position: relative; display: flex; }
.mt-menu > .mt-item > a {
  display: flex; align-items: center; padding: 0 22px; min-height: 105px;
  font-size: 14px; font-weight: 400; letter-spacing: 0; white-space: nowrap;
  border-top: 3px solid transparent;
}
.mt-menu > .mt-item:hover > a,
.mt-menu > .mt-item:focus-within > a,
.mt-menu > .mt-item.is-current > a { border-top-color: #fff; }
.mt-logo { display: flex; align-items: center; margin: 0 26px; flex: none; }
.mt-logo img { display: block; width: 100px; height: auto; }

.mt-caret {
  display: inline-block; width: 5px; height: 5px; margin-left: 9px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}

/* Tendine desktop: solo CSS (hover + tastiera) */
.mt-sub {
  position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none; margin: 0; padding: 0;
  background: var(--mt-dark-2); border-top: 3px solid #fff;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.mt-item:hover > .mt-sub, .mt-item:focus-within > .mt-sub { opacity: 1; visibility: visible; transform: none; }
.mt-sub a { display: block; padding: 11px 20px; font-size: 13px; color: #fff; border-bottom: 1px solid var(--mt-dark); }
.mt-sub a:hover, .mt-sub .is-current > a { background: var(--mt-dark-3); color: #fff; }

/* Ricerca */
.mt-search { position: relative; margin-left: 18px; }
.mt-search summary { list-style: none; cursor: pointer; padding: 10px; display: flex; }
.mt-search summary::-webkit-details-marker { display: none; }
.mt-search__icon { width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; position: relative; display: inline-block; }
.mt-search__icon::after { content: ""; position: absolute; width: 2px; height: 6px; background: #fff; right: -4px; bottom: -5px; transform: rotate(-45deg); }
.mt-search__form { position: absolute; right: 0; top: 100%; background: var(--mt-dark-2); padding: 12px; border-top: 3px solid #fff; }
.mt-search__form input { width: 220px; padding: 9px 12px; border: 1px solid #3c3f45; background: #fff; color: #333; font: 13px var(--mt-font-body); }

/* Mobile */
.mt-mobilebar { display: none; }
.mt-langbar { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
.mt-langbar:empty { display: none; }
.mt-langbar .lang-select select { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.mt-langbar .lang-select select option { color: #222; }
.mt-langbar .lang-select::after { border-color: rgba(255,255,255,.8); }

@media (max-width: 1240px) {
  .mt-menu > .mt-item > a { padding: 0 13px; }
  .mt-logo { margin: 0 12px; }
  .mt-langbar { position: static; transform: none; display: flex; justify-content: flex-end; padding: 0 16px 10px; }
}
@media (max-width: 1060px) {
  .mt-nav { display: none; }
  .mt-header__inner { padding: 0 16px; }
  .mt-mobilebar { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
  .mt-logo--mobile { margin: 0; }
  .mt-logo--mobile img { width: 96px; }
  .mt-langbar { position: absolute; top: 42px; right: 64px; transform: translateY(-50%); padding: 0; }
  .mt-burger summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 10px 0 10px 10px; }
  .mt-burger summary::-webkit-details-marker { display: none; }
  .mt-burger summary span { display: block; width: 20px; height: 3px; background: #fff; border-radius: 1px; }
  .mt-mobilemenu {
    position: absolute; left: 0; right: 0; top: 84px; list-style: none; margin: 0; padding: 0;
    background: var(--mt-dark); border-top: 1px solid var(--mt-dark-2); max-height: calc(100vh - 84px); overflow-y: auto;
  }
  .mt-mobilemenu .mt-item > a { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--mt-dark-2); }
  .mt-mobilemenu .mt-caret { display: none; }
  .mt-mobilemenu .mt-sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: var(--mt-dark-2); }
  .mt-mobilemenu .mt-sub a { padding-left: 36px; }
}

/* Sotto la testata il nostro header è assente: niente spazio riservato per l'header trasparente. */
.chrome-mantunitour .hero { min-height: 70vh; }

/* ── Footer ── */
.mt-footer { font-family: var(--mt-font-body); background: var(--mt-dark); color: var(--mt-muted); font-size: 14px; line-height: 2.4; }
.mt-footer__cols {
  max-width: 1170px; margin: 0 auto; padding: 45px 30px 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.mt-footer h4 {
  font-family: var(--mt-font-nav); font-size: 18px; font-weight: 400; line-height: 1.5;
  color: #fff; text-transform: uppercase; margin: 0 0 28px;
}
.mt-footer p { margin: 0 0 26px; }
.mt-footer a { color: var(--mt-muted); text-decoration: none; }
.mt-footer a:hover { color: #fff; }
.mt-badge { display: block; width: 200px; max-width: 100%; height: auto; margin: 14px 0 26px; }
.mt-newsletter { display: grid; gap: 8px; margin-bottom: 26px; line-height: 1.5; }
.mt-newsletter label { font-size: 13px; }
.mt-newsletter input[type="email"] { padding: 9px 12px; border: 1px solid #3c3f45; background: #343841; color: #fff; font: inherit; font-size: 13px; }
.mt-newsletter button {
  justify-self: start; padding: 7px 20px; border: 0; background: #000; color: #fff; cursor: pointer;
  font: 400 14px var(--mt-font-body);
}
.mt-newsletter button:hover { background: #111; }
.mt-hp { position: absolute; left: -5000px; }
.mt-copyright { background: var(--mt-dark-3); text-align: center; padding: 18px 16px; font-size: 14px; color: var(--mt-muted); border-top: 1px solid var(--mt-dark-3); }

@media (max-width: 800px) {
  .mt-footer__cols { grid-template-columns: 1fr; gap: 10px; padding: 40px 16px 20px; }
}
