:root {
  --bg: #080b10;
  --card: rgba(12, 16, 22, 0.18);
  --card-strong: rgba(10, 14, 20, 0.3);
  --muted: rgba(235, 239, 244, 0.8);
  --text: #f4f7fb;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #6ee7b7;
  --danger: #fb7185;
  --warn: #fbbf24;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html {
  height: 100%;
  scroll-behavior: smooth;
}
.logo-img{
  height: 90px;
  width: 90px;
  object-fit: contain;   /* 🔥 NON taglia */
  border-radius: 50%;
  background: white;     /* sfondo per riempire il cerchio */
  padding: 3px;          /* spazio interno così non tocca i bordi */
  display: block;
}
body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
  background: #05070b;
}
.bg-slide {
  position: absolute;
  inset: -4%;
  opacity: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.08) translate3d(0, 0, 0);
  animation: bgCycle 32s infinite ease-in-out;
  will-change: transform, opacity;
}
.bg-1 { background-image: url('images/home1.jpeg'); animation-delay: 0s; }
.bg-2 { background-image: url('images/home2.jpeg'); animation-delay: 8s; }
.bg-3 { background-image: url('images/home3.jpeg'); animation-delay: 16s; }
.bg-4 { background-image: url('images/home4.jpeg'); animation-delay: 24s; }
.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.34) 36%, rgba(0, 0, 0, 0.5) 100%),
    rgba(0, 0, 0, 0.08);
}
.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(255, 255, 255, 0.03), transparent 28%),
              radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.015), transparent 35%);
}
@keyframes bgCycle {
  0% { opacity: 0; transform: scale(1.08) translateY(2%); }
  8% { opacity: 1; }
  23% { opacity: 1; transform: scale(1.14) translateY(-1.5%); }
  31% { opacity: 0; }
  100% { opacity: 0; transform: scale(1.17) translateY(-3%); }
}

.container {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 22px 18px 60px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 12;
  padding: 18px 22px;   /* più spazio */
  margin-bottom: 20px;
  background: rgba(7, 10, 15, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.brand,
.brand-wrap {
  display: flex;
  align-items: center;
}
.brand {
  gap: 12px;
  text-decoration: none;
}
.logo
{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(110, 231, 183, 0.16);
  flex: 0 0 auto;
}
.brand strong {
  display: block;
  letter-spacing: 0.24em;
  font-size: 13px;
  text-transform: uppercase;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}
.main-nav,
.header-actions,
.phone {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.main-nav a,
.lang-switch {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  transition: 0.2s ease;
}
.main-nav a:hover,
.lang-switch:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.lang-switch {
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-panel,
.card {
  background: rgba(10, 14, 20, 0.16);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.card .inner,
.form-wrap {
  padding: 22px;
}
.intro-card {
  display: block;
  padding: 34px 0 120px;
  margin-bottom: 0;
}
.intro-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.h1 {
  margin: 0;
  font-size: clamp(24px, 3.1vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 760px;
}
.sub,
.section-heading p,
.card-head p,
.feature-chip span {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.hero-sub {
  max-width: 680px;
  font-size: 15px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.quick-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.feature-chip {
  padding: 16px;
  border-radius: 18px;
  background: rgba(8, 12, 18, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.feature-chip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}
.hero-side-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.phone-box {
  margin: 0;
  min-height: 140px;
  background: rgba(8, 12, 18, 0.16);
  border-color: rgba(255, 255, 255, 0.08);
}
.phone-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
}
.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  background: rgba(8, 12, 18, 0.16);
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot.av { background: var(--accent); }
.dot.bl { background: var(--danger); }
.dot.sel { background: var(--warn); }

.section-heading {
  margin-bottom: 14px;
}
.section-heading#booking {
  margin-top: 92px;
}
.section-heading h2,
.card-head h3,
.cal-title strong {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.12;
}
.card-head,
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 22px 0;
}
.card-head p {
  margin-top: 8px;
}
.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
  align-items: stretch;
}
.booking-grid {
  scroll-margin-top: 120px;
  margin-top: 22px;
}
.booking-grid .card {
  background: rgba(12, 16, 22, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.booking-grid .card .card-head,
.booking-grid .card .form-wrap {
  background: transparent;
}
.calendar-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 20px;
}
.cal-head {
  padding-top: 0;
}
.cal-title span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
}
.btn:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}
.btn.primary {
  background: rgba(110, 231, 183, 0.14);
  border-color: rgba(110, 231, 183, 0.35);
}
.btn.primary:hover {
  background: rgba(110, 231, 183, 0.2);
  border-color: rgba(110, 231, 183, 0.5);
}
.btn.danger {
  background: rgba(251, 113, 133, 0.1);
  border-color: rgba(251, 113, 133, 0.32);
}
.btn.danger:hover {
  border-color: rgba(251, 113, 133, 0.48);
}

.cal-scroll {
  padding: 0 14px 0;
}
table.calendar {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 8px;
  padding-bottom: 8px;
}
.calendar td { width: calc(100% / 7); }
.calendar th {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0 0 4px;
}
.day {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  min-height: 86px;
  height: 86px;
  padding: 14px 12px;
  cursor: pointer;
  transition: 0.18s ease;
  user-select: none;
}
.day:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
}
.day .n {
  font-weight: 700;
  font-size: 15px;
  position: relative;
  z-index: 1;
}
.day .tag {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-size: 11px;
  color: var(--muted);
}
.day.empty {
  background: transparent;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.06);
  cursor: default;
}
.day.empty:hover,
.day.past:hover {
  transform: none;
}
.day.past {
  opacity: 0.36;
  cursor: not-allowed;
}
.day.available {
  box-shadow: inset 0 0 0 1px rgba(110, 231, 183, 0.25);
}
.day.available::after,
.day.blocked::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.day.available::after { background: var(--accent); }
.day.blocked {
  opacity: 0.62;
  cursor: not-allowed;
  box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.22);
}
.day.blocked::after { background: var(--danger); }
.day.selected {
  border-color: rgba(251, 191, 36, 0.82);
  box-shadow: inset 0 0 0 2px rgba(251, 191, 36, 0.28);
}
.day.today .n::after {
  content: attr(data-today-label);
  position: absolute;
  left: 0;
  top: 20px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-head {
  padding: 0;
}
.steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.step-pill.active {
  color: var(--text);
  border-color: rgba(110, 231, 183, 0.4);
  background: rgba(110, 231, 183, 0.08);
}
.step-pill .i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 700;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: none;
}
fieldset.active { display: block; }
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.input {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
label {
  color: var(--muted);
  font-size: 13px;
}
input,
select,
textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(110, 231, 183, 0.5);
  box-shadow: 0 0 0 4px rgba(110, 231, 183, 0.12);
}
textarea {
  min-height: 110px;
  resize: vertical;
}
.form-actions,
.action-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.form-actions {
  justify-content: space-between;
  margin-top: 8px;
}
.help {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}
.summary-label {
  color: var(--muted);
}
.notice {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.notice.success {
  border-color: rgba(110, 231, 183, 0.35);
  background: rgba(110, 231, 183, 0.08);
}
.notice.error {
  border-color: rgba(251, 113, 133, 0.35);
  background: rgba(251, 113, 133, 0.08);
}
.legal-card {
  margin-top: 20px;
}
.footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer a {
  text-decoration: none;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  transition: 0.2s ease;
}
.footer a:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 980px) {
  .site-header {
    border-radius: 26px;
  }
  .intro-card,
  .hero {
    grid-template-columns: 1fr;
  }
  .quick-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    padding: 16px 14px 44px;
  }
  .site-header {
    position: static;
    padding: 14px;
    border-radius: 24px;
  }
  .topbar {
    align-items: flex-start;
  }
  .main-nav {
    width: 100%;
    order: 3;
  }
  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .intro-card {
    padding: 10px 0 72px;
  }
  .section-heading#booking {
    margin-top: 56px;
  }
  .booking-grid {
    margin-top: 18px;
  }
  .h1 {
    font-size: clamp(28px, 9vw, 38px);
  }
  .phone-link {
    font-size: 22px;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .card-head,
  .cal-head {
    padding-left: 18px;
    padding-right: 18px;
  }
  .cal-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .form-wrap,
  .card .inner {
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .cal-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 6px;
  }
  .cal-scroll::-webkit-scrollbar { display: none; }
  table.calendar {
    min-width: 640px;
    border-spacing: 10px;
  }
  .day {
    min-height: 78px;
    height: 78px;
  }
  .day .tag {
    display: none;
  }
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .action-group {
    width: 100%;
  }
  .action-group .btn,
  .form-actions > .btn {
    flex: 1 1 auto;
  }
}


.lang-links{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.lang-switch.active{
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
}
.photo-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:16px;
}
.photo-card{
  border-radius: 20px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(0,0,0,0.16);
}
.photo-card img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.page-stack{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.page-intro{
  padding: 28px 0 10px;
}
.price-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:16px;
}
.price-card{
  padding:20px;
  border-radius:20px;
  border:1px solid var(--line);
  background: rgba(10, 14, 20, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


.price-card h3,
.info-card h3{
  margin:0 0 10px;
}
.price{
  font-size: 30px;
  font-weight: 700;
  margin: 12px 0;
}
.bullet-list,
.rules-list{
  margin:0;
  padding-left:18px;
  line-height:1.7;
}
.info-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:16px;
}

.info-card{
  padding:20px;
  border-radius:20px;
  border:1px solid var(--line);
  background: rgba(10, 14, 20, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.contact-line{
  color: var(--muted);
  line-height:1.7;
}
@media (max-width: 900px){
  .photo-grid,
  .price-grid,
  .info-grid{
    grid-template-columns: 1fr;
  }
}

/* Stile per il solo menu Area */
#booking_area {
    color-scheme: dark;
    background: rgba(0, 0, 0, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text) !important;
}

/* Aumenta lo spazio sotto gli elementi .input per avere più respiro */
.input {
    margin-bottom: 25px !important;
}

/* --- LEGGIBILITÀ MENU A TENDINA --- */

/* Applica il tema scuro quando il menu viene aperto */
select {
    color-scheme: dark;
}

/* Forza lo stile di ogni voce (opzione) per essere leggibile */
option {
    background-color: var(--bg) !important;
    color: var(--text) !important;
}

/* Assicura che anche quando selezioni la voce, il contrasto sia alto */
select:focus option:checked {
    background-color: var(--accent) !important;
    color: #000 !important;
}
