/* Nightfall Studio – közös stílusok.
   Az oldalak stílusának nagy része inline (style="…") az elemeken, a tervezőfelület exportja miatt.
   Ide csak az alapok, az űrlap állapotai és a mobilnézet kerültek. */

/* Archivo változó betűtípus helyben tárolva (szélesség 62–125%, vastagság 100–900). OFL licenc: assets/fonts/OFL.txt */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext-wdth-normal.woff2) format('woff2-variations');
  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;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-wdth-normal.woff2) format('woff2-variations');
  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;
}

body { margin: 0; background: #F5F0E6; }
html { scroll-behavior: smooth; }
a { color: #7A5A2E; }
a:hover { color: #5A3F1C; }

input:focus, select:focus, textarea:focus { outline: 2px solid #7A5A2E; outline-offset: 1px; }
.hiba { outline: 2px solid #B3261E !important; }

/* Foglalási blokk: az űrlap és a köszönő üzenet közül mindig csak az egyik látszik. */
#urlapdoboz, #koszonjuk { display: contents; }
#urlapdoboz[hidden], #koszonjuk[hidden] { display: none; }

/* Időpontválasztó (a foglalóból töltődik) */
.idopontok { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.idopontok label { position: relative; }
.idopontok input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.idopontok span { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #B9AD95; background: #FFFFFF; border-radius: 2px; font-size: 16px; font-weight: 400; cursor: pointer; }
.idopontok input:checked + span { background: #1E2B24; color: #F5F0E6; border-color: #1E2B24; }
.idopontok input:focus-visible + span { outline: 2px solid #7A5A2E; outline-offset: 1px; }
.idopontok-info { font-size: 14px; font-weight: 400; color: #5B5F55; margin: 0; }
.idopontok.hiba { outline-offset: 4px; }
.hozzajarulas { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; line-height: 1.5; }
.hozzajarulas input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: #1E2B24; }
.hozzajarulas.hiba { outline-offset: 4px; }
.mezes { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }


/* Mindig látható menüsor */
header { position: sticky; top: 0; z-index: 50; background: #F5F0E6; }
html { scroll-padding-top: 90px; }

/* Vissza a tetejére gomb */
.fel-gomb { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; border: none; background: #1E2B24; color: #F5F0E6; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 20px rgba(30, 43, 36, 0.28); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s ease, transform .25s ease, background .2s ease; }
.fel-gomb.lathato { opacity: 1; transform: none; pointer-events: auto; }
.fel-gomb:hover { background: #7A5A2E; }
.fel-gomb:focus-visible { outline: 2px solid #7A5A2E; outline-offset: 3px; }


/* Telefonos menü elemei: asztali nézetben rejtve */
.fomenu { position: relative; }
.mobil-sav { display: none; }

/* ---------- mobilnézet ---------- */
@media (max-width: 700px) {

  /* Egysoros menüsor: logó + Foglalás + hamburger */
  html { scroll-padding-top: 76px; }
  .fomenu { flex-wrap: nowrap !important; padding: 12px 16px !important; gap: 12px !important; }
  .fomenu > a span:first-child { font-size: 20px !important; }
  .fomenu > a span:last-child { font-size: 8.45px !important; letter-spacing: 0.42em !important; margin-top: 3px !important; }
  .mobil-sav { display: flex; align-items: center; gap: 10px; }
  .mobil-foglalas { white-space: nowrap; background: #1E2B24; color: #F5F0E6 !important; text-decoration: none; font-size: 14px; font-weight: 500; padding: 0 12px; min-height: 40px; border-radius: 2px; display: inline-flex; align-items: center; }
  .menu-gomb { width: 44px; height: 44px; border: 1px solid #B9AD95; background: transparent; border-radius: 2px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0; }
  .menu-gomb span { display: block; width: 20px; height: 2px; background: #22261F; transition: transform .2s ease, opacity .2s ease; }
  .fomenu.nyitva .menu-gomb span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .fomenu.nyitva .menu-gomb span:nth-child(2) { opacity: 0; }
  .fomenu.nyitva .menu-gomb span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .fomenu > div#menu-linkek { display: none !important; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column !important; align-items: stretch !important; gap: 0 !important; background: #F5F0E6; border-bottom: 1px solid #DDD3C0; box-shadow: 0 12px 24px rgba(34, 38, 31, 0.08); padding: 8px 16px 16px; font-size: 17px !important; }
  .fomenu.nyitva > div#menu-linkek { display: flex !important; }
  #menu-linkek a { padding: 14px 4px !important; border-bottom: 1px solid #E6DECF !important; }
  #menu-linkek a:last-child { border-bottom: none !important; margin-top: 12px; justify-content: center; }
  .fel-gomb { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  h1 { font-size: 38px !important; }
  h2 { font-size: 30px !important; }
  .fomenu { padding: 16px 20px !important; }
  .fomenu > div { gap: 14px 18px !important; font-size: 14px !important; }

  /* Nyitókép telefonon a szöveg fölé kerül. */
  .hero { padding: 20px 20px 56px !important; gap: 28px !important; }
  .hero-kep { order: -1; height: 300px !important; flex-basis: 100% !important; }

  section[style*="background"] > div, #csomagok, #gyik,
  section:not([id]):not([style*="background"]) { padding-left: 20px !important; padding-right: 20px !important; }
  img[alt^="Pár takaróba"] { height: 400px !important; }
  .galeriakep { height: 300px !important; }
  #foglalas-urlap { padding: 24px !important; }

  /* Galéria oldal: telefonon két oszlop. */
  .galgrid { column-width: 140px !important; column-gap: 8px !important; }
  .galgrid img { margin-bottom: 8px !important; }
}

/* Nagyon keskeny telefonok */
@media (max-width: 370px) {
  .fomenu > a span:first-child { font-size: 17px !important; }
  .fomenu > a span:last-child { font-size: 7.2px !important; letter-spacing: 0.42em !important; margin-top: 3px !important; }
  .mobil-foglalas { font-size: 13px; padding: 0 10px; }
}
