@charset "UTF-8";
/* ---------- local custom font (daydream) ---------- */
@font-face {
  font-family: "daydream";
  src: url("./assets/daydream.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
/* ---------- reset + base palette ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background: #000;
  color: #fdeeda;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 18px;
  line-height: 1.45;
}

/* colori / variabili */
:root {
  --glow-color: 253, 238, 218;
  --panel-bg: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.62));
  --accent: #f7d8a0;
  --btn-dark: #111;
  --btn-light: #fff9ed;
  --content-max: 820px;
  --side-card-min: 200px; /* altezza minima delle card laterali */
  --featured-min: 280px; /* altezza minima della card centrale (enfasi) */
}

/* ---------- background image ---------- */
.background {
  width: 100%;
  height: 100vh;
  background-image: url("/assets/back.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.66));
}

/* ---------- layout wrapper ---------- */
.wrapper {
  z-index: 2;
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 28px 20px;
}

#anno {
  display: block;
  width: 420px;
  max-width: 78%;
  height: auto;
  margin-top: 28px;
}

/* ---------- headings ---------- */
.title {
  font-family: "Abril Fatface", serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw + 1rem, 5.4rem);
  line-height: 1.02;
  letter-spacing: 0.4px;
  margin-top: 6px;
  text-align: center;
}

.subtitle {
  font-family: "daydream", sans-serif;
  font-size: clamp(1.4rem, 3.8vw, 3.6rem);
  margin-top: 6px;
  font-weight: 100;
  text-align: center;
}

.date {
  font-family: Georgia, serif;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  margin-top: 6px;
  text-align: center;
}

/* glow */
.glow {
  color: #fdeeda;
  text-shadow: 0 0 3px rgba(var(--glow-color), 0.95);
}

/* ---------- panels ---------- */
.panel {
  width: 100%;
  max-width: 980px;
  background: var(--panel-bg);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  color: #fdeeda;
}

/* title centrato pannello */
.panel-title {
  text-align: center;
  margin: 0 0 8px;
}

/* intro */
.intro p {
  font-family: Georgia, serif;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  line-height: 1.5;
  max-width: var(--content-max);
  text-align: center;
  margin: 0 auto;
  color: #fdeeda;
}

/* ---------- menu grid & cards ---------- */
/* Forza le righe della griglia ad avere la stessa altezza di base
   e permette alla card centrale di occupare 2 righe */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
  /* base row height: minmax ensures contenuto non si taglia,
     ma permette righe uguali quando le card sono stretchate */
  grid-auto-rows: minmax(1fr, auto);
  align-items: stretch; /* fa sì che gli item della griglia si espandano in altezza */
}

/* card base */
/* Assicura che ogni card occupi tutta l'altezza della propria cella */
.card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(253, 238, 218, 0.02), rgba(0, 0, 0, 0.12));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

/* make side cards visually secondary: lighter border & shadow */
.card.side-card {
  border: 1px solid rgba(253, 238, 218, 0.045);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}

/* featured card: emphasized */
/* Card centrale: span 2 rows per essere più alta ed enfatizzata */
.card.highlight.featured-card {
  grid-row: span 2; /* occupa due righe della griglia */
  border: 1px solid rgba(255, 210, 140, 0.2);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.7);
  background: linear-gradient(180deg, rgba(255, 245, 230, 0.035), rgba(0, 0, 0, 0.1));
}

/* ensure consistent inner spacing */
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  min-height: 64px; /* determina dove iniziano i sottotitoli */
  align-items: center;
}

.card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Modal overlay e dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 2, 2, 0.6);
  z-index: 9999;
  padding: 20px;
}

.modal {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(180deg, #111 0%, #0b0b0b 100%);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  color: #fdeeda;
  position: relative;
  border: 1px solid rgba(253, 238, 218, 0.06);
  font-family: Georgia, serif;
}

/* Close button */
.modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  background: transparent;
  border: none;
  color: #fdeeda;
  font-size: 18px;
  cursor: pointer;
}

/* Title/body */
.modal-title {
  font-family: "Abril Fatface", serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #fff7ee;
  text-shadow: 0 0 3px rgba(253, 238, 218, 0.6);
}

.modal-body {
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 12px;
}

.modal-data {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.modal-data dt {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff9ea;
}

.modal-data dd {
  margin: 0 0 8px 0;
  color: #fdeeda;
  font-size: 0.95rem;
}

/* actions */
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* hide overlay when [hidden] */
.modal-overlay[hidden] {
  display: none;
}

/* title */
.card-title {
  font-family: "Abril Fatface", serif;
  font-size: 1.2rem;
  margin: 0;
  font-weight: 500;
  color: #fff8ea;
  text-shadow: 0 0 2px rgba(var(--glow-color), 0.45);
}

/* tag */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 4px 8px;
  margin-top: 5px;
  font-family: sans-serif;
  font-weight: 600;
  background: rgba(253, 238, 218, 0.15);
  color: #fdeeda;
  border-radius: 999px;
  border: 1px solid rgba(253, 238, 218, 0.5);
}

/* price bubble: central more prominent */
.price-bubble {
  background: var(--btn-light);
  color: var(--btn-dark);
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.48);
}

/* ensure central price bubble slightly larger */
.card.highlight .price-bubble {
  padding: 8px 14px;
  font-size: 1rem;
}

/* hover: featured card gets subtle scale; side cards less pronounced */
.card:hover {
  transform: translateY(-6px);
}

.card.highlight:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.72);
  border-color: rgba(255, 210, 140, 0.22);
}

/* card-subtitle aligned and consistent */
.card-subtitle {
  margin: 6px 0 0;
  color: rgba(253, 238, 218, 0.92);
  font-size: 1rem;
  min-height: 44px; /* garantisce che tutte le card mostrino il sottotitolo nella stessa area visiva */
}

/* items list */
.items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.items li {
  font-size: 1rem;
  padding: 6px 0;
  position: relative;
  padding-left: 18px;
  color: #fdeeda;
}

.items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(12deg);
}

/* card-foot: keep CTAs at bottom */
/* Assicura che il bottone resti in fondo alle card indipendentemente dall'altezza */
.card-foot {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--btn-light);
  color: var(--btn-dark);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
  font-size: 0.98rem;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus {
  outline: 3px solid rgba(247, 216, 130, 0.22);
  outline-offset: 2px;
}

.btn-cta {
  padding: 8px 12px;
  font-size: 0.95rem;
}

.btn-submit {
  background: linear-gradient(180deg, var(--accent), #f1c77a);
  color: #111;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.18);
}

/* ---------- form ---------- */
.form-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.form-title {
  text-align: left;
  margin: 0 0 24px;
  font-family: "Abril Fatface", serif;
  font-size: 1.35rem;
  color: #fff8ea;
  text-shadow: 0 0 2px rgba(var(--glow-color), 0.45);
}

.booking-form {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.booking-form .row {
  display: flex;
  gap: 12px;
}

.booking-form input[type=text],
.booking-form input[type=tel],
.booking-form input[type=email],
.booking-form input[type=number],
.booking-form select,
.booking-form textarea {
  flex: 1;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(253, 238, 218, 0.06);
  color: #fdeeda;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
}

.booking-form select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding-right: 36px;
}

/* Apartments specific */
.apartments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; /* maggiore separazione tra le card appartamento */
  margin-top: 12px;
}

/* apartments emphasized: similar to featured card */
.featured-apt {
  border: 1px solid rgba(255, 210, 140, 0.22);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.68);
  background: linear-gradient(180deg, rgba(255, 245, 230, 0.045), rgba(0, 0, 0, 0.08));
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.featured-apt:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.74);
  border-color: rgba(255, 210, 140, 0.28);
}

/* re-use .card styles; small tweaks for apartments */
.apt-card .card-body {
  padding-top: 6px;
}

/* make price-bubble slightly different for apt */
.apt-card .price-bubble {
  background: rgba(247, 216, 130, 0.98);
  color: #111;
  font-weight: 800;
  padding: 8px 12px;
  font-size: 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.48);
}

/* map wrapper: responsive embed */
.map-wrap {
  width: 100%;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  margin-top: 8px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* actions */
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* booking note */
.booking-note {
  margin-top: 18px;
  font-size: 1.05rem;
  text-align: center;
}

/* footer */
.footer {
  width: 100%;
  margin-top: 6px;
  padding: 18px 10px;
  font-size: 0.98rem;
  text-align: center;
  font-family: Georgia, serif;
  color: #fdeeda;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  #anno {
    width: 360px;
  }
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(1fr, auto);
  }
  .card {
    padding: 14px;
  }
  .card-head {
    min-height: 60px;
  }
  .card.highlight.featured-card {
    grid-row: auto;
  }
  .card.side-card {
    min-height: 180px;
  }
  .form-inner {
    padding: 0 8px;
    box-sizing: border-box;
  }
  .apartments-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .apartments-grid {
    grid-template-columns: 1fr;
  }
  .map-wrap {
    height: 260px;
  }
  .modal {
    padding: 14px;
    max-width: 92%;
  }
  .modal-title {
    font-size: 1.15rem;
  }
  #anno {
    width: 300px;
    margin-top: 18px;
  }
  .menu-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .card.highlight.featured-card {
    grid-row: auto;
  }
  .panel {
    padding: 14px;
  }
  .card {
    min-height: auto;
    padding: 12px;
    border-radius: 12px;
  }
  .card-head {
    min-height: 56px;
    margin-bottom: 6px;
  }
  .card-left {
    gap: 10px;
  }
  .card-title {
    font-size: 1.02rem;
  }
  .price-bubble {
    font-size: 0.9rem;
    padding: 5px 9px;
  }
  .booking-form .row {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .btn-cta {
    width: auto;
  }
  .intro p {
    font-size: 1.02rem;
  }
  .title {
    font-size: clamp(2rem, 9vw, 3.4rem);
  }
  .subtitle {
    font-size: clamp(1.2rem, 5vw, 2.4rem);
  }
  .form-inner {
    padding: 0;
  }
}
/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}/*# sourceMappingURL=index.css.map */