/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --gold:  #c8a84b;
  --bg:    #0f0f0f;
  --bg2:   #161616;
  --line:  #1e1e1e;
  --line2: #2a2a2a;
  --text:  #f0ece4;
  --muted: #888;
  --dim:   #606060;
}

/* ── Base ────────────────────────────────────────────────── */
html, body {
  height: 100%;
}

html {
  font-size: 150%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  /* full-viewport shell — scrolls only when content truly overflows */
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ── Typography helpers ──────────────────────────────────── */
.label {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.hu { font-size: 0.9rem;  color: var(--text);  font-weight: 400; line-height: 1.45; }
.en { font-size: 0.72rem; color: var(--muted); font-weight: 300; line-height: 1.45; margin-top: 0.15rem; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem 0.75rem;
  border-bottom: 1px solid var(--line2);
}

.pub-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.pub-name-en {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.site-tagline {
  font-size: 0.65rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: right;
  white-space: nowrap;
}

/* ── Info strip (address · hours · drinks) ───────────────── */
.info-strip {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.info-block {
  padding: 0.85rem 1.5rem;
}

.info-block + .info-block {
  border-left: 1px solid var(--line);
}

/* Hours block spans its own column */
.info-block.hours { min-width: 0; }
.info-block.drinks { white-space: nowrap; }

/* Hours table */
.hours-grid {
  display: grid;
  grid-template-columns: auto auto auto;
  column-gap: 0.8rem;
  row-gap: 0.18rem;
  align-items: baseline;
}

.day-hu   { font-size: 0.82rem; font-weight: 400; white-space: nowrap; }
.day-en   { font-size: 0.65rem; color: var(--muted); font-weight: 300; white-space: nowrap; }
.day-time { font-size: 0.82rem; font-weight: 400; text-align: right; white-space: nowrap; }
.day-time.closed { color: var(--dim); font-size: 0.72rem; }

/* Drinks buttons */
.btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid var(--gold);
  color: var(--gold);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.btn:hover { background: var(--gold); color: var(--bg); }

/* ── Slideshow ───────────────────────────────────────────── */
.slideshow-outer {
  flex: 1 1 0;
  min-height: 0;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

.slide-strip {
  width: 100%;
  height: 100%;
}

.slide {
  margin-left:100%;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease, margin-left 0.8s ease;
}

.slide.active { opacity: 1; margin-left:0 }
.slide.out { opacity: 0; margin-left: -100% }

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

/* Empty-state placeholder */
.slide-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.slide-empty svg { opacity: 0.3; }

.slide-empty-caption {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--dim);
}

/* ── Footer / contact ────────────────────────────────────── */
.site-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding: 0.7rem 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.contact-tag {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--dim);
}

.contact-val        { font-size: 0.82rem; font-weight: 400; }
.contact-val.muted  { font-size: 0.75rem; color: var(--muted); font-weight: 300; }

.social-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-link {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  border-bottom: 1px solid var(--line2);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.social-link:hover { color: var(--gold); border-color: var(--gold); }

.footer-copy {
  font-size: 0.6rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 700px) {
  /* Header */
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 1rem 0.7rem;
    gap: 0.2rem;
  }
  .site-tagline { text-align: left; }

  /* Info strip stacks vertically */
  .info-strip {
    grid-template-columns: 1fr;
  }
  .info-block + .info-block {
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .info-block { padding: 0.85rem 1rem; }
  .info-block.drinks { white-space: normal; }

  /* Buttons in a row on mobile */
  .btn-row { flex-direction: row; flex-wrap: wrap; }

  /* Slideshow: fixed height on mobile so it doesn't collapse */
  .slideshow-outer {
    flex: none;
    height: 38vh;
    min-height: 160px;
  }

  /* Footer stacks */
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem;
    gap: 0.6rem;
  }

  .footer-contact { gap: 0.8rem; }
}
