/* ===========================================================
   Rákóczi Húsbolt — beköszönő oldal
   =========================================================== */
:root {
  --cream: #f4eee2;
  --cream-2: #ece2cf;
  --paper: #fbf7ee;
  --charcoal: #2a2622;
  --charcoal-2: #4a443d;
  --muted: #6b6258;
  --red: #7b1e22;
  --red-deep: #5e161a;
  --red-bright: #a22b2e;
  --gold: #b68a3e;
  --line: rgba(42, 38, 34, 0.14);
  --shadow: 0 18px 40px -22px rgba(42, 38, 34, 0.45);
  --radius: 14px;
  --maxw: 1160px;
  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, iframe { display: block; max-width: 100%; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-bright); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }

h1, h2, h3 { font-family: var(--ff-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; color: var(--charcoal); margin: 0; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.22rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.eyebrow {
  font-family: var(--ff-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--red);
  margin: 0 0 0.85rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 0.6em; transform: translateY(-3px); }
.eyebrow-light { color: #e7c98e; }
.eyebrow-light::before { background: #e7c98e; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--charcoal); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 0.85em 1.5em;
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: var(--pad);
  border-radius: 999px;
  font-family: var(--ff-body); font-weight: 600; font-size: 0.98rem;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--red); color: #fff; box-shadow: 0 12px 24px -12px rgba(123, 30, 34, 0.7); }
.btn-solid:hover { background: var(--red-bright); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(244, 238, 226, 0.55); }
.btn-ghost:hover { background: rgba(244, 238, 226, 0.12); color: #fff; border-color: var(--cream); }
.btn-phone { background: var(--red); color: #fff; padding: 0.6em 1.1em; font-size: 0.92rem; }
.btn-phone:hover { background: var(--red-bright); color: #fff; }
.btn-phone svg { flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 244, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -20px rgba(42, 38, 34, 0.5); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand { display: flex; align-items: center; }
.brand img { width: 110px; height: auto; }
.nav { display: flex; align-items: center; }
.nav-menu { list-style: none; display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); margin: 0; padding: 0; }
.nav-menu > li > a:not(.btn) {
  color: var(--charcoal-2); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  position: relative; padding: 4px 0;
}
.nav-menu > li > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--red); transition: width 0.22s ease;
}
.nav-menu > li > a:not(.btn):hover { color: var(--red); }
.nav-menu > li > a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span { display: block; height: 2.5px; background: var(--charcoal); border-radius: 2px; margin: 4px 0; transition: transform 0.25s ease, opacity 0.2s ease; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; overflow: hidden; color: var(--cream); }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(18, 14, 12, 0.82) 0%, rgba(18, 14, 12, 0.55) 42%, rgba(18, 14, 12, 0.12) 100%),
    linear-gradient(180deg, rgba(18, 14, 12, 0.3) 0%, rgba(18, 14, 12, 0.18) 38%, rgba(18, 14, 12, 0.72) 100%);
}
@media (max-width: 640px) {
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(18, 14, 12, 0.55) 0%, rgba(18, 14, 12, 0.35) 40%, rgba(18, 14, 12, 0.78) 100%);
  }
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding-block: clamp(60px, 12vh, 130px); }
.hero-title { font-size: clamp(2.6rem, 6.4vw, 4.7rem); color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); font-weight: 600; }
.hero-lead { font-size: clamp(1.05rem, 2.1vw, 1.32rem); max-width: 38ch; color: rgba(255, 255, 255, 0.92); margin-top: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.9rem; }
.hero-hours { margin-top: 1.5rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.82); letter-spacing: 0.02em; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 118px); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }

/* About */
.about { background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%); }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { color: var(--charcoal-2); }
.about-points { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.about-points li { position: relative; padding-left: 1.9rem; font-weight: 600; color: var(--charcoal); }
.about-points li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 13px; height: 13px;
  background: var(--red); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-media::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.about-badge {
  position: absolute; left: -12px; bottom: 22px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.6em 1.1em; border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Offer */
.offer { background: var(--charcoal); color: var(--cream); }
.offer h2 { color: #fff; }
.offer .eyebrow { color: #e7c98e; }
.offer .eyebrow::before { background: #e7c98e; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.card {
  background: rgba(244, 238, 226, 0.04);
  border: 1px solid rgba(244, 238, 226, 0.12);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--gold); background: rgba(244, 238, 226, 0.07); }
.card-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: var(--red); color: #fff; margin-bottom: 1.1rem; }
.card-ic svg { width: 28px; height: 28px; }
.card h3 { color: #fff; margin-bottom: 0.5rem; }
.card p { color: rgba(244, 238, 226, 0.72); font-size: 0.96rem; margin: 0; }

/* Photo band */
.band { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; color: #fff; }
.band-bg, .band-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.band-bg img { object-fit: cover; }
.band-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 14, 0.55), rgba(94, 22, 26, 0.55)); }
.band-quote { position: relative; z-index: 2; font-family: var(--ff-display); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 3.6vw, 2.5rem); line-height: 1.3; margin: 0; padding: 2rem 1rem; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4); }

/* Info */
.info { background: var(--paper); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.info-col h2 { margin-bottom: 1.4rem; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 2.6rem; }
.hours tr { border-bottom: 1px solid var(--line); }
.hours tr:last-child { border-bottom: 0; }
.hours th { text-align: left; font-weight: 600; padding: 0.7rem 0; color: var(--charcoal); font-family: var(--ff-body); }
.hours td { text-align: right; padding: 0.7rem 0; color: var(--charcoal-2); font-variant-numeric: tabular-nums; }
.hours td.closed { color: var(--muted); }
.hours tr.today { background: rgba(123, 30, 34, 0.06); }
.hours tr.today th { color: var(--red); }
.hours tr.today th::after { content: " · ma"; font-weight: 700; color: var(--red); font-size: 0.78em; letter-spacing: 0.05em; }
.hours tr.today td { color: var(--red); font-weight: 700; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: 0.85rem; color: var(--charcoal-2); }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--red); }
.map-col iframe { width: 100%; min-height: 420px; height: 100%; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); filter: saturate(0.92); }

/* Footer */
.site-footer { background: var(--charcoal); color: rgba(244, 238, 226, 0.85); padding-block: clamp(40px, 6vw, 64px); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.footer-logo { width: 88px; height: auto; }
.footer-info p { margin: 0.15rem 0; font-size: 0.96rem; }
.footer-info a { color: #e7c98e; }
.footer-info a:hover { color: #fff; }
.footer-copy { margin: 0; font-size: 0.86rem; color: rgba(244, 238, 226, 0.55); text-align: right; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.card.reveal:nth-child(2) { transition-delay: 0.05s; }
.card.reveal:nth-child(3) { transition-delay: 0.1s; }
.card.reveal:nth-child(4) { transition-delay: 0.15s; }
.card.reveal:nth-child(5) { transition-delay: 0.2s; }
.card.reveal:nth-child(6) { transition-delay: 0.25s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; max-width: 460px; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .map-col iframe { min-height: 340px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-copy { text-align: center; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; z-index: 110; }
  .nav-menu {
    position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.5rem clamp(20px, 5vw, 48px) 1.4rem;
    box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform 0.3s ease; visibility: hidden;
  }
  .nav-menu.open { transform: translateY(0); visibility: visible; }
  .nav-menu > li { border-bottom: 1px solid var(--line); }
  .nav-menu > li:last-child { border-bottom: 0; padding-top: 0.9rem; }
  .nav-menu > li > a:not(.btn) { display: block; padding: 0.9rem 0; }
  .btn-phone { width: 100%; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .offer-grid { grid-template-columns: 1fr; }
  .about-media::after { inset: 10px -10px -10px 10px; }
}
