/* ================================
   NAOMI BEACH — CSS
   Fonty: Bebas Neue + DM Sans
   ================================ */

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

:root {
  --black: #2d231e;
  --off-black: #3a302b;
  --sand: #e5b887;
  --sand-light: #f7eee4;
  --cream: #fdfbf7;
  --water: #6ea49b;
  --water-dark: #4b7971;
  --accent: #d87f61;
  --text: #2d231e;
  --muted: #9e938b;
  --white: #ffffff;
  --ph: #f1dabf;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Placeholders ---- */
.placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: var(--ph);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(0, 0, 0, 0.13);
}

.placeholder span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.3);
}

.ph-tall {
  min-height: 580px;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.55);
}

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.body-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 300;
}

/* ================================
   NAV
   ================================ */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: background 0.4s, padding 0.4s;
}

#nav.solid {
  background: var(--black);
  padding: 14px 40px;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 100;
}

.nav-logo-ph {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

#nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

#nav-menu a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  padding: 6px 14px;
  border-radius: 4px;
  transition: color 0.2s;
}

#nav-menu a:hover {
  color: var(--white);
}

.nav-contact {
  background: var(--white) !important;
  color: var(--black) !important;
  border-radius: 40px !important;
}

.nav-contact:hover {
  background: var(--sand) !important;
}

#burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
  position: relative;
}

#burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
  border-radius: 2px;
}

/* ================================
   HERO — SLIDESHOW
   ================================ */

#hero {
  height: 100svh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 0 80px 60px;
}

/* Slides container */
.hero-slides {
  position: absolute;
  inset: 0;
}

/* Each slide: full-cover bg, fades in/out */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

/* Active slide: fully visible, no zoom */
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  animation: kenBurns 8s ease-in-out forwards;
}

/* Outgoing slide: fades out while scaled back up slightly */
.hero-slide.leaving {
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.07);
  }
}

/* Dim overlay */
.hero-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.15) 55%,
      rgba(0, 0, 0, 0.35) 100%);
  z-index: 1;
}

/* Text content */
.hero-text {
  position: relative;
  z-index: 2;
}



.hero-text h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 14vw, 13rem);
  line-height: 0.88;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 0;
}

.hero-text p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-pills span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 40px;
}

/* Scroll indicator (Mouse) */
.hero-scroll {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
}

.mouse-icon {
  width: 18px;
  height: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  position: relative;
}

.mouse-wheel {
  width: 3px;
  height: 5px;
  background: var(--white);
  border-radius: 4px;
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.8s cubic-bezier(0.15, 0.41, 0.69, 0.94) infinite;
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 10px); opacity: 0; }
}

/* ---- Progress bar ---- */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 0 24px;
}

.hero-progress-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--white);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Running state: JS adds this class to restart the fill */
.hero-progress-bar.running {
  animation: progressFill 8s linear forwards;
}

@keyframes progressFill {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

/* ================================
   MARQUEE
   ================================ */

.marquee-wrap {
  background: var(--black);
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid #222;
}

.marquee-track {
  display: flex;
  gap: 40px;
  animation: marquee 24s linear infinite;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
}

.marquee-track span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-25%);
  }
}

/* ================================
   O NÁS
   ================================ */

.section-onas {
  padding: 100px 0;
  background: var(--cream);
}

.onas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.onas-foto {
  position: relative;
  height: 580px;
}

.onas-foto>.placeholder {
  width: 100%;
  height: 100%;
  border-radius: 2px;
}

.onas-foto-overlay {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 220px;
  height: 280px;
  border: 6px solid var(--cream);
  border-radius: 2px;
  overflow: hidden;
}

.onas-text {
  padding-left: 20px;
}

.onas-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.onas-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.onas-stats strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--water);
  letter-spacing: 0.04em;
  line-height: 1;
}

.onas-stats span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ================================
   AKTUALITY
   ================================ */

.section-aktuality {
  padding: 100px 0 100px 0;
  background: var(--cream);
}

.aktuality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.news-card {
  background: var(--white);
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card-img {
  width: 100%;
  height: 180px;
  flex-shrink: 0;
  min-height: 0;
  border-radius: 0;
}

.news-card-img span {
  color: rgba(0, 0, 0, 0.25);
}

.news-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}

.news-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: inline-block;
  padding: 6px 14px;
  background: var(--sand-light);
  border-radius: 20px;
}

.news-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.1;
}

.news-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.aktuality-more {
  text-align: center;
  margin-top: 48px;
}

.all-news-list {
  display: flex;
  flex-direction: column;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 12px;
}

.all-news-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: opacity 0.2s;
  text-align: left;
}

.all-news-item:last-child {
  border-bottom: none;
}

.all-news-item:hover {
  opacity: 0.7;
}

.all-news-item .news-date {
  margin-bottom: 12px;
}

.all-news-item h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--black);
  line-height: 1.1;
}

.all-news-item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ================================
   FOTO PÁS
   ================================ */

.foto-slider-wrap {
  position: relative;
  margin-top: 80px;
  max-width: 100%;
  overflow: hidden;
}

.foto-row {
  display: flex;
  height: 300px;
  gap: 3px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.foto-row::-webkit-scrollbar {
  display: none;
}

.foto-slide-item {
  flex: 0 0 calc(33.333% - 2px);
  cursor: pointer;
  transition: filter 0.2s;
}

.foto-slide-item:hover {
  filter: brightness(0.9);
}

.foto-slide-item .placeholder {
  min-height: 0;
}

.fs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 1.2rem;
  transition: background 0.2s, transform 0.2s;
}

.fs-arrow:hover {
  background: var(--sand);
  transform: translateY(-50%) scale(1.05);
}

.fs-prev {
  left: 24px;
}

.fs-next {
  right: 24px;
}

/* POPUP LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: var(--cream);
  display: flex;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 10;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.lightbox.active .lightbox-content {
  transform: translateY(0);
}

.lightbox-img {
  flex: 2;
  min-height: 400px;
}

.lightbox-info {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.lightbox-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  margin-bottom: 12px;
}

.lightbox-info p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

/* Image-only lightbox (O nás slider) */
.lightbox-content.image-only-content {
  background: transparent;
  box-shadow: none;
  width: 90%;
  height: 85vh;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
}

.image-only-content .lightbox-img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-only-content .lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.image-only-content .lightbox-close:hover {
  background: var(--white);
  color: var(--black);
}

/* ================================
   SLUŽBY
   ================================ */

.section-sluzby {
  padding: 100px 0 0 0;
  background: var(--cream);
}

.section-sluzby .container {
  margin-bottom: 60px;
  text-align: center;
}

.section-sluzby .section-label {
  color: var(--muted);
}

.sluzby-title {
  color: var(--black);
}

.sluzby-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.sluzba {
  position: relative;
  height: 540px;
  overflow: hidden;
  cursor: default;
}

.sluzba-num {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.4);
  z-index: 2;
  letter-spacing: 0.1em;
}

.sluzba-foto {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.sluzba:hover .sluzba-foto {
  transform: scale(1.05);
}

.sluzba-foto .placeholder {
  min-height: 0;
  height: 100%;
  background: #222;
  border-color: #333;
}

.sluzba-foto .placeholder span {
  color: rgba(255, 255, 255, 0.2);
}

.sluzba-foto::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.1) 60%);
}

.sluzba-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  z-index: 2;
}

.sluzba-text h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.sluzba-text p {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ================================
   PRAKTICKÉ INFO & MAPA
   ================================ */

.section-info {
  padding: 80px 0 100px;
  background: var(--white);
}

.info-header {
  text-align: center;
  margin-bottom: 64px;
}

.info-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: 0.04em;
  color: var(--black);
}

.info-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.info-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 24px;
  display: block;
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--water-dark);
}

.info-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.info-card p em {
  font-size: 0.85rem;
  opacity: 0.8;
}

.info-card strong {
  color: var(--black);
  font-weight: 600;
}

.hours-note {
  margin-top: auto;
  padding-top: 16px;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rules-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.rule-icon {
  font-size: 2rem;
  line-height: 1;
}

.rule-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 4px;
}

.rule-text p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.btn-primary {
  display: inline-block;
  padding: 16px 32px;
  background: var(--sand);
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  margin-top: 16px;
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.rules-popup-inner {
  padding: 40px;
  background: var(--white);
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
}

.rules-popup-inner h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--black);
}

/* Override the two-column lightbox layout for text-only popups */
.lightbox-content.rules-popup-content {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  background: var(--white);
  padding: 0;
  overflow: hidden;
}

.news-popup-img {
  width: 100%;
  height: 220px;
  flex-shrink: 0;
  border-radius: 0;
  min-height: 0;
}

.news-popup-img span {
  color: rgba(0, 0, 0, 0.3);
}

.news-popup-content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ================================
   GALERIE (novcá verze)
   ================================ */

.gal-section {
  padding: 100px 0 60px;
  background: var(--cream);
}

.gal-header {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 32px;
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 4px;
  max-width: 1200px;
  padding: 0 32px;
  margin: 0 auto;
}

.gal-item {
  overflow: hidden;
  display: block;
}

.gal-item .placeholder {
  min-height: 0;
  height: 100%;
}

.gal-item:hover .placeholder {
  filter: brightness(0.92);
}

.gal-big {
  grid-row: span 2;
}

.gal-cta {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 32px;
  text-align: center;
}

.gal-cta a {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--muted);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.gal-cta a:hover {
  color: var(--black);
  border-color: var(--black);
}



/* ================================
   KONTAKT
   ================================ */

.section-kontakt {
  background: var(--black);
}

.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 450px;
}

.kontakt-text {
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kontakt-text h2 {
  color: var(--white);
}

.kontakt-text>p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 8px;
}

.gps {
  font-family: monospace;
  font-size: 0.78rem !important;
  color: var(--water) !important;
  margin-bottom: 32px !important;
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a.gps:hover {
  opacity: 0.7;
}

.kontakt-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.k-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
  transition: color 0.2s, border-color 0.2s;
}

.k-link:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.k-link span {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

.kontakt-socials {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-bottom: 28px;
}

.kontakt-social {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

.kontakt-legal {
  margin-top: 4px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.kontakt-legal p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.kontakt-map-wrapper {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.03);
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  max-width: 580px;
  width: 100%;
  margin: auto;
}

.kontakt-map {
  width: 100%;
  height: 280px;
  background: var(--black);
  border-radius: 12px;
  overflow: hidden;
}

.kontakt-map-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 12px 8px 12px;
  gap: 16px;
}

.map-address {
  display: flex;
  align-items: center;
  gap: 16px;
}

.map-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sand);
  flex-shrink: 0;
}

.map-address strong {
  display: block;
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 4px;
}

.map-address span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.gps-btn {
  background: var(--white);
  color: var(--black);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.gps-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.kontakt-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(40%) opacity(0.85);
  transition: filter 0.4s ease;
}

.kontakt-map:hover iframe {
  filter: grayscale(0%) opacity(1);
}

/* ================================
   FOOTER
   ================================ */

footer {
  background: var(--black);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 32px;
  margin-bottom: 64px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo-ph {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px dashed rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
}

.footer-left-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-left strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1;
}

.footer-left span {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-mid {
  display: flex;
  gap: 32px;
}

.footer-mid a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
  font-weight: 500;
}

.footer-mid a:hover {
  color: var(--white);
}

.footer-right {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-left: auto;
}

.footer-social {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-social:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.footer-copy {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.06em;
  text-align: center;
}

/* ================================
   SCROLL TO TOP
   ================================ */
.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: var(--sand);
  color: var(--black);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: background 0.8s ease, color 0.8s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Stavy podle scrollování */
.scroll-top.mid {
  background: var(--black);
  color: var(--white);
}

.scroll-top.end {
  background: var(--white);
  color: var(--black);
}

.scroll-top:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-4px);
}

/* Hover pro nové stavy */
.scroll-top.mid:hover {
  background: var(--white);
  color: var(--black);
}

.scroll-top.end:hover {
  background: var(--sand);
  color: var(--black);
}

/* ================================
   RESPONSIVE
   ================================ */

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

  .sluzba {
    height: 420px;
  }

  .aktuality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 240px);
  }

  .info-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }

  .lightbox-content {
    flex-direction: column;
  }

  .lightbox-img {
    min-height: 300px;
  }

  .lightbox-info {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  #nav {
    padding: 16px 24px;
  }

  #nav.solid {
    padding: 12px 24px;
  }

  #burger {
    display: flex;
  }

  #nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100svh;
    background: rgba(45, 35, 30, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 32px;
    gap: 20px;
    transition: right 0.6s cubic-bezier(0.2, 1, 0.2, 1);
    z-index: 99;
  }

  #nav-menu.open {
    right: 0;
  }

  #nav-menu li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  #nav-menu.open li {
    opacity: 1;
    transform: translateY(0);
  }

  #nav-menu.open li:nth-child(1) { transition-delay: 0.1s; }
  #nav-menu.open li:nth-child(2) { transition-delay: 0.15s; }
  #nav-menu.open li:nth-child(3) { transition-delay: 0.2s; }
  #nav-menu.open li:nth-child(4) { transition-delay: 0.25s; }
  #nav-menu.open li:nth-child(5) { transition-delay: 0.3s; }
  #nav-menu.open li:nth-child(6) { transition-delay: 0.35s; }

  #nav-menu a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    padding: 0;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
  }

  .nav-contact {
    background: transparent !important;
    color: var(--accent) !important;
    border-radius: 0 !important;
    margin-top: 16px;
  }

  #hero {
    padding: 0 0 80px 32px;
  }

  .hero-text h1 {
    font-size: clamp(4rem, 16vw, 8rem);
  }

  .hero-scroll {
    display: none;
  }

  .onas-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .info-grid-new {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .onas-foto {
    height: 380px;
  }

  .onas-foto .ph-tall {
    min-height: 0;
  }

  .onas-foto-overlay {
    display: none;
  }

  .onas-text {
    padding-left: 0;
  }

  .hide-mobile {
    display: none !important;
  }

  .foto-row {
    height: 180px;
  }

  .fs-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .sluzby-list {
    grid-template-columns: 1fr;
  }

  .sluzba {
    height: 360px;
  }

  /* Galerie mobil */
  .gal-section {
    padding-top: 60px;
    padding-bottom: 48px;
  }

  .gal-header {
    padding: 0 16px;
    margin-bottom: 24px;
  }

  .gal-pc-only {
    display: none;
  }

  .gal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: calc(50vw - 18px);
    gap: 4px;
    padding: 0 16px;
    margin: 0;
  }

  .gal-big {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gal-cta {
    margin: 16px 0 0;
    padding: 0 16px;
    text-align: center;
  }

  .gal-cta a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    color: var(--black);
    font-weight: 600;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 14px;
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.95rem;
    text-decoration: none;
  }

  .kontakt-inner {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column-reverse;
  }

  .kontakt-map-wrapper {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
  }

  .kontakt-map {
    height: 240px;
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    border: none;
  }

  .kontakt-map-info {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
  }

  .gps-btn {
    width: 100%;
    text-align: center;
  }

  .kontakt-text {
    padding: 60px 32px;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer-left {
    align-items: center;
  }

  .footer-mid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .footer-right {
    margin-left: 0;
    justify-content: center;
    width: 100%;
  }

  .onas-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Redukce paddingu pro mobil */
  .section-onas {
    padding: 60px 0;
  }

  .section-aktuality {
    padding: 60px 0 0 0;
  }

  .section-sluzby {
    padding: 60px 0 0 0;
  }

  .aktuality-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    padding: 24px;
  }

  .section-info {
    padding: 60px 0;
  }

  .info-header {
    margin-bottom: 32px;
  }

  .info-card {
    padding: 24px;
  }

  .rules-popup-inner {
    padding: 24px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .section-galerie {
    padding: 60px 0 40px;
  }

  .container {
    padding: 0 24px;
  }

  #hero {
    padding: 0 0 60px 24px;
  }

  .scroll-top {
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .onas-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .onas-stats strong {
    font-size: 1.6rem;
  }

  .onas-stats span {
    font-size: 0.65rem;
  }

  .hero-text h1 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .galerie-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(8, 200px);
  }

  .gi-big {
    grid-row: span 1;
  }

  .rules-popup-inner h2 {
    font-size: 2rem;
  }

  .rule-icon {
    font-size: 1.5rem;
  }
}