.hero {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.hero-card,
.menu-card,
.event-card,
.info-card,
.gallery-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media {
  min-height: 260px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.05;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.hero-actions,
.menu-grid,
.events-grid,
.info-grid,
.gallery-grid {
  display: grid;
  gap: 14px;
}

.menu-grid,
.events-grid,
.info-grid,
.gallery-grid {
  grid-template-columns: 1fr;
}

.menu-body,
.event-body,
.info-body {
  padding: 18px;
}

.menu-body h3,
.event-body h3,
.info-body h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.menu-body p,
.event-body p,
.info-body p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.price-row,
.info-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.price-row:last-child,
.info-line:last-child {
  border-bottom: 0;
}

.price-name {
  color: var(--text);
  font-weight: 600;
}

.price-value {
  color: var(--accent-dark);
  font-weight: 800;
  white-space: nowrap;
}

.event-meta {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-weight: 700;
  margin-top: 4px;
}

/* 4 OLDALAS ITALLAP BLOKK */

.drinkbook-showcase {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), rgba(240, 232, 220, 0.9)),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.drinkbook-copy {
  text-align: center;
  min-width: 0;
}

.drinkbook-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
}

.drinkbook-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 620px;
  margin-inline: auto;
}

.drinkbook-copy .eyebrow {
  margin: 0 auto 12px;
}

.drinkbook-scene {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 12px 0;
}

.drinkbook-zoom {
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: center center;
  will-change: transform;
  transition: none;
}

.drinkbook-viewport {
  width: 100%;
  display: flex;
  justify-content: center;
  perspective: 1600px;
  overflow: visible;
  cursor: grab;
  touch-action: none;
}

.drinkbook-viewport.dragging {
  cursor: grabbing;
}

.drinkbook {
  --card-width: 280px;
  --card-height: 400px;
  --radius: calc(var(--card-width) / 2);

  position: relative;
  width: var(--card-width);
  height: var(--card-height);
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  transition: transform 0.45s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}

.drinkbook,
.drinkbook * {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.drinkbook-face,
.drinkbook-inner,
.drinkbook-inner * {
  pointer-events: none;
}

.drinkbook-face {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  backface-visibility: hidden;
  border: 1px solid rgba(139, 94, 60, 0.16);
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.14),
    0 8px 16px rgba(0, 0, 0, 0.08);
}

.drinkbook-front {
  transform: rotateY(0deg) translateZ(var(--radius));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 236, 226, 0.97) 100%);
}

.drinkbook-right {
  transform: rotateY(90deg) translateZ(var(--radius));
  background: linear-gradient(180deg, rgba(250, 247, 242, 0.98) 0%, rgba(237, 226, 211, 0.98) 100%);
}

.drinkbook-back {
  transform: rotateY(180deg) translateZ(var(--radius));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 231, 217, 0.97) 100%);
}

.drinkbook-left {
  transform: rotateY(-90deg) translateZ(var(--radius));
  background: linear-gradient(180deg, rgba(248, 243, 235, 0.98) 0%, rgba(232, 220, 204, 0.98) 100%);
}

.drinkbook-inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.drinkbook-inner::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 18px;
  border: 1px solid rgba(139, 94, 60, 0.08);
  pointer-events: none;
}

.drinkbook-badge {
  display: inline-flex;
  align-self: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(139, 94, 60, 0.08);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.drinkbook-face h3 {
  margin: 0;
  text-align: center;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.05;
}

.drinkbook-subtitle {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.drinkbook-mini-list {
  margin-top: 6px;
  display: grid;
  gap: 10px;
}

.drinkbook-mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(139, 94, 60, 0.12);
  font-size: 15px;
}

.drinkbook-mini-row:last-child {
  border-bottom: 0;
}

.drinkbook-mini-row span {
  color: var(--text);
  font-weight: 600;
}

.drinkbook-mini-row strong {
  color: var(--accent-dark);
  white-space: nowrap;
}

/* KÉPES ITALLAP LAYEREK */

.drinkbook-desktop-content {
  display: block;
}

.drinkbook-mobile-content {
  display: none;
}

.menu-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #ffffff;
  z-index: 2;
}

.menu-layer {
  position: absolute;
  inset: 0;
}

.menu-image-layer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-image-layer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.map-card-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 24px;
}

.map-card {
  width: 100%;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.map-card .contact-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-card h3,
.map-card .map-text {
  width: 100%;
  text-align: left;
}

.map-embed {
  width: 100%;
  max-width: 700px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  margin: 0 auto;
}

.map-embed iframe {
  display: block;
  width: 100%;
}

.map-actions {
  width: 100%;
  max-width: 700px;
  margin: 16px auto 0;
  display: flex;
  justify-content: center;
}

.program-signup-form {
  max-width: 760px;
  margin: 0 auto;
}

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

.signup-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.signup-field-full {
  grid-column: 1 / -1;
}

.signup-field label {
  font-weight: 700;
  color: var(--text);
}

.signup-field input,
.signup-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
  box-sizing: border-box;
}

.signup-field textarea {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 768px) {
  .signup-grid {
    grid-template-columns: 1fr;
  }
}

/* DESKTOP */

@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1.1fr 1fr;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .events-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drinkbook-showcase {
    grid-template-columns: minmax(0, 1fr) 560px;
    gap: 36px;
    padding: 26px 28px;
    align-items: center;
  }

  .drinkbook-copy {
    text-align: left;
  }

  .drinkbook-copy .eyebrow {
    margin: 0 0 12px;
  }

  .drinkbook-copy p {
    margin-inline: 0;
    max-width: 520px;
  }

  .drinkbook-scene {
    overflow: visible;
  }

  .drinkbook {
    --card-width: 420px;
    --card-height: 520px;
    --radius: calc(var(--card-width) / 2);
  }

  .menu-image-layer img {
    width: 112%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

/* MOBIL */

@media (max-width: 767px) {
  .drinkbook-showcase {
    padding: 18px 16px;
  }

  .drinkbook-copy {
    text-align: center;
  }

  .drinkbook-copy .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .drinkbook-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .drinkbook {
    --card-width: 160px;
    --card-height: 330px;
    --radius: calc(var(--card-width) / 2);
  }

  .drinkbook-inner {
    padding: 18px 16px;
  }

  .drinkbook-face h3 {
    font-size: 28px;
  }

  .drinkbook-mini-row {
    font-size: 13px;
  }

  .drinkbook-desktop-content {
    display: none;
  }

  .drinkbook-mobile-content {
    display: block;
  }

  .hero-copy h1 {
    text-align: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drinkbook {
    transition: none;
  }

  .drinkbook-zoom {
    transition: none;
  }
}

/* SLIDER */

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
}

.slides {
  position: relative;
  width: 100%;
}

.slide {
  display: none;
  width: 100%;
}

.slide.active {
  display: block;
}

.slide img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  background: white;
}

.slide-img-wide {
  transform: scaleX(1.08);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 22px;
  background: rgba(0, 0, 0, 0.45);
  color: white;
}

.slider-btn.prev {
  left: 12px;
}

.slider-btn.next {
  right: 12px;
}

.slider-dots {
  display: none;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.dot.active {
  background: white;
}

/* PROGRAMOK */

.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.program-card .event-body {
  height: 100%;
}

.program-top-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  color: #8b5e3c;
}

.program-title {
  text-align: center;
  font-size: 1.1rem;
  margin: 6px 0 10px;
}

.program-text {
  text-align: center;
  margin: 0;
  line-height: 1.55;
}

.weekly-program-wrap {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 12px;
}

.weekly-program-content {
  min-width: 0;
}

.weekly-nav-btn {
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.weekly-nav-btn:hover {
  background: rgba(0, 0, 0, 0.14);
}

#programok .event-meta {
  display: table;
  margin: 0 auto 14px;
}

/* KISEBB KÉPERNYŐS FINOMÍTÁSOK */

@media (max-width: 767px) {
  .slide img {
    height: 240px;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  #programok .section-head,
  #programok .section-head > div,
  #programok .section-head h2 {
    width: 100%;
    text-align: center !important;
    justify-content: center;
  }

  #programok .section-head > div {
    display: block;
  }

  #programok .section-head h2 {
    margin: 0 auto;
  }

  #galeria .section-head,
  #galeria .section-head > div,
  #galeria .section-head h2 {
    width: 100%;
    text-align: center !important;
    justify-content: center;
  }

  #galeria .section-head > div {
    display: block;
  }

  #galeria .section-head h2 {
    margin: 0 auto;
  }

  .programs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .weekly-program-wrap {
    grid-template-columns: 34px 1fr 34px;
    gap: 8px;
  }

  .weekly-nav-btn {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .program-title {
    font-size: 1rem;
  }
  .info-line > span {
  white-space: nowrap;
}
}
@media (min-width: 768px) {
  .drinkbook-showcase {
    grid-template-columns: minmax(0, 1fr) 560px;
    gap: 36px;
    padding: 26px 28px;
    align-items: center;
  }

  .drinkbook-scene {
    overflow: visible;
  }

  .drinkbook {
    --card-width: 220px;
    --card-height: 520px;
    --radius: 150px;
  }
}
.menu-zoom-btn {
  margin-top: 14px;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--accent-dark);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.menu-zoom-btn:hover {
  opacity: 0.92;
}

.menu-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.84);
  display: none;
  z-index: 9999;
  padding: 24px;
}

.menu-lightbox.open {
  display: block;
}

.menu-lightbox-toolbar {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 10px;
  z-index: 10001;
}

.menu-lightbox-control,
.menu-lightbox-close {
  border: none;
  border-radius: 999px;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  background: white;
  color: #111;
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
}

.menu-lightbox-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: grab;
}

.menu-lightbox-stage.dragging {
  cursor: grabbing;
}

.menu-lightbox-stage img {
  max-width: 90vw;
  max-height: 86vh;
  display: block;
  transform-origin: center center;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}
.menu-zoom-btn {
  display: inline-flex;
}

@media (max-width: 767px) {
  .menu-zoom-btn {
    display: none !important;
  }
}