/* Discover Lazio — "Beyond Rome" section
   Standalone styling matched to the existing site (stone/amber + Cinzel).
   No framework, no build step. */

:root {
  --stone-900: #1c1917;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-600: #57534e;
  --stone-500: #78716c;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --amber-800: #92400e;
  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-300: #fcd34d;
  --amber-100: #fef3c7;
  --amber-50:  #fffbeb;
  --wa-green:  #25d366;
  --wa-green-d:#1aa851;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--stone-800);
  background: var(--stone-100);
  line-height: 1.6;
}

h1, h2, h3, .font-cinzel {
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.2;
}

a { color: inherit; }

.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--stone-800);
  color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1rem;
  flex-wrap: wrap;
}
.site-header .brand { font-size: 1.6rem; margin: 0; }
.site-header nav ul {
  list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0;
  flex-wrap: wrap; align-items: center;
}
.site-header nav a { text-decoration: none; transition: color .15s; }
.site-header nav a:hover, .site-header nav a.active { color: var(--amber-300); }

/* ---------- Language switcher ---------- */
.lang-switch { display: inline-flex; border: 1px solid var(--stone-600); border-radius: 6px; overflow: hidden; }
.lang-switch button {
  background: transparent; color: var(--stone-300); border: 0; cursor: pointer;
  padding: .35rem .6rem; font-size: .8rem; font-weight: 600; letter-spacing: .03em;
  transition: background .15s, color .15s;
}
.lang-switch button + button { border-left: 1px solid var(--stone-600); }
.lang-switch button:hover { color: #fff; }
.lang-switch button.active { background: var(--amber-600); color: #fff; }

/* ---------- i18n visibility ---------- */
[data-lang] { display: none; }
body.lang-en [data-lang="en"],
body.lang-it [data-lang="it"],
body.lang-de [data-lang="de"] { display: revert; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.hero .inner { position: relative; text-align: center; color: #fff; padding: 1.5rem; max-width: 60rem; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); margin: 0 0 1rem; }
.hero p.lede { font-size: clamp(1.05rem, 2.2vw, 1.4rem); margin: 0 0 1.8rem; }
.hero .cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; border: 0;
  padding: .85rem 1.6rem; border-radius: 6px; font-size: 1.05rem; font-weight: 600;
  transition: background .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber-600); color: #fff; }
.btn-amber:hover { background: var(--amber-700); }
.btn-dark { background: var(--stone-800); color: #fff; }
.btn-dark:hover { background: var(--stone-900); }
.btn-light { background: #fff; color: var(--stone-800); }
.btn-light:hover { background: var(--stone-100); }
.btn-wa { background: var(--wa-green); color: #fff; display: inline-flex; align-items: center; gap: .55rem; }
.btn-wa:hover { background: var(--wa-green-d); }

/* ---------- Sections ---------- */
section { padding: 4rem 0; }
.section-narrow { max-width: 768px; margin: 0 auto; text-align: center; }
h2.section-title { font-size: clamp(1.7rem, 4vw, 2.1rem); text-align: center; margin: 0 0 2.5rem; }
.prose p { font-size: 1.1rem; color: var(--stone-700); margin: 0 0 1.2rem; }
.bg-amber-50 { background: var(--amber-50); }
.bg-white { background: #fff; }

/* ---------- Destination cards grid ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,.12); transition: transform .15s, box-shadow .15s; position: relative;
  display: flex; flex-direction: column;
}
a.card:hover { transform: scale(1.02); box-shadow: 0 10px 20px rgba(0,0,0,.15); }
.card .thumb { position: relative; height: 14rem; }
.card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 1.25rem; margin: 0 0 .5rem; }
.card .sub { color: var(--stone-600); margin: 0; flex: 1; }
.card .pill {
  display: inline-block; margin-top: 1.3rem; align-self: flex-end;
  background: var(--amber-100); color: var(--amber-800); padding: .3rem .7rem;
  border-radius: 6px; font-size: .85rem; font-weight: 600;
}
.card .pill.soon { background: var(--stone-200); color: var(--stone-600); }

/* ---------- Detail page ---------- */
.detail-wrap { max-width: 820px; margin: 0 auto; }
.back-link { display: inline-block; margin: 2rem 0 0; color: var(--amber-700); text-decoration: none; font-weight: 600; }
.back-link:hover { text-decoration: underline; }
.subtitle { font-size: 1.2rem; color: var(--stone-600); font-style: italic; margin: .25rem 0 2rem; text-align: center; }
.facts { width: 100%; border-collapse: collapse; margin: 2rem 0; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.facts th, .facts td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--stone-200); vertical-align: top; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 38%; background: var(--amber-50); color: var(--stone-800); font-weight: 700; }
.detail-img { width: 100%; border-radius: 10px; margin: 2rem 0 .5rem; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.caption { font-size: .85rem; color: var(--stone-500); margin: 0 0 2rem; text-align: center; }
.tip {
  background: var(--amber-50); border-left: 4px solid var(--amber-600);
  padding: 1.2rem 1.4rem; border-radius: 0 8px 8px 0; margin: 2.5rem 0;
}
.tip strong { color: var(--amber-800); }

/* ---------- WhatsApp join section ---------- */
.wa-section { background: linear-gradient(135deg, #0f5132 0%, #128c3e 100%); color: #fff; }
.wa-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .wa-grid { grid-template-columns: 1.4fr 1fr; } }
.wa-grid h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2rem); margin: 0 0 1rem; }
.wa-grid p { font-size: 1.1rem; color: rgba(255,255,255,.92); margin: 0 0 1.6rem; }
.wa-qr { background: #fff; border-radius: 14px; padding: 1rem; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.wa-qr img { width: 100%; max-width: 230px; border-radius: 8px; display: block; margin: 0 auto; }
.wa-qr .grp { font-weight: 700; color: var(--stone-800); margin: .6rem 0 0; }
.wa-qr .scan { font-size: .8rem; color: var(--stone-500); margin: .15rem 0 .3rem; }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa-green);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.3); transition: transform .15s, background .15s;
}
.wa-float:hover { transform: scale(1.08); background: var(--wa-green-d); }
.wa-float svg { width: 34px; height: 34px; fill: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--stone-800); color: #fff; margin-top: 3rem; padding: 2.5rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer h3 { font-size: 1.25rem; margin: 0 0 1rem; }
.site-footer p, .site-footer a { color: var(--stone-300); text-decoration: none; }
.site-footer a:hover { color: var(--amber-300); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .4rem 0; }
.footer-bottom { border-top: 1px solid var(--stone-700); margin-top: 2rem; padding-top: 1.5rem; text-align: center; color: var(--stone-500); }

/* ---------- Explore additions ---------- */
.area-group { margin-bottom: 3.5rem; }
.area-group:last-child { margin-bottom: 0; }
.block-title { font-family: "Cinzel", Georgia, serif; font-size: 1.4rem; margin: 2.5rem 0 1.1rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: .5rem; }
.gthumb { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.gthumb img { width: 100%; height: 100%; object-fit: cover; }
ul.highlights { list-style: none; padding: 0; margin: 0 0 1rem; }
ul.highlights li { position: relative; padding-left: 1.7rem; margin-bottom: .7rem; color: var(--stone-700); }
ul.highlights li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--amber-600); }

/* ---------- Nav WhatsApp button ---------- */
.site-header nav a.nav-wa, header nav a.nav-wa {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--wa-green, #25d366); color: #fff !important;
  padding: .4rem .8rem; border-radius: 6px; font-size: .85rem; font-weight: 600;
}
.site-header nav a.nav-wa:hover, header nav a.nav-wa:hover { background: var(--wa-green-d, #1aa851); color: #fff !important; }
.site-header nav a.nav-wa svg, header nav a.nav-wa svg { width: 16px; height: 16px; fill: #fff; }
