/* vlasypoprad.sk — redesign 2026
   Clean, light, responsive layout with a violet accent palette. */

:root {
  --bg: #faf7fd;
  --surface: #ffffff;
  --ink: #2b2140;
  --muted: #7a6f92;
  --accent: #7c3aed;
  --accent-deep: #5b21b6;
  --accent-soft: #f1e8fe;
  --line: #e8e0f4;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(70, 40, 120, .08);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  /* short pages: keep the footer at the viewport bottom instead of mid-page */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* soft lavender/teal tint washing down from the top of the page */
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(196, 168, 255, .26), transparent 70%),
    radial-gradient(1100px 620px at 85% 8%, rgba(233, 213, 255, .5), transparent 70%),
    radial-gradient(700px 460px at 55% 30%, rgba(45, 212, 191, .09), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* quiet, viewport-fixed decoration so long pages don't run out into flat emptiness:
   soft colour glows hugging the side margins + faint hair-like curves in the corners */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='760' height='760' viewBox='0 0 760 760' fill='none'><g stroke='%237c3aed' stroke-opacity='.2' stroke-width='3' stroke-linecap='round'><path d='M-20 560 C 180 430 400 690 780 500'/><path d='M-20 620 C 210 490 430 750 780 560'/><path d='M-20 680 C 240 550 460 810 780 620'/></g></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='640' height='640' viewBox='0 0 640 640' fill='none'><g stroke='%232bb8d9' stroke-opacity='.18' stroke-width='3' stroke-linecap='round'><path d='M660 80 C 460 200 240 -20 -20 150'/><path d='M660 140 C 440 260 220 40 -20 210'/></g></svg>"),
    radial-gradient(680px 680px at -8% 34%, rgba(167, 130, 245, .38), transparent 70%),
    radial-gradient(760px 760px at 106% 70%, rgba(217, 86, 240, .22), transparent 70%),
    radial-gradient(620px 620px at 108% 12%, rgba(45, 212, 191, .2), transparent 70%),
    radial-gradient(520px 520px at -4% 96%, rgba(45, 212, 191, .14), transparent 70%);
  background-repeat: no-repeat;
  background-position: left -110px bottom -170px, right -70px top -40px, 0 0, 0 0, 0 0, 0 0;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent-deep); text-decoration-color: rgba(124, 58, 237, .4); }
a:hover { color: var(--accent); }

/* ---------- header ---------- */

.topbar {
  height: 5px;
  background: linear-gradient(90deg, #a78bfa, #7c3aed, #4c1d95);
}

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.logo {
  font-size: 26px;
  font-weight: 400;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -.5px;
  white-space: nowrap;
}
.logo b {
  font-weight: 800;
  background: linear-gradient(90deg, #7c3aed, #4c1d95);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
}

nav.main { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
nav.main a {
  padding: 8px 13px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
}
nav.main a:hover { background: var(--accent-soft); color: var(--accent-deep); }
nav.main a.active { background: var(--accent); color: #fff; }

/* ---------- layout ---------- */

main {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 34px 20px 60px;
  flex: 1;
}

.hero {
  position: relative;
  /* pink -> violet-blue -> cyan diagonal, in the spirit of a modern mesh gradient */
  background: linear-gradient(112deg, #d956f0 0%, #8455f2 30%, #4f5ee8 52%, #2bb8d9 78%, #2dd4bf 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: 44px 40px;
  margin-bottom: 38px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
/* large soft curved sweeps across the whole panel */
.hero-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-copy, .hero .hero-photos { position: relative; z-index: 1; }
.hero h1 { margin: 0 0 10px; font-size: clamp(26px, 4vw, 38px); line-height: 1.2; }
.hero p { margin: 0 0 22px; max-width: 640px; font-size: 17px; opacity: .95; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
  overflow: hidden;
}
.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-photos a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .85);
  box-shadow: 0 10px 26px rgba(30, 10, 70, .35);
  aspect-ratio: 3 / 4;
  transition: transform .25s ease;
}
.hero-photos a:hover { transform: scale(1.03) rotate(0deg) !important; }
.hero-photos a:nth-child(1) { transform: rotate(-2.5deg); }
.hero-photos a:nth-child(2) { transform: rotate(2deg) translateY(16px); }
.hero-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .hero.split { grid-template-columns: 1fr; }
  .hero-photos { max-width: 420px; }
  .hero-photos a:nth-child(2) { transform: rotate(2deg); }
}

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.btn.light { background: #fff; color: var(--accent-deep); }
.btn.ghost { border: 2px solid rgba(255, 255, 255, .7); color: #fff; }
.btn.solid { background: var(--accent); color: #fff; }
.btn:hover { filter: brightness(1.05); color: inherit; }
.btn.light:hover { color: var(--accent); }

article.content, .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
article.content { padding: 34px 38px; }

article.content h1 { margin-top: 0; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.25; }
article.content h3 {
  color: var(--accent-deep);
  font-size: 20px;
  margin: 1.8em 0 .5em;
}
article.content h3:first-child { margin-top: 0; }
article.content h3 a { text-decoration: none; }
article.content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}

.page-meta { color: var(--muted); font-size: 14px; margin: -6px 0 18px; }

.content-img {
  display: block;
  margin: 10px auto;
  border-radius: 10px;
}

/* price tables */
article.content table { width: 100%; border-collapse: collapse; margin: 6px 0 10px; }
article.content table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
article.content table td[colspan] { border-bottom: 0; padding-top: 18px; }
article.content table td[align="right"], article.content table td.price {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--accent-deep);
  white-space: nowrap;
}

/* ---------- photo grids / gallery ---------- */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.photo-grid a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: var(--accent-soft);
  aspect-ratio: 3 / 4;
}
.photo-grid a.wide { aspect-ratio: 4 / 3; grid-column: span 2; }
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}
.photo-grid a:hover img { transform: scale(1.04); }

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.album-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.album-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(70, 40, 120, .14);
  color: inherit;
}
.album-card .cover { aspect-ratio: 3 / 2; overflow: hidden; }
.album-card .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.album-card .body { padding: 16px 18px 18px; }
.album-card h2, .album-card h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.35; }
.album-card p { margin: 0 0 10px; color: var(--muted); font-size: 14.5px; }
.album-card .count {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 11px;
  display: inline-block;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 44px 0 18px;
}
.section-head h2 { margin: 0; font-size: 24px; }
.section-head a { font-weight: 700; white-space: nowrap; }

/* ---------- kontakt ---------- */

.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
@media (max-width: 760px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-card { padding: 26px 28px; }
.contact-card h3 { margin: 0 0 4px; color: var(--accent-deep); }
.contact-card .big { font-size: 22px; font-weight: 800; margin: 12px 0 2px; }
.contact-card .big a { text-decoration: none; }
.map-frame {
  border: 0;
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- lightbox ---------- */

.lb {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 42, .92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.lb.open { display: flex; }
.lb img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.lb button {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 0;
  font-size: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
}
.lb button:hover { background: rgba(255, 255, 255, .25); }
.lb .close { top: 18px; right: 18px; }
.lb .prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--line);
  background: #fff;
  margin-top: 40px;
}
.footer-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14.5px;
}
.footer-in b { color: var(--ink); }

@media (max-width: 640px) {
  article.content { padding: 24px 20px; }
  .hero { padding: 30px 24px; }
  .photo-grid a.wide { grid-column: span 1; aspect-ratio: 3 / 4; }
}
