/* Megyeri Ebédlő – additions on top of the restaurant template (style.css). */

:root {
  --gold: #C59D5F;
  --gold-dark: #a9824a;
  --brown: #654E31;
  --ink: #212226;
  --muted: #6b6b6b;
  --paper: #f5f2ed;
}

/* ── Script font ────────────────────────────────────────── */

/* The decorative handwriting (kickers, section labels) is Parisienne, served
   from /fonts (SIL OFL, see fonts/OFL.txt). It replaced the template's Rouge
   Script, which has no "ő" or "ű". Parisienne runs wider, so size-adjust
   keeps the labels the size they were and nothing reflows. */
@font-face {
  font-family: 'Megyeri Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/parisienne-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  size-adjust: 80%;
}
@font-face {
  font-family: 'Megyeri Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/parisienne-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  size-adjust: 80%;
}

/* ── Header ─────────────────────────────────────────────── */

.main-header .logo-box { padding: 12px 0; }
.main-header .logo-box .logo { max-width: 92px; }
.sticky-header .logo-box { padding: 8px 0; }
.sticky-header .logo-box .logo { max-width: 64px; }

.main-header .outer-box { gap: 24px; }
.main-header .menu-area { margin-left: auto; }

.main-menu .navigation > li.nav-special > a { color: var(--gold); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  white-space: nowrap;
  transition: all 300ms ease;
}
.header-phone i { color: var(--gold); transition: color 300ms ease; }
.header-phone:hover { background: var(--gold); color: #fff; }
.header-phone:hover i { color: #fff; }

.announcement-bar {
  background: var(--brown);
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-size: 16px;
  line-height: 24px;
}
.announcement-bar i { color: var(--gold); margin-right: 6px; }

.mobile-menu .nav-logo img { max-width: 90px; }
.mobile-menu .contact-info ul li { color: rgba(255, 255, 255, 0.8); }

/* ── Hero ───────────────────────────────────────────────── */

.banner-style-two .content-inner .image-box .image-1 img {
  aspect-ratio: 1;
  object-fit: cover;
}
.banner-style-two .banner-carousel .content-box h2 { color: var(--ink); }
/* The first slide's heading is the page's h1: same look and fade-in as the other slides' h2. */
.banner-style-two .banner-carousel .content-box h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: 54px;
  line-height: 66px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1000ms ease;
}
.banner-style-two .banner-carousel .active .content-box h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1000ms;
}
/* The slide kicker sits where this decoration was drawn. */
.banner-style-two .vector-image .vector-1 { display: none; }

/* Hungarian doesn't title-case, so keep button labels as written. */
.theme-btn-one,
.theme-btn-two { text-transform: none; }

/* ── Seasonal offer teaser ──────────────────────────────── */

.special-teaser {
  position: relative;
  padding: 110px 0;
  text-align: center;
  overflow: hidden;
}
.special-teaser .bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.special-teaser .bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 10, 0.68);
}
.special-teaser-inner { position: relative; max-width: 760px; margin: 0 auto; }
.special-teaser .sec-title .sub-title { color: var(--gold); }
.special-teaser p { color: #fff; font-size: 18px; line-height: 30px; margin: 18px 0 36px; }

/* ── Menu cards (shared by home, weekly and special pages) ── */

.section-label {
  display: block;
  font-family: 'Megyeri Script', cursive;
  font-size: 34px;
  line-height: 40px;
  color: var(--gold);
  margin-bottom: 14px;
}

.menu-block-two .inner-box .single-item { padding-left: 0; }
.menu-block-one .inner-box .single-item h4,
.menu-block-two .inner-box .single-item h4 { padding-right: 16px; }
.menu-block-one .inner-box .single-item .price,
.menu-block-two .inner-box .single-item .price { white-space: nowrap; color: var(--gold-dark); }
.menu-sections .single-item .text p { font-size: 16px; line-height: 26px; color: var(--muted); }
.menu-block-one .inner-box .menu-sections .single-item,
.menu-block-two .inner-box .menu-sections .single-item { margin-bottom: 16px; }
.menu-block-one .inner-box .menu-sections .single-item .upper-box,
.menu-block-two .inner-box .menu-sections .single-item .upper-box { margin-bottom: 6px; }

.menu-sections > * + * { margin-top: 34px; }

.set-menu {
  position: relative;
  border: 1px solid rgba(197, 157, 95, 0.55);
  background: #fbf8f3;
  padding: 18px 26px 22px;
}
.set-menu .section-label { margin-bottom: 6px; }
.set-menu-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.set-menu-courses li {
  font-family: 'Libre Baskerville', serif;
  font-size: 20px;
  line-height: 34px;
  color: #000;
  font-weight: 700;
}
.set-menu .price {
  font-family: 'Libre Baskerville', serif;
  font-size: 26px;
  line-height: 34px;
  color: var(--gold-dark);
  white-space: nowrap;
}
.set-menu-note { margin-top: 8px; font-size: 15px; color: var(--muted); }

.dessert .single-item .upper-box { margin-bottom: 8px; }

.day-note {
  font-style: italic;
  color: var(--muted);
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

.menu-closed { text-align: center; padding: 18px 0 6px; }
.menu-closed i { font-size: 34px; color: var(--gold); margin-bottom: 12px; }
.menu-closed p { color: var(--muted); font-size: 18px; }
.menu-closed strong { color: var(--ink); font-family: 'Libre Baskerville', serif; }

/* ── Today's menu on the home page ─────────────────────── */

.today-menu { padding: 120px 0 130px; }
.today-menu .sec-title { margin-bottom: 90px; }
.today-menu .sec-title h2 { font-size: 40px; line-height: 54px; }
.today-menu .today-card { text-align: left; }
.today-menu .today-card .inner-box { padding: 54px 60px; }
.today-menu .btn-box { margin-top: 90px; }

@media (min-width: 992px) {
  .today-card .menu-sections {
    display: grid;
    grid-template-columns: 5fr 7fr;
    grid-auto-flow: dense;
    column-gap: 60px;
    align-items: start;
  }
  .today-card .menu-sections > * { grid-column: 1; margin-top: 0; }
  .today-card .menu-sections > * + * { margin-top: 0; }
  .today-card .menu-sections > .set-menu ~ .dessert,
  .today-card .menu-sections > .day-note { margin-top: 30px; }
  .today-card .menu-sections > .dish-list { grid-column: 2; grid-row: 1 / span 4; }
  .today-card .menu-sections.dishes-only { display: block; }
  .today-card .menu-sections.dishes-only .dish-list { column-count: 2; column-gap: 60px; }
  .today-card .menu-sections.dishes-only .dish-list .single-item { break-inside: avoid; }
  .today-card .menu-sections.dishes-only .dish-list .section-label { column-span: all; }
  .today-card .menu-sections > .menu-closed { grid-column: 1 / -1; }
}

.menu-footnote { margin-top: 70px; font-size: 16px; color: var(--muted); }
.menu-footnote.light { color: rgba(255, 255, 255, 0.75); }
.menu-disclaimer { font-size: 14px; font-style: italic; color: var(--muted); }

.daily-menu-empty { padding: 20px 0; }
.daily-menu-empty p {
  color: #fff;
  font-size: 22px;
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
}
.daily-menu-empty p.small { font-size: 16px; font-family: 'DM Sans', sans-serif; opacity: 0.8; margin-top: 12px; }
.daily-menu-empty a { color: var(--gold); }

/* ── Weekly menu page ───────────────────────────────────── */

.page-title .content-box h1 {
  position: relative;
  display: block;
  font-size: 60px;
  line-height: 70px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}
/* Search keywords inside the h1, shown as a quieter second line. */
.page-title .content-box h1 .h1-sub {
  display: block;
  margin-top: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  line-height: 32px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}
.page-title .content-box .bread-crumb li { padding-right: 0; margin-right: 0; }
.page-title .content-box .bread-crumb li::before { display: none; }

.weekly-menu.menu-style-four { padding: 110px 0 60px; background: var(--paper); }
.special-page.menu-style-four { padding: 110px 0 100px; background: var(--paper); }

.week-switch {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 70px;
}
.week-switch a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--brown);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.week-switch a.next { margin-left: auto; }
.week-switch a:hover { color: var(--gold); }

.day-grid { row-gap: 110px; margin-bottom: 110px; }
.day-card { height: 100%; }
.menu-style-four .day-card { padding: 50px 44px 46px; }
.day-card.is-today .day-card-header h3 { color: var(--gold-dark); }
.day-card.is-today .day-card-header { border-bottom-color: var(--gold); }

.day-card-header {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.day-card-header h3 { font-size: 30px; line-height: 40px; }
.day-card-header time { font-size: 15px; color: var(--muted); letter-spacing: 0.04em; }
.today-badge {
  position: absolute;
  right: 0;
  top: 6px;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 7px 12px;
}

.menu-notes { text-align: center; margin-bottom: 110px; }
.menu-notes .menu-footnote { margin-top: 0; }
.weekend-title { scroll-margin-top: 120px; }
.weekly-empty { text-align: center; font-size: 18px; padding-bottom: 60px; }
.weekly-empty a { color: var(--gold-dark); font-weight: 700; }

/* ── Seasonal offer page ────────────────────────────────── */

.special-page .sec-title { margin-bottom: 100px; }
.special-intro { font-size: 20px; line-height: 32px; max-width: 760px; margin: 0 auto; }
.special-expired {
  background: #fff;
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  margin-bottom: 60px;
}
.special-expired a { color: var(--gold-dark); font-weight: 700; }
.special-card { margin-bottom: 80px; }
.special-card .menu-sections > * + * { margin-top: 26px; }
.special-heading {
  font-family: 'Megyeri Script', cursive;
  font-weight: 400;
  font-size: 40px;
  line-height: 46px;
  color: var(--gold);
}
.menu-sections .special-heading ~ .special-heading { margin-top: 50px; }
.item-contents li {
  position: relative;
  padding-left: 16px;
  font-size: 16px;
  line-height: 26px;
  color: var(--muted);
}
.item-contents li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.order-box {
  position: sticky;
  top: 120px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 46px 40px;
  margin-bottom: 80px;
}
.order-box .sub-title {
  display: block;
  font-family: 'Megyeri Script', cursive;
  font-size: 44px;
  line-height: 54px;
  color: var(--gold);
  margin-bottom: 18px;
}
.order-box p { color: rgba(255, 255, 255, 0.85); font-size: 17px; line-height: 28px; margin-bottom: 10px; }
.order-contact { margin-top: 30px; }
.order-contact .theme-btn-one { margin-bottom: 18px; }
.order-contact .theme-btn-one i { margin-right: 8px; }
.order-contact strong { color: #fff; }

/* ── About ──────────────────────────────────────────────── */

.about-style-two .text a { color: var(--gold-dark); text-decoration: underline; }
.about-style-two .text a:hover { color: var(--brown); }

/* ── Events, contact, welcome band ──────────────────────── */

.events-section { padding: 130px 0 120px; }
.events-section .image_block_two .image-box .image-2 { width: 46%; right: -20px; border: 10px solid #fff; }

.welcome-band .inner-box { gap: 40px; flex-wrap: wrap; }
.welcome-band .inner-box .sec-title { max-width: none; }
.welcome-band .sec-title .sub-title { font-size: 40px; line-height: 50px; }
.band-hours p {
  color: #fff;
  font-family: 'Libre Baskerville', serif;
  font-size: 22px;
  line-height: 36px;
}

.contact-section .info-inner .social-links li a,
.contact-section .info-inner .social-links li:last-child a { background: #3B5998; }
.contact-section .info-inner .info-list li i { color: var(--gold); }
.map-inner {
  height: 100%;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(62, 84, 141, 0.1);
}
.map-inner iframe { display: block; width: 100%; height: 100%; min-height: 480px; border: 0; }
.map-consent { display: flex; align-items: center; justify-content: center; background: var(--paper); }
.map-placeholder { max-width: 460px; padding: 40px 30px; text-align: center; }
.map-placeholder > i { font-size: 42px; color: var(--gold); margin-bottom: 16px; }
.map-placeholder p { font-size: 15px; line-height: 24px; margin-bottom: 14px; }
.map-placeholder .map-address { font-family: 'Libre Baskerville', serif; font-size: 20px; line-height: 30px; color: var(--ink); }
.map-placeholder a { color: var(--brown); text-decoration: underline; }
.map-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 24px; }
.map-actions [hidden] { display: none; }
.map-actions button { border: 0; cursor: pointer; }

/* ── Széchenyi 2020 ─────────────────────────────────────── */

.szechenyi-infoblokk {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 98;
  line-height: 0;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.15);
}
.szechenyi-infoblokk img { width: 170px; height: auto; }

.szechenyi-page { padding: 100px 0 140px; }
.szechenyi-logo { margin-bottom: 50px; }
.szechenyi-page .project { max-width: 900px; margin-bottom: 70px; }
.szechenyi-page h2 { font-size: 32px; line-height: 44px; margin-bottom: 26px; }
.szechenyi-page h3 { font-size: 20px; line-height: 30px; margin: 26px 0 12px; }
.szechenyi-page dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 30px; }
.szechenyi-page dt { font-weight: 700; color: var(--ink); }
.szechenyi-page p { margin-bottom: 14px; }

/* ── Adatkezelési tájékoztató ─────────────────────────── */

.legal-page { padding: 100px 0 140px; }
.legal-text { max-width: 900px; }
.legal-text h2 { font-size: 28px; line-height: 40px; margin: 50px 0 20px; }
.legal-text p { margin-bottom: 14px; }
.legal-text a { color: var(--brown); text-decoration: underline; }
.legal-effective { font-weight: 700; color: var(--ink); }
.legal-facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 18px; }
.legal-facts dt { font-weight: 700; color: var(--ink); }
.legal-facts dd { margin: 0; }
.legal-list { margin: 0 0 18px 22px; list-style: disc; }
.legal-list li { margin-bottom: 6px; }
.legal-table-wrap { overflow-x: auto; margin-bottom: 18px; }
.legal-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: 10px 12px; border-bottom: 1px solid #e6dfd4; font-size: 15px; line-height: 22px; text-align: left; vertical-align: top; }
.legal-table th { color: var(--ink); background: var(--paper); }
.legal-table code, .legal-text code { font-size: 14px; color: var(--ink); }

/* ── Sütibanner ─────────────────────────────────────────── */

.cookie-consent {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1000;
  max-width: 480px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 24px 26px;
  background: #fff;
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.cookie-consent[hidden], .cookie-settings[hidden], .cookie-consent-status[hidden], [data-consent-open][hidden] { display: none; }
.cookie-consent-title { margin-bottom: 10px; font-size: 20px; line-height: 28px; color: var(--ink); }
.cookie-consent p { margin-bottom: 12px; font-size: 14px; line-height: 22px; color: var(--ink); }
.cookie-consent a { color: var(--brown); text-decoration: underline; }
.cookie-consent code { padding: 0 3px; font-size: 13px; color: var(--ink); background: var(--paper); }
.cookie-consent-status { font-style: italic; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
/* Accepting and refusing look exactly the same, so neither is pushed. */
.cookie-consent-actions button {
  flex: 1 1 140px;
  padding: 11px 20px;
  border: 2px solid var(--brown);
  border-radius: 6px;
  background: var(--brown);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.cookie-consent-actions button:hover,
.cookie-consent-actions button:focus-visible { border-color: var(--gold-dark); background: var(--gold-dark); }

.cookie-settings-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.plain-message { padding: 110px 0; }
.plain-message p { font-size: 20px; margin-bottom: 36px; }
.plain-message .btn-box a { margin: 0 8px 12px; }

/* ── Small screens ──────────────────────────────────────── */

@media (max-width: 1199px) {
  .header-phone span { display: none; }
  .header-phone { padding: 12px 14px; }
}

@media (max-width: 991px) {
  .today-menu .today-card .inner-box { padding: 44px 30px; }
  .events-section .content-column { margin-top: 40px; }
  .contact-section .info-inner { margin-right: 0; margin-bottom: 40px; }
  .order-box { position: static; }
}

@media (max-width: 767px) {
  .legal-facts { grid-template-columns: 1fr; gap: 2px; }
  .legal-facts dd { margin-bottom: 10px; }
  .main-header .outer-box { gap: 12px; }
  .header-phone { order: 2; }
  .main-header .menu-area { order: 3; margin-left: 0; }
  .page-title .content-box h1 { font-size: 40px; line-height: 50px; }
  .page-title .content-box h1 .h1-sub { font-size: 18px; line-height: 28px; }
  .banner-style-two .banner-carousel .content-box h1 { font-size: 36px; line-height: 46px; }
  .today-menu .sec-title h2 { font-size: 30px; line-height: 42px; }
  .menu-style-four .day-card { padding: 40px 22px 36px; }
  .set-menu { padding: 16px 18px 18px; }
  .set-menu-courses li { font-size: 18px; line-height: 30px; }
  .set-menu .price { font-size: 22px; }
  .menu-block-one .inner-box .single-item h4,
  .menu-block-two .inner-box .single-item h4 { font-size: 18px; line-height: 28px; }
  .menu-block-one .inner-box .single-item .price,
  .menu-block-two .inner-box .single-item .price { font-size: 18px; }
  .week-switch { margin-bottom: 50px; }
  .szechenyi-infoblokk img { width: 96px; }
  .szechenyi-page dl { grid-template-columns: 1fr; gap: 2px; }
  .szechenyi-page dd { margin-bottom: 10px; }
  .order-box { padding: 36px 24px; }
  .welcome-band.video-section { padding: 90px 0; }
  .map-inner, .map-inner iframe { min-height: 360px; }
  .cookie-consent { left: 12px; right: 12px; bottom: 12px; max-width: none; max-height: calc(100vh - 24px); padding: 20px; }
}

@media (max-width: 575px) {
  .set-menu-body { flex-direction: column; align-items: flex-start; gap: 6px; }
  .set-menu-courses li { overflow-wrap: anywhere; }
}
