
:root {
  --bg: #f5f1eb;
  --surface: #fffaf4;
  --surface-2: #f0e7dc;
  --text: #201915;
  --muted: #6f6258;
  --primary: #6f4d37;
  --primary-dark: #503628;
  --line: rgba(80, 54, 40, 0.12);
  --shadow: 0 20px 50px rgba(32, 25, 21, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
}

body {
  background: linear-gradient(180deg, #f7f2ec 0%, #f5f1eb 100%);
  color: var(--text);
}

.home-page {
  padding-bottom: 3rem;
}

.wrapper {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 32px;
}

.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--primary);
  margin-bottom: 0.9rem;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 760px;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 28px;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 16, 13, 0.82) 0%, rgba(21, 16, 13, 0.55) 45%, rgba(21, 16, 13, 0.28) 100%),
    url('/img/terrazza_panoramica.jpeg') center/cover no-repeat;
  transform: scale(1.02);
}

.home-hero__content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  color: #fff;
  padding: 64px 0;
}

.home-hero h1 {
  text-align: left;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.96;
  margin: 0 0 1rem;
  max-width: 760px;
}

.home-hero p,
.story__content p,
.menu-focus__content p,
.secondary-story__content p,
.reservation-cta p,
.event-card__content p,
.quick-info p,
.experience-card p {
  text-align: left;
}

.hero-actions,
.reservation-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2rem;
}

button,
.btnGhost {
  border-radius: 999px;
  border: none;
  padding: 15px 26px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

button:hover,
.btnGhost:hover {
  transform: translateY(-1px);
}

.btnPrenota,
.btnDark,
.btnInlineLight {
  background: var(--primary);
  color: #fff;
}

.btnPrenota:hover,
.btnDark:hover,
.btnInlineLight:hover {
  background: var(--primary-dark);
}

.btnSecondary,
.btnGhost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}

.btnSecondary:hover,
.btnGhost:hover {
  background: rgba(255,255,255,0.16);
}

.btnText {
  background: transparent;
  color: var(--primary-dark);
  padding-left: 0;
  font-weight: 700;
}

.btnText::after {
  content: ' →';
}

.menu-focus .btnDark,
.reservation-cta .btnPrenota {
  background: var(--primary-dark);
}

.hero-highlights {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 900px;
}

.hero-highlights div {
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 18px;
  padding: 16px 18px;
}

.hero-highlights strong,
.hero-highlights span {
  display: block;
}

.hero-highlights span {
  margin-top: 6px;
  color: rgba(255,255,255,0.84);
  font-size: 0.96rem;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.quick-info article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow);
}

.quick-info__label {
  display: inline-block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 10px;
}

.quick-info a {
  color: var(--text);
}

.story,
.menu-focus,
.secondary-story,
.reservation-cta {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 34px;
  align-items: center;
}

.story__media img,
.secondary-story__media img,
.experience-card img,
.menu-focus__gallery img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.story__media img,
.secondary-story__media img {
  min-height: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.story__content,
.menu-focus__content,
.secondary-story__content,
.reservation-cta {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.story__content h2,
.menu-focus__content h2,
.secondary-story__content h2,
.reservation-cta h2,
.section-heading h2 {
  text-align: left;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 1.1rem;
}

.section-heading {
  margin-bottom: 20px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.experience-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.experience-card img {
  height: 290px;
}

.experience-card div {
  padding: 20px 22px 24px;
}

.experience-card h3,
.event-card h3 {
  text-align: left;
  font-size: 1.4rem;
  margin: 0 0 0.8rem;
}

.menu-focus__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.menu-focus__gallery img {
  height: 240px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.menu-focus__gallery img:first-child {
  grid-column: 1 / -1;
  height: 320px;
}

.event-card {
  min-height: 380px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(24, 20, 16, 0.95), rgba(24, 20, 16, 0.7)),
    url('/img/terrazza_caltabellotta.jpeg') center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: end;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.event-card__content {
  padding: 34px;
  max-width: 620px;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 12px;
}

.btnInlineLight {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
}

.secondary-story {
  grid-template-columns: 1fr 0.9fr;
}

.reservation-cta {
  grid-template-columns: 1.2fr auto;
}

.reservation-cta__actions {
  justify-content: flex-end;
}

.reservation-cta .btnGhost {
  color: var(--primary-dark);
  background: transparent;
  border: 1px solid var(--line);
}

.social {
  margin-top: 24px;
}

@media (max-width: 980px) {
  .hero-highlights,
  .quick-info,
  .story,
  .menu-focus,
  .secondary-story,
  .experience-grid,
  .reservation-cta {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
  }

  .story__media img,
  .secondary-story__media img {
    min-height: 360px;
  }

  .reservation-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .wrapper,
  .home-hero__content {
    width: min(100% - 20px, 100%);
  }

  .home-hero__content {
    padding: 42px 0;
  }

  .home-hero h1,
  .story__content h2,
  .menu-focus__content h2,
  .secondary-story__content h2,
  .reservation-cta h2,
  .section-heading h2 {
    font-size: 2.2rem;
  }

  .story__content,
  .menu-focus__content,
  .secondary-story__content,
  .reservation-cta {
    padding: 24px;
  }

  .menu-focus__gallery img:first-child,
  .menu-focus__gallery img,
  .experience-card img,
  .story__media img,
  .secondary-story__media img {
    height: auto;
    min-height: 220px;
  }

  .hero-highlights div,
  .quick-info article {
    padding: 16px;
  }

  button,
  .btnGhost {
    width: 100%;
    text-align: center;
  }
}
