/* ============================================================
   Demo components — shared section styles
   Used across the 6 demo pages, themed via [data-theme].
   ============================================================ */

/* ─── HERO variants ─────────────────────────────────── */

/* hero--cinematic : full-screen image, content overlaid */
.hero--cinematic {
  position: relative; min-height: 92vh;
  display: flex; align-items: flex-end; padding-bottom: 7vh;
  color: #fff; overflow: hidden;
}
.hero--cinematic .hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero--cinematic .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero--cinematic .hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,14,6,0.32) 0%, rgba(20,14,6,0.18) 38%, rgba(20,14,6,0.78) 100%);
}
.hero--cinematic .hero__inner { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; width: 100%; }
.hero--cinematic h1 { color: #fff; }
.hero--cinematic em { color: #fff; opacity: 0.92; }
.hero--cinematic .hero__sub {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.78); margin-bottom: 14px;
}
.hero--cinematic .hero__lead { color: rgba(255,255,255,0.92); max-width: 56ch; margin-top: 18px; font-size: clamp(1rem, 1.2vw, 1.15rem); }
.hero--cinematic .hero__addr {
  margin-top: 28px; display: flex; gap: 20px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.78);
}

/* hero--split : two columns, image right, text left */
.hero--split { padding: 80px 0; }
.hero--split .hero__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero--split .hero__media img { width: 100%; height: 540px; object-fit: cover; border-radius: var(--r-md); }
.hero--split .hero__lead { margin-top: 18px; }
@media (max-width: 880px) { .hero--split .hero__inner { grid-template-columns: 1fr; gap: 32px; } .hero--split .hero__media img { height: 380px; } }

/* hero--editorial : typography-led, big text + small image grid below */
.hero--editorial { padding: 100px 0 60px; background: var(--c-bg); }
.hero--editorial .hero__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.hero--editorial h1 { font-size: clamp(3rem, 8vw, 6.4rem); line-height: 0.95; max-width: 16ch; }
.hero--editorial .hero__sub { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 18px; }
.hero--editorial .hero__strip { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hero--editorial .hero__strip img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--r-sm); }
@media (max-width: 720px) { .hero--editorial .hero__strip { grid-template-columns: repeat(2, 1fr); } .hero--editorial .hero__strip img { height: 160px; } }

/* hero--mono : dark, brutalist, monospace-led */
.hero--mono { background: var(--c-bg-dark); color: var(--c-bg); padding: 120px 0 80px; }
.hero--mono .hero__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.hero--mono .hero__sub { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em; color: rgba(251,248,242,0.6); margin-bottom: 28px; }
.hero--mono h1 { color: var(--c-bg); }
.hero--mono em { color: var(--c-accent); font-style: normal; border-bottom: 4px solid var(--c-accent); padding-bottom: 4px; }
.hero--mono .hero__lead { color: rgba(251,248,242,0.76); max-width: 56ch; margin-top: 22px; }
.hero--mono .hero__strip { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero--mono .hero__strip img { width: 100%; height: 240px; object-fit: cover; border-radius: 0; filter: grayscale(0.15); }
@media (max-width: 720px) { .hero--mono .hero__strip { grid-template-columns: 1fr; } }

/* booking/reservation widgets attached to hero */
.book-widget {
  background: rgba(255,255,255,0.96); color: var(--c-ink); padding: 22px;
  border-radius: var(--r-md); display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px;
  align-items: end; margin-top: 32px; box-shadow: var(--shadow-md);
}
.book-widget label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); }
.book-widget input, .book-widget select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--c-line);
  padding: 6px 0; font-size: 0.96rem; outline: none;
}
.book-widget .btn { padding: 12px 18px; }
@media (max-width: 800px) { .book-widget { grid-template-columns: 1fr 1fr; } .book-widget .btn { grid-column: 1 / -1; } }

/* langue switch (hotel) */
.lang-row { display: flex; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.lang-pill {
  padding: 6px 12px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  border-radius: var(--r-pill); background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.22);
}
.lang-pill.active { background: #fff; color: var(--c-ink); }

/* ─── ABOUT / story split ───────────────────────────── */
.about { padding: 110px 0; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 880px) { .about__grid { grid-template-columns: 1fr; gap: 40px; } }
.about__media img { width: 100%; height: 600px; object-fit: cover; border-radius: var(--r-md); }
.about__sign {
  margin-top: 28px; font-family: var(--font-serif); font-style: italic;
  color: var(--c-brand); font-size: 1.15rem; padding-left: 16px; border-left: 2px solid var(--c-brand);
}

/* ─── RESTAURANT — menu ─────────────────────────────── */
.menu-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px;
  padding-bottom: 14px; border-bottom: 1px solid var(--c-line);
}
.menu-tab {
  padding: 10px 18px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-muted); border-radius: var(--r-pill);
  transition: all var(--t-fast);
}
.menu-tab:hover { color: var(--c-ink); }
.menu-tab.active { background: var(--c-ink); color: var(--c-bg); }

.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 56px; }
@media (max-width: 760px) { .menu-list { grid-template-columns: 1fr; } }
.menu-item { padding-bottom: 22px; border-bottom: 1px dotted var(--c-line); }
.menu-item__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.menu-item__name { font-family: var(--font-serif); font-size: 1.18rem; }
.menu-item__price { font-family: var(--font-mono); font-size: 0.92rem; color: var(--c-brand); white-space: nowrap; }
.menu-item__desc { color: var(--c-ink-soft); font-size: 0.92rem; margin-top: 6px; }
.menu-tag {
  display: inline-block; margin-left: 8px; padding: 1px 6px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em;
  background: rgba(46,79,62,0.12); color: var(--c-brand); border-radius: var(--r-xs);
  vertical-align: 2px;
}

/* ─── HOTEL — rooms grid ────────────────────────────── */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .rooms { grid-template-columns: 1fr; } }
.room-card {
  background: #fff; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.room-card__media img { width: 100%; height: 240px; object-fit: cover; }
.room-card__body { padding: 22px; }
.room-card__meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--c-muted); text-transform: uppercase; }
.room-card h3 { margin: 8px 0 10px; }
.room-card__feats { margin-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.room-card__feats span {
  padding: 4px 10px; font-family: var(--font-mono); font-size: 0.7rem;
  background: var(--c-bg-warm); border-radius: var(--r-pill); color: var(--c-ink-soft);
}
.room-card__bottom { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--c-line-soft); }
.room-card__price { font-family: var(--font-serif); font-size: 1.15rem; }
.room-card__price small { display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--c-muted); margin-top: 2px; }

/* ─── HOTEL — services list ─────────────────────────── */
.services-list { display: flex; flex-direction: column; gap: 0; }
.service-row {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 22px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--c-line-soft);
  transition: background var(--t-fast);
}
.service-row:hover { background: rgba(46,79,62,0.04); padding-left: 16px; padding-right: 16px; border-radius: var(--r-sm); }
.service-num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--c-brand); }
.service-arrow { font-size: 1.4rem; color: var(--c-muted); transition: transform var(--t-fast), color var(--t-fast); }
.service-row:hover .service-arrow { transform: translateX(4px); color: var(--c-ink); }

/* ─── GALLERY ───────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 12px; }
.gallery > div { overflow: hidden; border-radius: var(--r-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gallery > div:hover img { transform: scale(1.04); }
.gallery .span-2 { grid-column: span 2; }
.gallery .span-2-row { grid-row: span 2; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } .gallery .span-2, .gallery .span-2-row { grid-column: auto; grid-row: auto; } }

/* ─── REVIEWS ───────────────────────────────────────── */
.google-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--c-ink-soft);
}
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .avis-grid { grid-template-columns: 1fr; } }
.avis-card { background: #fff; padding: 26px; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.avis-stars { color: #F4B400; font-size: 1rem; letter-spacing: 0.06em; }
.avis-card p { margin: 12px 0 18px; color: var(--c-ink-soft); font-size: 0.96rem; }
.avis-meta { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--c-line-soft); }
.avis-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--c-brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.78rem;
}
.avis-name { font-weight: 600; font-size: 0.92rem; }
.avis-date { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--c-muted); }

/* ─── CONTACT ───────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.info-block { background: #fff; padding: 32px; border-radius: var(--r-md); }
.info-block h4 { margin-bottom: 16px; }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dotted var(--c-line); font-size: 0.92rem; }
.hours-row:last-child { border-bottom: 0; }
.hours-day { color: var(--c-ink-soft); }
.hours-time { font-family: var(--font-mono); color: var(--c-ink); }

/* ─── CTA band (mid-page conversion) ────────────────── */
.cta-band { background: var(--c-brand); color: #fff; padding: 90px 0; text-align: center; }
.cta-band h2 { color: #fff; max-width: 22ch; margin: 18px auto 0; }
.cta-band p  { color: rgba(255,255,255,0.86); max-width: 56ch; margin: 22px auto 32px; }
.cta-band .eyebrow { color: var(--c-accent); }
.cta-band .btn--accent:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }

/* ─── DEMO PAGE FOOTER ──────────────────────────────── */
.r-foot { background: var(--c-bg-dark); color: rgba(251,248,242,0.78); padding: 70px 0 40px; text-align: center; }
.r-foot h4 { color: var(--c-bg); margin-bottom: 8px; }
.r-foot p { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.04em; }
.r-foot__divider { width: 60px; margin: 28px auto; border: 0; border-top: 1px solid rgba(251,248,242,0.18); }
.r-foot a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
