/* ═══════════════════════════════════════════════════════
   PENZIÓN ŠPORT KÚTY — Global Stylesheet
   ═══════════════════════════════════════════════════════ */
/* Google Fonts loaded via <link> in HTML — no @import needed */

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

:root {
  --gold:       #B8975A;
  --gold-light: #D4B278;
  --gold-dark:  #8A6F3A;
  --olive:      #4d5309;
  --olive-mid:  #6b7a0e;
  --olive-light:#8a9a1a;
  --dark:       #0E0E0C;
  --dark-2:     #181816;
  --dark-3:     #242420;
  --mid:        #3A3A34;
  --cream:      #F8F8F8;
  --cream-2:    #F2F2F2;
  --cream-3:    #E8E8E8;
  --white:      #FFFFFF;
  --text:       #141414;
  --text-mid:   #444444;
  --text-light: #666666;

  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);
  --t:          0.4s var(--ease);

  --nav-h: 124px;
  --max-w: 1320px;
  --pad:   clamp(24px, 5vw, 80px);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p { line-height: 1.8; }
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { font-family: var(--font-sans); cursor: pointer; border: none; background: none; }

/* ─── UTILITIES ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 15px 36px;
  border-radius: 1px;
  transition: var(--t);
  cursor: pointer;
  white-space: nowrap;
}

.btn-gold {
  background: var(--olive-light);
  color: var(--dark);
}
.btn-gold:hover { background: #9daf20; transform: translateY(-1px); }

.btn-outline-dark {
  border: 1px solid var(--dark);
  color: var(--dark);
}
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }

.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-outline-light:hover { border-color: var(--olive-light); color: var(--olive-light); }

.btn-ghost {
  color: var(--olive);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0;
  position: relative;
}
.btn-ghost::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--olive);
  transition: width 0.3s var(--ease);
}
.btn-ghost:hover::after { width: 100%; }

/* ─── LABELS ──────────────────────────────────────────── */
.label {
  font-size: 0.65rem; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--olive-light);
}

.label-dark { color: var(--text-light); }

/* ─── DIVIDER ─────────────────────────────────────────── */
.divider {
  width: 40px; height: 1px;
  background: var(--olive);
  margin: 20px 0;
}

.divider-center { margin: 20px auto; }

/* ─── SECTION ─────────────────────────────────────────── */
.section {
  padding: clamp(70px, 10vw, 140px) var(--pad);
}

.section-sm { padding: clamp(50px, 7vw, 100px) var(--pad); }

/* ─── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 var(--pad);
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.nav.scrolled {
  background: rgba(14,14,12,0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(138,154,26,0.15);
}

.nav-inner {
  width: 100%; display: flex;
  align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center;
  line-height: 1;
}

.nav-logo-img {
  height: 104px;
  width: auto;
  display: block;
}

@media (max-width: 900px) {
  .nav-logo-img { height: 84px; }
}

@media (max-width: 480px) {
  .nav-logo-img { height: 72px; }
}

.nav-links {
  display: flex; align-items: center; gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem; letter-spacing: 0.15em; font-weight: 600;
  text-transform: uppercase; color: rgba(255,255,255,0.82);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--olive);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover { color: var(--olive-light); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--olive-light); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--olive-light) !important;
  color: var(--dark) !important;
  padding: 10px 24px !important;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #9daf20 !important; }

.nav-hamburger {
  display: none;
  flex-direction: column; gap: 6px;
  padding: 4px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block; width: 26px; height: 1px;
  background: var(--white); transition: var(--t);
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

/* Mobile menu panel */
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  z-index: 999;
  background: linear-gradient(160deg, #181c04 0%, #0e1002 100%);
  border-left: 1px solid rgba(138,154,26,0.18);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  gap: 6px;
  padding: 60px 40px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  pointer-events: none;
}

.mobile-nav.open {
  transform: translateX(0);
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  color: rgba(255,255,255,0.75);
  transition: color 0.2s, padding-left 0.2s;
  width: 100%; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--olive-light); padding-left: 6px; }

/* ─── FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.45);
  padding: clamp(60px, 8vw, 100px) var(--pad) clamp(30px,4vw,48px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 36px;
}

.footer-logo-main {
  font-family: var(--font-serif);
  font-size: 1.4rem; color: var(--white);
  letter-spacing: 0.05em; margin-bottom: 16px;
}

.footer-logo-main span { color: var(--olive); }

.footer-about {
  font-size: 0.82rem; line-height: 1.9;
  color: rgba(255,255,255,0.38); max-width: 300px;
  margin-bottom: 32px;
}

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: var(--t);
}

.footer-social a:hover { border-color: var(--olive); color: var(--olive); background: rgba(138,154,26,0.08); }
.footer-social a svg { display: block; }

.footer-col-title {
  font-size: 0.6rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--olive-light);
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.footer-links a {
  font-size: 0.8rem; color: rgba(255,255,255,0.38);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--olive-light); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}

.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.5); }

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.7rem; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-legal a:hover { color: var(--olive-light); }

/* ─── PAGE HERO (subpages) ────────────────────────────── */
.page-hero {
  height: 52vh; min-height: 360px;
  position: relative;
  display: flex; align-items: flex-end;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute; inset: -10px;
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark) 100%);
  transform: scale(1.04);
}

.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,14,12,0.70) 0%, rgba(14,14,12,0.25) 60%, rgba(14,14,12,0.05) 100%);
}

.page-hero-content {
  position: relative; z-index: 2;
  width: 100%; padding: 0 var(--pad) 64px;
}

.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 16px;
}

.breadcrumb span { color: var(--olive-light); }
.breadcrumb-sep { color: rgba(255,255,255,0.2); }

.page-hero-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  color: var(--white);
}

/* ─── ANIMATIONS ──────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

[data-reveal].revealed {
  opacity: 1; transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ─── WHATSAPP WIDGET ─────────────────────────────────── */
.wa-btn {
  position: fixed; bottom: 92px; right: 28px; z-index: 1100;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-btn svg { width: 30px; height: 30px; fill: #fff; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

.wa-popup {
  position: fixed; bottom: 160px; right: 28px; z-index: 1099;
  width: 320px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  overflow: hidden;
  transform: scale(0.85) translateY(20px);
  transform-origin: bottom right;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.wa-popup.open { opacity: 1; transform: scale(1) translateY(0); pointer-events: all; }

.wa-popup-header {
  background: #075E54;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
}
.wa-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.1rem; color: #fff;
  flex-shrink: 0;
}
.wa-header-info { flex: 1; }
.wa-header-name { font-size: 0.9rem; font-weight: 600; color: #fff; line-height: 1.2; }
.wa-header-status { font-size: 0.72rem; color: rgba(255,255,255,0.65); margin-top: 2px; }
.wa-header-status::before { content: '●'; color: #25D366; margin-right: 5px; font-size: 0.6rem; }
.wa-close {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.6); font-size: 1.3rem; line-height: 1;
  padding: 4px; transition: color 0.2s;
}
.wa-close:hover { color: #fff; }

.wa-popup-body {
  padding: 20px;
  background: #ECE5DD;
  min-height: 80px;
}
.wa-bubble {
  background: #fff;
  border-radius: 0 8px 8px 8px;
  padding: 10px 14px;
  font-size: 0.83rem; line-height: 1.6; color: #303030;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  max-width: 88%;
}
.wa-bubble-time { font-size: 0.65rem; color: #999; text-align: right; margin-top: 4px; }
.wa-alt {
  margin-top: 12px; text-align: center;
  font-size: 0.72rem; color: #5a5a5a;
  display: flex; gap: 6px; justify-content: center; align-items: center;
  flex-wrap: wrap;
}
.wa-alt a {
  color: #075E54; font-weight: 600; text-decoration: none;
  border-bottom: 1px dotted #075E54;
}
.wa-alt a:hover { color: #128C7E; }
.wa-alt span { color: #aaa; }

.wa-popup-footer {
  padding: 12px 16px;
  background: #F0F0F0;
  display: flex; gap: 8px; align-items: center;
}
.wa-input {
  flex: 1; border: none; border-radius: 20px;
  padding: 10px 16px; font-size: 0.83rem;
  font-family: var(--font-sans);
  background: #fff; outline: none;
  color: var(--text);
}
.wa-input::placeholder { color: #aaa; }
.wa-send {
  width: 38px; height: 38px; border-radius: 50%;
  background: #075E54; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; flex-shrink: 0;
}
.wa-send:hover { background: #128C7E; }
.wa-send svg { width: 18px; height: 18px; fill: #fff; margin-left: 2px; }

@media (max-width: 600px) {
  .wa-popup { width: calc(100vw - 32px); right: 16px; bottom: 140px; }
  .wa-btn { bottom: 74px; right: 16px; width: 48px; height: 48px; }
  .wa-btn svg { width: 24px; height: 24px; }
}

/* ─── RESPONSIVE ──────────────────────────────────────── */

/* Nav – hamburger pri 1100px */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  :root { --nav-h: 104px; }
}

/* Tablet */
@media (max-width: 768px) {
  :root { --nav-h: 96px; }
}

/* Mobil */
@media (max-width: 600px) {
  :root { --nav-h: 88px; }
}

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

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Buttony – menší padding na malých obrazovkách */
@media (max-width: 480px) {
  .btn { padding: 12px 22px; font-size: 0.7rem; }
  .nav-cta { padding: 9px 18px !important; }

  /* Page hero – kratšia výška na telefónoch */
  .page-hero { height: 42vh; min-height: 280px; }
  .page-hero-content { padding-bottom: 36px; }
  .page-hero-title { font-size: clamp(1.8rem, 8vw, 2.8rem); }
}

/* ─── PSL UNIFIED SLIDER ──────────────────────────────── */
.psl { position: relative; overflow: hidden; background: #0d110d; }

.psl-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* aspect-ratio namiesto height:100% — funčné aj na iOS Safari */
.psl-slide {
  min-width: 100%;
  aspect-ratio: 3 / 2;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.psl-slide img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.psl-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff; font-size: 2.2rem; line-height: 1;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
  z-index: 10; user-select: none;
}

.psl-btn:hover { background: rgba(0,0,0,0.75); }
.psl-prev { left: 14px; }
.psl-next { right: 14px; }

.psl-dots {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}

.psl-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer; transition: background 0.2s, transform 0.2s;
  border: none;
}

.psl-dot.active { background: var(--olive-light); transform: scale(1.4); }

@media (max-width: 600px) {
  .psl-btn { width: 40px; height: 40px; font-size: 1.7rem; }
  .psl-prev { left: 8px; }
  .psl-next { right: 8px; }
}

/* ─── SCROLL TO TOP ───────────────────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--olive-light);
  color: var(--dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 990;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s;
  pointer-events: none;
}

#scrollTop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

#scrollTop:hover {
  background: #9daf20;
}

#scrollTop svg {
  width: 20px;
  height: 20px;
  stroke: var(--dark);
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 600px) {
  #scrollTop {
    bottom: 20px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}

/* ─── ACCESSIBILITY ───────────────────────────────────── */
/* Skip to content */
.skip-link {
  position: fixed; left: 16px;
  background: var(--olive-light); color: var(--dark);
  padding: 10px 20px; font-size: 0.85rem; font-weight: 500;
  z-index: 9999; text-decoration: none;
  /* Visually hidden until focused */
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; overflow: hidden;
  width: 1px; height: 1px; top: 16px;
  transition: clip-path 0.1s, width 0.1s, height 0.1s;
}
.skip-link:focus {
  clip: auto; clip-path: none;
  width: auto; height: auto;
  overflow: visible;
}

/* Focus rings */
.psl-btn:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--olive-light);
  outline-offset: 3px;
}

/* Slider dots keyboard accessible */
.psl-dot:focus-visible {
  outline: 2px solid var(--olive-light);
  outline-offset: 4px;
}

/* ─── MOBILE ROOM CARD CTA ────────────────────────────── */
/* Na mobilných zariadeniach bez hover vždy zobraziť CTA */
@media (hover: none) {
  .room-action {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}
