/* ================================================================
   PubQuest — vánoční vrstva (listopad–leden)
   Po Vánocích stačí v index.html smazat řádek s vanoce.css
   a bloky označené <!-- VÁNOCE --> (popis je v nich).
   ================================================================ */
:root{
  --pine: #1F4D3A;
  --pine-deep: #153728;
  --xred: #B3261E;
  --xred-deep: #8E1B15;
}

/* Oznamovací pruh: jedle místo oranžové */
.announce{ background: var(--pine); }
.announce a:hover{ color: #F3D79A; }

/* Hero: teplé světlo + zelená a červená místo růžové a modré */
.hero{
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(245,158,11,0.22), transparent 60%),
    radial-gradient(ellipse 50% 45% at 95% 85%, rgba(179,38,30,0.12), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(31,77,58,0.12), transparent 70%),
    var(--ink);
}
.hero-tag{ border-color: var(--xred); color: var(--xred-deep); background: rgba(179,38,30,0.06); }
.hero-tag::before{ background: var(--xred); box-shadow: 0 0 12px rgba(179,38,30,0.7); }

/* Jemně padající sníh (vypne se pro lidi s omezeným pohybem) */
.xmas-snow{
  position: absolute; inset: -40px 0 0; z-index: 1; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(170,190,182,0.75) 0 2px, transparent 2.6px),
    radial-gradient(circle, rgba(170,190,182,0.6) 0 1.5px, transparent 2px),
    radial-gradient(circle, rgba(190,205,198,0.7) 0 2.5px, transparent 3.2px);
  background-size: 220px 220px, 160px 160px, 300px 300px;
  background-position: 0 0, 40px 70px, 120px 30px;
  animation: xmas-snow 26s linear infinite;
  opacity: .9;
}
@keyframes xmas-snow{
  from{ background-position: 0 0, 40px 70px, 120px 30px; }
  to{ background-position: 60px 660px, 0 550px, 200px 930px; }
}
@media (prefers-reduced-motion: reduce){ .xmas-snow{ animation: none; } }

/* Běžící pruh: jedle a červené hvězdičky */
.marquee{ background: var(--pine-deep); border-color: var(--xred); }
.marquee-track span::after{ color: #F3D79A; }

/* Spodní dárkový blok na Vánoce schováme — nahoře je vánoční sekce #darek */
.gift{ display: none; }

/* ===== Vánoční sekce #darek ===== */
.xmas-gift{
  position: relative; overflow: hidden;
  background: var(--pine); color: #FBF6EA;
  padding: 92px 32px 64px;
}
.xmas-gift::before{ /* stuha přes celou šířku */
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--xred);
}
.xmas-gift-inner{
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 56px; align-items: center;
}
.xmas-hand{
  display: block; font-family: 'Caveat', cursive; font-weight: 700; font-size: clamp(34px, 4vw, 48px); line-height: 1;
  color: #F3D79A; transform: rotate(-3deg); transform-origin: left; margin-bottom: 10px;
}
.xmas-gift h2{
  font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(36px, 4.4vw, 62px); line-height: 1.16; letter-spacing: 0.005em; color: #FBF6EA; margin-bottom: 22px;
}
.xmas-gift-copy > p{ font-size: 17px; line-height: 1.55; color: rgba(251,246,234,0.85); max-width: 50ch; margin-bottom: 20px; }
.xmas-list{ list-style: none; display: grid; gap: 10px; margin-bottom: 28px; }
.xmas-list li{ position: relative; padding-left: 30px; font-size: 17px; line-height: 1.45; color: rgba(251,246,234,0.85); }
.xmas-list li::before{ content: ''; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; background: var(--xred); transform: rotate(45deg); }
.xmas-list strong{ color: #FBF6EA; }
.xmas-actions{ display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.xmas-note{ font-family: 'Caveat', cursive; font-weight: 700; font-size: 26px; color: #F3D79A; }

/* skutečné tiskoviny položené na stole */
.xmas-flatlay{ position: relative; aspect-ratio: 1 / 0.88; }
.xmas-flatlay img{ position: absolute; display: block; height: auto; }
.xmas-flatlay img:not(.xf-pecet){ border-radius: 10px; box-shadow: 0 22px 40px rgba(0,0,0,0.45); }
.xf-zapis{ width: 33%; left: 0; top: 6%; transform: rotate(-6deg); z-index: 3; }
.xf-denicek{ width: 32%; left: 25%; top: 0; transform: rotate(3deg); z-index: 2; }
.xf-postava{ width: 44%; right: 0; top: 3%; transform: rotate(5deg); z-index: 3; }
.xf-ukol{ width: 25%; left: 33%; top: 50%; transform: rotate(-7deg); z-index: 4; }
.xf-pecet{ width: 15%; left: 9%; bottom: 10%; transform: rotate(-14deg); z-index: 5; filter: drop-shadow(0 10px 14px rgba(0,0,0,0.4)); }
@media (max-width: 900px){
  .xmas-gift{ padding: 72px 22px 36px; }
  .xmas-gift-inner{ grid-template-columns: 1fr; gap: 40px; }
  .xmas-flatlay{ max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px){
  .xmas-note{ font-size: 23px; }
}

/* štítek „Dárek pod stromeček“ v úvodu ať není schovaný pod menu */
@media (min-width: 961px){ .hero{ padding-top: 170px; } }

/* ===== Světýlka (girlanda) ===== */
.xmas-lights{
  position: absolute; left: 0; right: 0; top: 0; height: 60px; z-index: 3; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='60' viewBox='0 0 200 60'%3E%3Cpath d='M0 8 Q100 40 200 8' fill='none' stroke='%232B2A26' stroke-width='2'/%3E%3Crect x='37' y='17.2' width='6' height='6' rx='1' fill='%233A3833'/%3E%3Cellipse cx='40' cy='30.2' rx='5.5' ry='8.5' fill='%23E04A3F'/%3E%3Cellipse cx='38.2' cy='27.2' rx='1.6' ry='3' fill='%23fff' fill-opacity='.55'/%3E%3Crect x='97' y='23' width='6' height='6' rx='1' fill='%233A3833'/%3E%3Cellipse cx='100' cy='36' rx='5.5' ry='8.5' fill='%23F3C34B'/%3E%3Cellipse cx='98.2' cy='33' rx='1.6' ry='3' fill='%23fff' fill-opacity='.55'/%3E%3Crect x='157' y='17.2' width='6' height='6' rx='1' fill='%233A3833'/%3E%3Cellipse cx='160' cy='30.2' rx='5.5' ry='8.5' fill='%235DBB7A'/%3E%3Cellipse cx='158.2' cy='27.2' rx='1.6' ry='3' fill='%23fff' fill-opacity='.55'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-size: 200px 60px;
}
.xmas-lights::after{
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='60' viewBox='0 0 200 60'%3E%3Cdefs%3E%3Cfilter id='b' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='5'/%3E%3C/filter%3E%3C/defs%3E%3Ccircle cx='40' cy='30.2' r='13' fill='%23E04A3F' fill-opacity='.55' filter='url%28%23b%29'/%3E%3Ccircle cx='100' cy='36' r='13' fill='%23F3C34B' fill-opacity='.55' filter='url%28%23b%29'/%3E%3Ccircle cx='160' cy='30.2' r='13' fill='%235DBB7A' fill-opacity='.55' filter='url%28%23b%29'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-size: 200px 60px;
  animation: xmas-twinkle 2.8s ease-in-out infinite alternate;
}
@keyframes xmas-twinkle{ from{ opacity: .25; } to{ opacity: 1; } }
@media (prefers-reduced-motion: reduce){ .xmas-lights::after{ animation: none; opacity: .7; } }
.hero .xmas-lights{ top: 140px; }
@media (max-width: 820px){ .hero .xmas-lights{ top: 104px; } }
.xmas-gift .xmas-lights{ top: 12px; }

/* sníh i v zelené sekci — tady bílý */
.xmas-gift .xmas-snow{
  z-index: 0; opacity: .55;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.9) 0 2px, transparent 2.6px),
    radial-gradient(circle, rgba(255,255,255,0.7) 0 1.5px, transparent 2px),
    radial-gradient(circle, rgba(255,255,255,0.8) 0 2.5px, transparent 3.2px);
}
.xmas-gift-inner{ position: relative; z-index: 2; }

/* běžící pruh: vločky místo hvězd */
.marquee-track span::after{ content: '❄'; }

/* větvička jmelí/cesmíny u nadpisu */
.xmas-holly{ display: inline-block; width: 86px; height: 58px; vertical-align: middle; margin-left: 12px; overflow: visible; transform: rotate(-8deg); }
@media (max-width: 520px){ .xmas-holly{ width: 58px; height: 40px; } }
@media (max-width: 820px){ .hero{ padding-top: 140px; } }

/* ===== Vánoční sekce jako první věc na stránce (nad úvodem) ===== */
.xmas-gift{ padding-top: 228px; }
.xmas-gift::before{ top: 141px; }
.xmas-gift .xmas-lights{ top: 153px; }
@media (min-width: 961px){ .hero{ padding-top: 90px; min-height: auto; } }
@media (max-width: 900px){
  .xmas-gift{ padding-top: 186px; }
  .xmas-gift::before{ top: 106px; }
  .xmas-gift .xmas-lights{ top: 118px; }
}
@media (max-width: 820px){ .hero{ padding-top: 70px; } }
