/* =========================================================
   Kúpalisko Bretka – style.css
   Palette: deep pool blue, clear turquoise, white, sun yellow
   ========================================================= */
:root {
  /* Brand: navy + sun yellow from the Kúpalisko Bretka logo, pool blue from the photos */
  --blue-900: #141f45;   /* deep navy */
  --blue-700: #1d2b5e;   /* logo navy */
  --blue-500: #1592cf;   /* pool blue */
  --turq-400: #35c3d0;
  --turq-100: #e2f4fa;
  --sky-50:   #f3f9fc;
  --sun:      #f9d046;   /* logo sun */
  --ink:      #16213f;
  --muted:    #586785;
  --line:     #dbe6f0;
  --white:    #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(7, 59, 87, .25);
  --wrap: 1160px;
  --nav-h: 72px;

  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Montserrat", var(--font);
}

/* Montserrat (self-hosted, same typeface as the logo) */
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url(../fonts/montserrat-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url(../fonts/montserrat-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Montserrat"; font-weight: 700; font-display: swap; src: url(../fonts/montserrat-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url(../fonts/montserrat-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Montserrat"; font-weight: 800; font-display: swap; src: url(../fonts/montserrat-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url(../fonts/montserrat-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-700); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.4rem); font-weight: 800; color: var(--blue-900); }
h3 { font-size: 1.2rem; font-weight: 700; color: var(--blue-900); }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blue-900); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--turq-400); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-family: var(--display);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sun); margin-bottom: .75rem;
}
.eyebrow--dark { color: var(--blue-500); }
.muted { color: var(--muted); }

/* ---------- Buttons & links ---------- */
.btn {
  font-family: var(--display);
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: 999px;
  font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue-700); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--blue-900); }
.btn--sun { background: var(--sun); color: var(--blue-900); }
.btn--sun:hover { background: #fff; }
.btn--fb { background: #1877f2; color: #fff; }
.btn--fb:hover { background: #fff; color: #1877f2; }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { background: transparent; color: var(--blue-700); border-color: var(--blue-700); }
.btn--outline:hover { background: var(--blue-700); color: #fff; }

.link { font-weight: 650; text-decoration: none; display: inline-flex; gap: .35rem; }
.link span { transition: transform .2s ease; }
.link:hover span { transform: translateX(4px); }
.link--small { font-size: .95rem; margin-top: 1rem; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(7,59,87,.5); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--blue-700); font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.brand strong { font-weight: 800; }
.brand__mark { width: 46px; height: auto; flex: none; }
.nav__right { display: flex; align-items: center; gap: .5rem; order: 3; }
.lang {
  display: inline-flex; margin-left: .5rem; padding: 3px; gap: 2px;
  border: 2px solid var(--line); border-radius: 999px; background: #fff;
  font-family: var(--display); font-weight: 700; font-size: .82rem;
}
.lang a {
  text-decoration: none; color: var(--blue-700); padding: .3rem .62rem; border-radius: 999px; line-height: 1.2;
  transition: background-color .2s, color .2s;
}
.lang a:hover { background: var(--turq-100); }
.lang a[aria-current="page"] { background: var(--blue-700); color: #fff; }

.nav__menu { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav__menu a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: .55rem .8rem; border-radius: 999px; transition: background-color .2s, color .2s;
}
.nav__menu a:hover, .nav__menu a.is-active { background: var(--turq-100); color: var(--blue-900); }
.nav__menu .nav__cta { background: var(--blue-700); color: #fff; margin-left: .4rem; }
.nav__menu .nav__cta:hover, .nav__menu .nav__cta.is-active { background: var(--blue-900); color: #fff; }

.nav__toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: var(--turq-100); cursor: pointer; padding: 0; position: relative;
}
.nav__toggle span {
  position: absolute; left: 13px; width: 20px; height: 2px; border-radius: 2px;
  background: var(--blue-900); transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: #fff; padding: 12px 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(7,59,87,.45);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .2s ease, visibility .2s;
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__menu a { padding: .95rem 1rem; font-size: 1.08rem; border-radius: 12px; }
  .nav__menu .nav__cta { margin: .5rem 0 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: min(86vh, 760px); display: flex; align-items: center;
  background: var(--blue-700);
  padding: 96px 0 150px;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,31,69,.82) 0%, rgba(20,31,69,.55) 45%, rgba(20,31,69,.12) 80%);
}
.hero__content { position: relative; max-width: 760px; margin-left: max(20px, calc((100% - var(--wrap)) / 2)); }
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .3em; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero__lead { font-size: clamp(1.08rem, 2vw, 1.28rem); max-width: 32em; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: #fff; }

/* ---------- Notice ---------- */
.notice {
  position: relative; z-index: 2; margin-top: -56px;
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border-radius: var(--radius); padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow); border-left: 6px solid var(--sun);
}
.notice__icon { flex: none; width: 44px; height: auto; margin-top: .15rem; }
.notice strong { color: var(--blue-900); font-family: var(--display); }
.notice p { margin: .2rem 0 0; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tint { background: var(--sky-50); }
.section__head { max-width: 640px; margin-bottom: 2.5rem; }

/* About split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split__text p { font-size: 1.08rem; }
.photo {
  margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: var(--turq-100); box-shadow: var(--shadow); position: relative;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Features */
.features {
  list-style: none; padding: 0; margin: clamp(48px, 6vw, 72px) 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--turq-100); color: var(--blue-700); margin-bottom: 1rem;
}
.feature__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: .3rem; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Cards */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.card { background: var(--sky-50); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.card p { color: #2f5060; }
.card--accent { background: var(--turq-100); }
.more { margin: 0 0 1.2rem; }
.more summary {
  cursor: pointer; font-weight: 650; color: var(--blue-700); list-style: none;
  display: inline-flex; align-items: center; gap: .4rem;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 1.2rem; line-height: 1; transition: transform .2s; }
.more[open] summary::after { transform: rotate(45deg); }
.more p { margin-top: .8rem; font-size: .97rem; }

.mini-prices { margin: 0 0 1.2rem; display: grid; gap: 6px; }
.mini-prices div {
  display: flex; justify-content: space-between; gap: 1rem;
  background: rgba(255,255,255,.7); border-radius: 10px; padding: .55rem .9rem;
}
.mini-prices dt { color: #2f5060; }
.mini-prices dd { margin: 0; font-family: var(--display); font-weight: 700; color: var(--blue-900); white-space: nowrap; }

/* ---------- Prices ---------- */
.prices { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.price-card {
  background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 1px 0 var(--line), var(--shadow);
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px dashed var(--line); font-size: 1.08rem;
}
.price-list li:last-child { border-bottom: 0; }
.price-list b { font-family: var(--display); font-size: 1.3rem; font-weight: 800; color: var(--blue-700); white-space: nowrap; }
.price-list b.free {
  font-size: .95rem; text-transform: uppercase; letter-spacing: .08em;
  background: var(--turq-100); color: var(--blue-900); padding: .25rem .7rem; border-radius: 999px;
}
.price-note { margin: 1rem 0 0; font-size: .92rem; color: var(--muted); }

/* ---------- Hours ---------- */
.hours { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hours__card {
  background: var(--blue-900); color: #fff; border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.5rem); box-shadow: var(--shadow);
}
.hours__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.15);
}
.hours__label { color: #b6c3e6; font-weight: 600; }
.hours__value { font-family: var(--display); font-size: 1.08rem; font-weight: 700; text-align: right; }
.hours__hint { margin: 1.4rem 0 1rem; color: #d3dcf2; }
.hours__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.hours__card .link { color: var(--sun); display: flex; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery__item {
  position: relative; padding: 0; border: 0; cursor: zoom-in; overflow: hidden;
  border-radius: var(--radius-sm); aspect-ratio: 4 / 3; background: var(--turq-100);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 0 rgba(53,195,208,.0); transition: box-shadow .25s ease;
}
.gallery__item:hover::after { box-shadow: inset 0 0 0 3px rgba(53,195,208,.9); }
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__item:last-child { grid-column: span 2; aspect-ratio: 8 / 3; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 28, 41, .94);
  display: grid; grid-template-columns: 72px 1fr 72px; align-items: center;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.lightbox__figure img { max-height: 82vh; max-width: 100%; border-radius: 10px; box-shadow: 0 30px 60px -20px #000; }
.lightbox__figure figcaption { color: #a9d9e6; font-size: .95rem; }
.lightbox__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.1); color: #fff; font-size: 2rem; line-height: 1;
  display: grid; place-items: center; justify-self: center; transition: background-color .2s;
}
.lightbox__btn:hover { background: rgba(255,255,255,.22); }
.lightbox__close { position: absolute; top: 16px; right: 16px; font-size: 1.8rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 56px); align-items: stretch; }
.contact__list { list-style: none; padding: 0; margin: 1.8rem 0 2rem; display: grid; gap: 1.1rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__list a { font-weight: 650; text-decoration: none; font-size: 1.08rem; }
.contact__list a:hover { text-decoration: underline; }
.contact__list address { font-style: normal; }
.contact__phones { display: flex; flex-direction: column; gap: .2rem; }
.contact__icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--turq-100);
  color: var(--blue-700); display: grid; place-items: center;
}
.contact__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__icon--fb { background: #e7f0fe; color: #1877f2; }
.contact__icon--fb svg { fill: currentColor; stroke: none; }
.contact__map {
  border-radius: var(--radius); overflow: hidden; min-height: 380px;
  background: var(--turq-100); box-shadow: var(--shadow);
}
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-900); color: #c3cde8; padding: 56px 0 40px; font-size: .95rem; }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 2rem 3rem; align-items: start; }
.footer__brand img { width: 220px; height: auto; }
.footer__cols { display: grid; gap: 1rem; justify-items: end; text-align: right; }
.footer p { margin: 0; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem 1.4rem; font-family: var(--display); font-weight: 600; }
.footer__social a { display: inline-flex; align-items: center; gap: .3rem; }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__copy { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: #93a0c4; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .split, .cards-2, .prices, .hours, .contact { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .hero { min-height: 0; padding: 80px 0 130px; }
  .hero__content { margin-left: auto; }
  .hero__shade { background: linear-gradient(180deg, rgba(20,31,69,.45) 0%, rgba(20,31,69,.78) 100%); }
  .nav__right { margin-left: auto; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { justify-items: start; text-align: left; }
  .footer__nav { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .features { grid-template-columns: 1fr; gap: 12px; }
  .feature { display: grid; grid-template-columns: 48px 1fr; column-gap: 1rem; padding: 1.2rem; }
  .feature__icon { grid-row: span 2; margin: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery__item:first-child { grid-row: span 1; aspect-ratio: 4 / 3; }
  .gallery__item:last-child { aspect-ratio: 16 / 9; }
  .brand { font-size: 1rem; }
  .brand__mark { width: 40px; }
  .hours__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .notice { margin-top: -44px; padding: 1.1rem 1.15rem; }
  .price-list li { font-size: 1rem; }
  .price-list b { font-size: 1.2rem; }
  .hours__row { flex-direction: column; gap: .15rem; }
  .hours__value { text-align: left; }
  .contact .btn { width: 100%; justify-content: center; }
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__prev, .lightbox__next { position: absolute; bottom: 24px; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .lightbox__figure { padding: 0 12px 70px; }
}
