/*
Theme Name: Tatris
Theme URI: https://itlearning.sk
Author: IT Learning Slovakia - Peter Hecht
Author URI: https://itlearning.sk
Description: Elegantná tmavá WordPress téma pre apartmány, hotely a ubytovacie zariadenia. Hero sekcia s fullscreen obrázkom, customizer nastavenia, galéria s lightboxom, benefity, responzívny dizajn s hamburger menu.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tatris
Tags: custom-menu, custom-logo, featured-images, full-width-template, theme-options, translation-ready, one-column, photography, portfolio
*/

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

:root {
  --bg: #080c14;
  --bg-card: #0f1a2e;
  --text: #e8e4df;
  --text-muted: #8a8580;
  --accent: #c9a96e;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── grain overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* ── site header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 clamp(20px, 5vw, 60px);
  background: rgba(8,12,20,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0;
}

.site-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.site-logo img {
  height: 100%;
  width: auto;
  display: block;
}

/* ── desktop nav ── */
.site-nav {
  display: flex;
  list-style: none;
  gap: clamp(20px, 3vw, 40px);
}

.site-nav li { list-style: none; }

.site-nav a,
.site-nav .menu-item a {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.site-nav a:hover,
.site-nav .current-menu-item a { color: var(--accent); }

/* highlighted menu item */
.site-nav .menu-highlight > a {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 500;
}

.site-nav .menu-highlight > a:hover {
  background: color-mix(in srgb, var(--accent) 85%, #fff);
}

.site-nav .menu-highlight > a::after { display: none; }

/* mobile highlight */
.mobile-menu .menu-highlight > a {
  color: var(--accent) !important;
  font-weight: 400;
}

/* menu icons spacing */
.site-nav a i,
.mobile-menu a i {
  margin-right: 4px;
}

/* ── submenu dropdown ── */
.site-nav li {
  position: relative;
}

.site-nav .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  margin-top: -2px;
}

.site-nav .sub-menu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: rgba(8,12,20,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px 0;
  min-width: 200px;
  padding-top: 12px;
  list-style: none;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

/* invisible bridge between parent and dropdown */
.site-nav .menu-item-has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 20px;
}

.site-nav .menu-item-has-children:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.site-nav .sub-menu li {
  padding: 0;
}

.site-nav .sub-menu a {
  display: block;
  padding: 8px 24px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav .sub-menu a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--accent);
}

/* ── translate button ── */
.translate-btn {
  position: relative;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 6px;
  transition: color 0.3s ease;
  margin-left: 8px;
}

.translate-btn:hover { color: #fff; }

.translate-flag {
  font-size: 1.3rem;
  line-height: 1;
}

.translate-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px;
  background: rgba(8,12,20,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 8px 0;
  min-width: 150px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  z-index: 20;
}

.translate-dropdown.open { display: block; }

.translate-dropdown a {
  display: block;
  padding: 8px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  transition: background 0.2s ease;
}

.translate-dropdown a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--accent);
}

/* hide google translate bar */
.goog-te-banner-frame, .skiptranslate { display: none !important; }
body { top: 0 !important; }

/* ── hamburger ── */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 12;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 22px; }

.hamburger.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ── mobile menu overlay ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9;
  background: rgba(8,12,20,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-y: auto;
}

.mobile-menu.active { display: flex; }

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu > li,
.mobile-menu > ul > li {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
  display: block;
  padding: 14px 20px;
}

.mobile-menu a:hover { color: var(--accent); }

/* ── mobile submenu ── */
.mobile-menu .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
}

.mobile-menu .sub-menu.open { display: block; }

.mobile-menu .sub-menu a {
  font-size: 1.1rem;
  color: var(--text-muted);
  padding: 10px 20px;
}

.mobile-menu .sub-menu a:hover { color: var(--accent); }

/* ── mobile submenu toggle arrow ── */
.mobile-menu .menu-item-has-children {
  position: relative;
}

/* mobile submenu arrow inline after text */
.mobile-menu .menu-item-has-children > a .mobile-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  margin-left: 8px;
  vertical-align: middle;
  margin-top: -3px;
  transition: transform 0.3s ease;
}

.mobile-menu .menu-item-has-children > a .mobile-arrow.open {
  transform: rotate(-135deg);
}

/* ── hero (homepage) ── */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide:first-child {
  animation: heroBgFade 2s ease forwards;
}

@keyframes heroBgFade {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.hero-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 60% 70% at center, rgba(0,0,0,0.55) 0%, rgba(8,12,20,0.25) 100%);
}

.hero-slider::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 0 clamp(20px, 5vw, 60px);
  text-align: center;
}

.hero-logo { margin-bottom: 28px; }

.hero-logo img {
  width: clamp(260px, 28vw, 420px);
  height: auto;
  display: block;
}

.hero-text h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-text h1 span {
  color: var(--accent);
  font-style: italic;
}

.hero-progress {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin: 10px auto 0;
  overflow: hidden;
}

.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
}

.hero-text p {
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  line-height: 1.85;
  margin: 0 auto;
}

.hero-text .tatris-btn {
  margin-top: 28px;
}

/* ── page hero (subpages) ── */
.page-hero {
  position: relative;
  overflow: hidden;
  height: 45vh;
  min-height: 300px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at center, rgba(0,0,0,0.5) 0%, rgba(8,12,20,0.3) 100%);
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
}

.page-hero-sm {
  height: auto;
  min-height: 0;
}

.page-hero-sm .page-hero-content {
  padding-top: 100px;
  padding-bottom: 30px;
  height: auto;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-top: 60px;
}

.page-hero-content h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

/* ── layout ── */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* ── page content ── */
.page-content {
  padding: 50px 0 80px;
  text-align: center;
}

.page-content h1,
.page-content h2,
.page-content h3 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--accent);
}

.page-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.page-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-bottom: 12px;
}

.page-content p {
  color: var(--text-muted);
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* ── novinky section ── */
.novinky-section {
  padding: 20px 0 40px;
  position: relative;
  margin-top: -60px;
  z-index: 4;
}

.novinky-header {
  text-align: center;
  margin-bottom: 32px;
}

.novinky-header h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
}

.novinky-header h2::before {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 20px;
  opacity: 0.5;
}

.novinky-footer {
  text-align: center;
  margin-top: 32px;
}

/* ── posts grid ── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.4s ease, transform 0.4s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  border-color: color-mix(in srgb, var(--accent) 15%, transparent);
  transform: translateY(-4px);
}

.post-card-img {
  height: 200px;
  overflow: hidden;
  line-height: 0;
}

.post-card-img img {
  margin: 0 !important;
  padding: 0;
  border-radius: 0;
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.post-card:hover .post-card-img img {
  transform: scale(1.05);
}

.post-card-noimg {
  background: var(--bg-elevated);
}

.post-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.post-card-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.post-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.post-card-btn {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

.posts-pagination {
  text-align: center;
}

.posts-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.posts-pagination a,
.posts-pagination span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.posts-pagination a:hover { color: var(--accent); }

.posts-pagination .current {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 900px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 550px) {
  .posts-grid { grid-template-columns: 1fr; }
}

.post-meta {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
}

.post-meta a { color: var(--accent); text-decoration: none; }

.page-content a { color: var(--accent); }

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.page-content th,
.page-content td {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-content th {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.03);
}

.page-content td {
  color: var(--text-muted);
}

.page-content tr:last-child td {
  border-bottom: none;
}

.page-content tr:hover td {
  background: rgba(255,255,255,0.02);
}

.page-content > .wrap img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 20px auto;
}

/* ── gallery ── */
.gallery-section {
  padding: 20px 0 60px;
}

.gallery-cat {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--accent);
  letter-spacing: 0.08em;
  margin: 50px 0 24px;
  text-align: center;
}

.gallery {
  columns: 3;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
  filter: brightness(0.85) saturate(0.9);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1) saturate(1);
}

.gallery-item:hover::after { opacity: 1; }

/* ── lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5,5,5,0.96);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
}

.lightbox-close svg,
.lightbox-nav svg {
  width: 20px;
  height: 20px;
  stroke: var(--text);
  stroke-width: 2;
  fill: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  font-weight: 200;
}

/* ── button shortcode ── */
.tatris-btn {
  display: inline-block;
  padding: 16px 40px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.4s ease;
  margin: 10px 4px;
}

.tatris-btn:hover {
  background: color-mix(in srgb, var(--accent) 85%, #fff);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 30%, transparent);
}

/* ── kalendár obsadenosti ── */
.tatris-calendar-wrap {
  max-width: 800px;
  margin: 30px auto;
}

.tatris-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.tatris-cal-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text);
  min-width: 260px;
  text-align: center;
}

.tatris-cal-prev,
.tatris-cal-next {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all 0.3s ease;
}

.tatris-cal-prev:hover,
.tatris-cal-next:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tatris-calendar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tatris-cal-month {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 20px;
}

.tatris-cal-month-title {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--accent);
  text-align: center;
  margin-bottom: 14px;
  font-weight: 400;
}

.tatris-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.tatris-cal-dayname {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 4px 0;
  letter-spacing: 0.05em;
}

.tatris-cal-empty {
  padding: 6px;
}

.tatris-cal-day {
  text-align: center;
  padding: 6px 2px;
  font-size: 0.8rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.tatris-cal-day.free {
  color: var(--text);
}

.tatris-cal-day.occupied {
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent);
  font-weight: 500;
}

.tatris-cal-day.past {
  color: rgba(255,255,255,0.15);
}

.tatris-cal-day.today {
  border: 1px solid var(--accent);
}

.tatris-calendar-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 18px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.legend-free {
  border: 1px solid rgba(255,255,255,0.2);
}

.legend-occupied {
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  border: 1px solid var(--accent);
}

@media (max-width: 600px) {
  .tatris-calendar-grid { grid-template-columns: 1fr; }
}

/* ── breadcrumbs ── */
.breadcrumbs {
  padding: 0;
  margin-top: -10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  text-align: center;
  width: 100%;
}

.breadcrumbs a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover { color: #fff; }

.breadcrumb-sep {
  margin: 0 8px;
  opacity: 0.4;
}

/* ── kontaktný formulár ── */
.tatris-form {
  max-width: 600px;
  margin: 0 auto;
}

.tatris-form-field {
  margin-bottom: 20px;
}

.tatris-form-field label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tatris-form-field input[type="text"],
.tatris-form-field input[type="email"],
.tatris-form-field input[type="tel"],
.tatris-form-field input[type="date"],
.tatris-form-field textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color 0.3s ease;
  outline: none;
}

.tatris-form-field input:focus,
.tatris-form-field textarea:focus {
  border-color: var(--accent);
}

.tatris-form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.tatris-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tatris-form-field .tatris-btn {
  width: 100%;
  text-align: center;
  cursor: pointer;
  border: none;
  font-family: var(--sans);
}

.tatris-form-success {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}

.tatris-form-success p {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

@media (max-width: 500px) {
  .tatris-form-row { grid-template-columns: 1fr; }
}

/* ── recenzie ── */
.recenzie-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 0 40px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--accent) 30%, transparent) transparent;
}

.recenzie-wrap::-webkit-scrollbar {
  height: 6px;
}

.recenzie-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.recenzie-wrap::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 3px;
}

.recenzie-track {
  display: flex;
  gap: 20px;
  padding: 0 clamp(20px, 5vw, 60px);
  width: max-content;
}

.recenzia-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 32px 28px;
  min-width: 300px;
  max-width: 360px;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.4s ease;
}

.recenzia-card:hover {
  border-color: color-mix(in srgb, var(--accent) 15%, transparent);
}

.recenzia-stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.recenzia-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.recenzia-author {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text);
}

.recenzia-source {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* ── gold divider before content sections ── */
.page-content .wrap::before,
.benefity-grid::before {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 40px;
  opacity: 0.5;
}

.benefity-grid::before {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}

/* ── benefity grid ── */
.benefity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.benefit-card:hover {
  border-color: color-mix(in srgb, var(--accent) 15%, transparent);
  transform: translateY(-4px);
}

.benefit-accent {
  display: none;
}

.benefit-icon {
  margin-bottom: 18px;
}

.benefit-icon i {
  font-size: 1.6rem;
  color: var(--accent);
}

.benefit-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .benefity-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 550px) {
  .benefity-grid { grid-template-columns: 1fr; }
}

/* ── footer ── */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 50px 0 30px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 300;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-widget-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-widget {
  line-height: 1.8;
}

.footer-widget a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-widget a:hover { color: var(--accent); }

.footer-widget img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.footer-widget ul {
  list-style: none;
}

.footer-widget li { margin-bottom: 6px; }

.footer-copy {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 200;
}

.footer-credit {
  text-align: center;
  margin-top: 8px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}

.footer-credit a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-credit a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim { opacity: 0; animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.anim-d1 { animation-delay: 0.1s; }
.anim-d2 { animation-delay: 0.25s; }
.anim-d4 { animation-delay: 0.55s; }
.anim-d5 { animation-delay: 0.7s; }

/* ── responsive ── */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: block; }
  .hero { height: 80vh; }
  .hero-content { height: 80vh; }
  .page-hero { height: 35vh; }
  .gallery { columns: 2; }
}

@media (max-width: 500px) {
  .gallery { columns: 1; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}
