/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--beige-light);
  transition: box-shadow .3s;
}

.site-header:hover {
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 56px;
}

.site-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brown-dark);
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

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

/* Hamburger gomb */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger-btn__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.hamburger-btn[aria-expanded="true"] .hamburger-btn__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn[aria-expanded="true"] .hamburger-btn__line:nth-child(2) {
  opacity: 0;
}
.hamburger-btn[aria-expanded="true"] .hamburger-btn__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Teljes képernyős nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}

.nav-overlay--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .3s ease, transform .3s ease, visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
  .nav-overlay { transition: opacity .01s linear, visibility 0s linear; }
}

/* Mobilon a menü fentről induljon, ne függőlegesen középre igazítva:
   a hosszú lista így nem hagy üres sávot felül. A felső padding a
   bezáró × gomb helye. */
@media (max-width: 639px) {
  .nav-overlay { align-items: flex-start; }
  .nav-overlay .nav-overlay__inner {
    max-height: 100vh;
    max-height: 100dvh;
    padding: 4rem 1.5rem 2rem;
  }
}

.nav-overlay__bg-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(3rem, 16vw, 9rem);
  color: rgba(61,40,16,.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.nav-overlay__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--brown-dark);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: .25rem .5rem;
}

.nav-overlay__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2rem 1.5rem;
  width: 100%;
}

/* Csoporton kívüli, önálló linkek (pl. Főoldal) */
ul.nav-overlay__top {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
}

.nav-overlay__top li a {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 700;
  color: var(--brown-dark) !important;
  text-decoration: none !important;
  transition: color .2s;
}

.nav-overlay__top li a:hover {
  color: var(--olive-dark) !important;
}

/* Tematikus csoportok */
.nav-overlay__groups {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.nav-overlay__group {
  text-align: center;
}

.nav-overlay__group-title {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--olive-dark);
  opacity: .85;
  margin: 0 0 .85rem;
}

.nav-overlay__group-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
}

.nav-overlay__group-list a {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 600;
  color: var(--brown-dark) !important;
  text-decoration: none !important;
  transition: color .2s;
}

.nav-overlay__group-list li.current-menu-item > a {
  color: var(--olive-dark) !important;
}

.nav-overlay__group-list a:hover {
  color: var(--olive-dark) !important;
}

@media (min-width: 640px) {
  .nav-overlay__groups {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 5rem;
  }
}

.nav-overlay__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin-top: 1.75rem;
}

/* Desktopon (640px felett) a két menücsoport és a két gomb ugyanabban a
   kéthasábos rácsban ül: az „Időpontfoglalás” az Információ oszlop közepe
   alá, a „Slowly Központ” gomb a Közösség oszlop közepe alá kerül.
   (2 csoportra méretezve – ha a WP-menüben új csoport jön, ezt igazítani kell.) */
@media (min-width: 640px) {
  .nav-overlay__groups,
  .nav-overlay__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
    justify-items: center;
    width: min(580px, 100%);
  }
  .nav-overlay__groups { gap: 2rem 2rem; }
  .nav-overlay__actions { row-gap: .8rem; }
}

.nav-overlay__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.nav-overlay__socials a {
  display: inline-flex;
  transition: transform .2s;
}

.nav-overlay__socials a:hover {
  transform: translateY(-2px);
}

.nav-overlay__booking {
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: #6b2a2a !important;
  background: #f0aaaa;
  padding: .6em 1.5em;
  border-radius: 99px;
  text-decoration: none !important;
  transition: background .2s, transform .2s;
}

.nav-overlay__booking:hover {
  background: #e89090;
  transform: translateY(-1px);
}

.nav-overlay__slowly {
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: #2a4a45 !important;
  background: #9cbfb8;
  padding: .6em 1.5em;
  border-radius: 99px;
  text-decoration: none !important;
}

/* Jogi linkek a menü alján, a közösségi ikonok alatt – kicsi, halk sor */
.nav-overlay__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .4rem .6rem;
  margin-top: .25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  color: var(--text-muted);
}
.nav-overlay__legal a {
  color: var(--text-muted) !important;
  text-decoration: none !important;
  transition: color .2s;
}
.nav-overlay__legal a:hover {
  color: var(--brown-dark) !important;
  text-decoration: underline !important;
}

body.nav-open { overflow: hidden; }

/* Időpontfoglalás CTA gomb – púder */
.header-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  background: #f0aaaa;
  color: #6b2a2a !important;
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  padding: .45em 1.2em;
  border-radius: 99px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(240,170,170,.35);
}

.header-cta-btn:hover {
  background: #e89090;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(240,170,170,.45);
}

/* Gomb szövegszín override – erősebb specificitás.
   Sötétbordó, nem fehér: fehér a #f0aaaa-n csak ~1,9:1 kontraszt (minimum 4,5:1),
   a #6b2a2a ~5,5:1. Ugyanez a szín, mint a menü „Időpontfoglalás” gombján. */
.site-header .header-cta-btn,
.site-header .header-cta-btn:link,
.site-header .header-cta-btn:visited,
.site-header .header-cta-btn:hover {
  color: #6b2a2a !important;
}

/* Mobilon (a nav-overlay töréspontja alatt) a fejlécből kikerül a foglalás gomb:
   ott az alsó, görgetéskor megjelenő „Időpontfoglalás” sáv és a menü gombja viszi a foglalást. */
@media (max-width: 639px) {
  .site-header .header-cta-btn { display: none; }
}

/* Offset for fixed header */
.site-main { padding-top: 0; }

.admin-bar .site-header { top: 32px; }
.admin-bar .hero { padding-top: 56px; }

@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* 600px alatt a WP admin sáv már nem fix, hanem elgörget – ha a fejléc
   továbbra is 46px-szel lejjebb állna, görgetéskor rés maradna fölötte.
   (Csak bejelentkezve látszik; a látogatóknak nincs admin sáv.) */
@media screen and (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #3d3533;
  color: rgba(255,255,255,.7);
  padding: 1.75rem 0 1rem;
}

/* Két sor: fent márka · cím · ikonok, alatta vékony vonal után © · jogi linkek · készítő.
   A .footer__copy a rács teljes szélességét kapja (grid-column: 1 / -1). */
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  column-gap: clamp(1.5rem, 4vw, 4rem);
  row-gap: 1.25rem;
  align-items: center;
}

.footer__logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: .4rem;
}

.footer__tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.62);
  font-style: italic;
}

.footer__info p {
  font-size: .88rem;
  line-height: 1.6;
}
.footer__info p + p {
  font-size: .8rem;
  color: rgba(255,255,255,.62);
}

/* Közösségi ikonok */
.footer__social { display: flex; gap: .5rem; }
.site-footer .footer__social a,
.site-footer .footer__social a:link,
.site-footer .footer__social a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8) !important;
  transition: border-color .2s, background .2s, color .2s;
}
.site-footer .footer__social a:hover {
  color: #fff !important;
  border-color: var(--olive);
  background: rgba(156,191,184,.12);
}

/* Alsó sor: ©, jogi linkek, készítő egy vonalban */
.footer__copy {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .78rem;
  color: rgba(255,255,255,.62); /* .4 csak ~3,5:1 kontraszt volt, a minimum 4,5:1 */
}
.footer__copy p { margin: 0; }
.site-footer .footer__copy .footer__legal { margin: 0; font-size: .78rem; }
.site-footer .footer__copy .footer__legal a:link,
.site-footer .footer__copy .footer__legal a:visited { padding: 0; }

/* Készítő */
.footer__credit {
  font-size: .78rem;
  color: rgba(255,255,255,.62);
}
.footer__credit a,
.footer__credit a:link,
.footer__credit a:visited {
  color: rgba(255,255,255,.6) !important;
  text-decoration: none !important;
}
.footer__credit a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

@media (max-width: 700px) {
  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 1rem;
  }
  .footer__copy {
    flex-direction: column;
    justify-self: stretch;
    text-align: center;
    gap: .4rem;
  }
}