/* =========================================================
   Menu Page — pergola.restaurant/meniu
   ========================================================= */

/* ── Page hero (compact) ──────────────────────────────────── */

.menu-page-hero {
  position: relative;
  height: 36vh;
  min-height: 220px;
  max-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1a1a2e;
}

.menu-page-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/pano/terasa-acoperita-bar-vitrine-vin.jpg');
  background-size: 169% auto;
  background-position: center 40%;
  opacity: 0.5;
}

.menu-page-hero__content {
  position: relative;
  padding: 2rem 2rem 3rem;
  color: #fff;
}

.menu-page-hero__label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C49A3C;
  margin-bottom: 0.5rem;
}

.menu-page-hero__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1;
  margin: 0;
}

/* ── Sticky category nav ──────────────────────────────────── */

.menu-nav-wrapper {
  position: sticky;
  top: 60px;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid rgba(196, 154, 60, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.menu-cat-nav {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 1rem;
}

.menu-cat-nav::-webkit-scrollbar { display: none; }

.menu-cat-pill {
  flex-shrink: 0;
  padding: 0.8rem 1.2rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.menu-cat-pill:hover  { color: #2D4A7A; }
.menu-cat-pill.active { color: #C49A3C; border-bottom-color: #C49A3C; }

/* ── Menu body ────────────────────────────────────────────── */

.menu-body {
  background: #F7F3ED;
  min-height: 60vh;
  padding-bottom: 4rem;
}

.menu-body .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Category section ─────────────────────────────────────── */

.menu-category {
  padding-top: 3rem;
  scroll-margin-top: 120px;
}

.menu-cat-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 300;
  color: #2D4A7A;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(196, 154, 60, 0.25);
}

/* ── Items grid ───────────────────────────────────────────── */

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(196, 154, 60, 0.12);
  border: 1px solid rgba(196, 154, 60, 0.15);
}

.menu-item {
  background: #fff;
  padding: 0;          /* padding moves to menu-item-body */
  transition: background 0.15s;
}

.menu-item-body {
  position: relative;
  padding: 0.85rem 1.1rem;
}

.menu-item:hover          { background: #faf8f4; }
.menu-item:hover .menu-item-body { background: #faf8f4; }
.menu-item--featured      { background: #fdf9f0; }
.menu-item--featured .menu-item-body { background: #fdf9f0; }

/* ── Food photo ──────────────────────────────────────────── */

.menu-item-photo {
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  margin: 0;           /* no bleed needed — photo is outside the body padding */
}

.menu-item-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.menu-item-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

/* Rândul cu nume+preț dispare la hover, dar rămâne în flux pt. înălțimea celulei */
.menu-item--has-reveal .menu-item-top {
  transition: opacity 0.18s;
}

.menu-item--has-reveal:hover .menu-item-top,
.menu-item--has-reveal.menu-item--revealed .menu-item-top {
  opacity: 0;
  pointer-events: none;
}

.menu-item-name {
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #222;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-item-desc {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  color: #888;
  margin: 0.3rem 0 0;
  line-height: 1.5;
  transition: opacity 0.18s;
}

.menu-item--has-reveal:hover .menu-item-desc,
.menu-item--has-reveal.menu-item--revealed .menu-item-desc {
  opacity: 0;
}

.menu-item-badge {
  font-family: 'Raleway', sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C49A3C;
  border: 1px solid #C49A3C;
  border-radius: 2px;
  padding: 1px 5px;
  flex-shrink: 0;
  margin-top: 0.4rem;
  display: inline-block;
}

.menu-item-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: #555;
  flex-shrink: 0;
  padding-left: 0.4rem;
}

/* ── Reveal overlay — acoperă celula, distribuie conținutul cu spații egale ── */

.menu-item-reveal {
  position: absolute;
  inset: 0;
  padding: 0 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.18s;
  will-change: opacity;
}

.menu-item:hover .menu-item-reveal,
.menu-item--revealed .menu-item-reveal {
  opacity: 1;
}

/* Item-ul cu panel deschis trebuie să fie deasupra vecinilor */
.menu-item--panel-open {
  z-index: 5;
}

.menu-item-name-small {
  font-family: 'Raleway', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Meta row (allergens + kcal + ℹ) — în flux normal în overlay ── */

.menu-item-meta {
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-item-allergens {
  display: flex;
  gap: 1px;
  flex-shrink: 0;
}

.menu-item-kcal {
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  color: #888;
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: auto;
}

/* ℹ button — în flex meta, fără positioning absolut, fără pointer-events issues */

.menu-item-info-btn {
  background: none;
  border: none;
  padding: 0 2px;
  cursor: pointer;
  font-size: 0.75rem;
  color: #bbb;
  line-height: 1;
  flex-shrink: 0;
  pointer-events: auto;
  transition: color 0.15s;
}

.menu-item-info-btn:hover { color: #C49A3C; }

/* ── Nutrition panel ──────────────────────────────────────── */

.menu-nutrition-panel {
  position: absolute;
  top: 100%;
  left: -1px;
  right: -1px;
  z-index: 10;
  padding: 0.65rem 0.75rem;
  background: #faf8f4;
  border: 1px solid rgba(196,154,60,0.2);
  border-top: 2px solid rgba(196,154,60,0.45);
  box-shadow: 0 6px 16px rgba(0,0,0,0.09);
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  color: #777;
}

.menu-nutrition-panel[hidden] { display: none; }

.menu-nutr-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
}

.menu-nutr-label { color: #999; }

.menu-nutr-value {
  text-align: right;
  color: #555;
  white-space: nowrap;
}

.menu-nutr-sub { padding-left: 0.8rem; }

.menu-nutr-energy {
  font-weight: 500;
  color: #555;
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(196,154,60,0.2);
}

.menu-nutr-disclaimer {
  margin-top: 0.5rem;
  font-size: 0.65rem;
  color: #bbb;
  font-style: italic;
}

.allergen-icon {
  display: inline-flex;
  width: 13px;
  height: 13px;
  color: #bbb;
  cursor: help;
  transition: color 0.15s;
  flex-shrink: 0;
}

.allergen-icon svg {
  width: 100%;
  height: 100%;
}

.allergen-icon:hover { color: #C49A3C; }

/* ── Allergen disclaimer ──────────────────────────────────── */

.menu-allergen-note {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  color: #999;
  text-align: center;
  max-width: 580px;
  margin: 2.5rem auto 0;
  line-height: 1.7;
}

/* ── Loading / error states ───────────────────────────────── */

.menu-loading,
.menu-error {
  text-align: center;
  padding: 5rem 2rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  color: #999;
}

.menu-error { color: #c0392b; }

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 640px) {
  .menu-items-grid {
    border-left: none;
    border-right: none;
  }

  .menu-body .container { padding: 0 1rem; }

  .menu-page-hero__content { padding: 1.5rem 1.5rem 2.5rem; }
}

/* =========================================================
   Sala Principală page — /sala
   ========================================================= */

/* ── Intro ────────────────────────────────────────────────── */

.sala-intro {
  background: #F7F3ED;
  padding: 4.5rem 0;
}

.sala-intro .container,
.sala-features .container,
.sala-gallery .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sala-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sala-intro-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C49A3C;
  margin-bottom: 0.75rem;
}

.sala-intro-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: #2D4A7A;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.sala-intro-body p {
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: #555;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.sala-intro-image {
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.sala-intro-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ── Feature strip ────────────────────────────────────────── */

.sala-features {
  background: #fff;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(196, 154, 60, 0.15);
  border-bottom: 1px solid rgba(196, 154, 60, 0.15);
}

.sala-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.sala-feat {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(196, 154, 60, 0.15);
}

.sala-feat:last-child { border-right: none; }

.sala-feat-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 1rem;
  color: #C49A3C;
}

.sala-feat-icon svg {
  width: 100%;
  height: 100%;
}

.sala-feat-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #2D4A7A;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.sala-feat-body {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: #777;
  line-height: 1.7;
}

/* ── Gallery ──────────────────────────────────────────────── */

.sala-gallery {
  background: #F7F3ED;
  padding: 3.5rem 0;
}

.sala-gallery-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C49A3C;
  margin-bottom: 1.5rem;
}

.sala-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.sala-gallery-item {
  overflow: hidden;
}

.sala-gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.sala-gallery-item:hover img { transform: scale(1.03); }

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 768px) {
  .sala-intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sala-intro-image img { height: 280px; }

  .sala-features-grid {
    grid-template-columns: 1fr;
  }

  .sala-feat { border-right: none; border-bottom: 1px solid rgba(196, 154, 60, 0.15); }
  .sala-feat:last-child { border-bottom: none; }

  .sala-gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .sala-intro .container,
  .sala-features .container,
  .sala-gallery .container { padding: 0 1rem; }
}

@media (max-width: 480px) {
  .sala-gallery-grid { grid-template-columns: 1fr; }
  .sala-gallery-item img { height: 220px; }
}

/* =========================================================
   Despre page — /despre
   ========================================================= */

/* ── Shared hero subheading ────────────────────────────── */

.menu-page-hero__subheading {
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.6rem;
  margin-bottom: 0;
}

/* ── Section shared heading ───────────────────────────── */

.despre-section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--ink, #1a120a);
}

/* ── Story section ────────────────────────────────────── */

.despre-story {
  padding: 5rem 0;
  background: #F7F3ED;
}

.despre-story-body {
  max-width: 740px;
  margin: 0 auto;
}

.despre-story-body p {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: #3a2e22;
  margin-bottom: 1.4rem;
}

.despre-story-body p:last-child { margin-bottom: 0; }

/* ── Spaces section ───────────────────────────────────── */

.despre-spaces {
  padding: 5rem 0;
  background: #fff;
}

.despre-spaces .spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}

.despre-spaces .space-card {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(196, 154, 60, 0.18);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.despre-spaces .space-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.space-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.space-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.space-card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #1a120a;
  margin: 0;
}

.space-card-body p {
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  color: #5a4a3a;
  margin: 0;
  flex: 1;
}

.space-card-body .btn {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.55rem 1.2rem;
  border: 1px solid #C49A3C;
  color: #C49A3C;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
  align-self: flex-start;
  margin-top: auto;
}

.space-card-body .btn:hover {
  background: #C49A3C;
  color: #fff;
}

/* ── Values section ───────────────────────────────────── */

.despre-values {
  padding: 5rem 0;
  background: #F7F3ED;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-item {
  text-align: center;
  padding: 2rem 1.5rem;
}

.value-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  color: #C49A3C;
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #1a120a;
  margin-bottom: 0.75rem;
}

.value-item p {
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: #5a4a3a;
  margin: 0;
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 900px) {
  .despre-spaces .spaces-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 1rem; }
  .value-item { padding: 1.5rem 1rem; }
}

@media (max-width: 600px) {
  .despre-story { padding: 3rem 0; }
  .despre-spaces { padding: 3rem 0; }
  .despre-values { padding: 3rem 0; }
  .space-card-img { height: 180px; }
}

/* ============================================================
