﻿/* Reset a základ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji"; line-height: 1.5; }

/* Počiatočné stavy pre animácie - musia byť na začiatku */
.gradient-title { opacity: 0; transform: translateX(300px); }
.hero-sub { opacity: 0; transform: translateY(50px); }
.hero-ctas .btn:first-child { opacity: 0; transform: translateX(-50px); }
.hero-ctas .btn:last-child { opacity: 0; transform: translateX(50px); }
.site-header { opacity: 0; transform: translateY(-100px); }
.planet { opacity: 0; transform: translateY(calc(-50% + 100px)) scale(0.8); }
.spline-bg { opacity: 0; --orbit-y: 80px; --scale: 0.9; }
#roomsTitle { 
    opacity: 0; 
    transform: translateX(-300px);
    will-change: transform, opacity;
}

#fitnessTitle { 
    opacity: 0; 
    transform: translateX(-300px);
    will-change: transform, opacity;
}

.fitness-hero-content { 
    opacity: 0; 
    transform: translateX(300px);
    will-change: transform, opacity;
}

/* Fitness karty - počiatočné pozície */
.fitness-card[data-gym="strength"] { 
    opacity: 0; 
    transform: translateX(-300px);
    will-change: transform, opacity;
}

.fitness-card[data-gym="cardio"] { 
    opacity: 0; 
    transform: translateY(300px);
    will-change: transform, opacity;
}

.fitness-card[data-gym="sunbed"] { 
    opacity: 0; 
    transform: translateX(300px);
    will-change: transform, opacity;
}

/* Trainers karty - počiatočné pozície */
#trainersTitle { 
    opacity: 0; 
    transform: translateX(-1600px);
    will-change: transform, opacity;
}

.trainer-card:nth-child(1) { 
    opacity: 0; 
    transform: translateX(-300px);
    will-change: transform, opacity;
}

.trainer-card:nth-child(2) { 
    opacity: 0; 
    transform: translateY(300px);
    will-change: transform, opacity;
}

.trainer-card:nth-child(3) { 
    opacity: 0; 
    transform: translateX(300px);
    will-change: transform, opacity;
}

/* Contact sekcia - opacity animácia */
#contactTitle {
    opacity: 0;
    will-change: opacity;
}

.contact-grid {
    opacity: 0;
    will-change: opacity;
}

.billing-info {
    opacity: 0;
    will-change: opacity;
}

.contact-form-section {
    opacity: 0;
    will-change: opacity;
}

/* Ecology sekcia */
#ecologyTitle {
    opacity: 0;
    will-change: opacity;
}

.ecology-intro {
    opacity: 0;
    will-change: opacity;
}

.ecology-features .ecology-card:nth-child(1) { 
    opacity: 0; 
    transform: translateX(-300px);
    will-change: transform, opacity;
}

.ecology-features .ecology-card:nth-child(2) { 
    opacity: 0; 
    transform: translateY(300px);
    will-change: transform, opacity;
}

.ecology-features .ecology-card:nth-child(3) { 
    opacity: 0; 
    transform: translateX(300px);
    will-change: transform, opacity;
}


.reservations { 
    opacity: 1 !important;
    transform: translateY(0) !important;
    will-change: transform, opacity;
    position: relative;
    z-index: 3;
}

/* Spustenie animácií po načítaní */
body.loaded .gradient-title { 
    animation: slideInFromRight 1.5s cubic-bezier(.68,.1,.39,.94) 1.5s forwards;
}
body.loaded .hero-sub { 
    animation: slideInFromBottom 1.5s  cubic-bezier(.68,.1,.39,.94) 2s forwards;
}
body.loaded .hero-ctas .btn:first-child { 
    animation: slideInFromLeft 1.5s s cubic-bezier(.68,.1,.39,.94) 2s forwards;
}
body.loaded .hero-ctas .btn:last-child { 
    animation: slideInFromRight 1.5s s cubic-bezier(.68,.1,.39,.94) 2s forwards;
}
body.loaded .site-header { 
    animation: slideInFromTop 1.5s cubic-bezier(.68,.1,.39,.94) 1.5s forwards;
}
body.loaded .planet { 
    animation: planetAppear 2.5s cubic-bezier(.68,.1,.39,.94) 0.8s forwards;
}
body.loaded .spline-bg { 
    animation: splineAppear 2.2s cubic-bezier(.68,.1,.39,.94) 1s forwards;
}
:root {
  --bg: #0b0a12;
  --text: #ebedf1;
  --muted: #a3a9b6;
  --primary: #c066f5; /* požadovaná fialová */
  --primary-contrast: #0b0a12;
  --surface: #111224;
  --border: #2b253a; /* neutrálny fialovo-sivý, bez modrej */
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(192,102,245,0.35);
  --header-h: 64px; /* výška horného menu pre prekrytie fotkou */
  --planet-center-y: 50%;
  --hero-right-offset: 2rem;
}

@media (prefers-color-scheme: dark) {
  :root { --bg: #0b0a12; --text: #ebedf1; --muted: #a3a9b6; --primary: #c066f5; --primary-contrast: #0b0a12; --surface: #151226; --border: #2b253a; }
}

html { 
    height: 100%; 
    overflow-x: hidden; 
    overflow-y: auto; 
}
body { 
    min-height: 100%; 
    overflow-x: hidden; 
    overflow-y: hidden; /* Body NEMÁ scrollbar - scrolluje sa iba cez html */
    background: var(--bg); 
    color: var(--text); 
    margin: 0;
    padding: 0;
    height: auto;
}

.site-main { position: relative; background: transparent; z-index: 1; padding-top: 90px; overflow: visible; height: auto; }

.container { width: min(100% - 2rem, 1280px); margin-inline: auto; display: block; }
/* Nav bar full width */
.site-header .container { width: 100% !important; max-width: none !important; margin-inline: 0 !important; padding-left: 1rem; padding-right: 1rem; }

.site-header { 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: radial-gradient(1200px 200px at 50% -80%, rgba(192,102,245,0.15), transparent), rgba(11,10,18,0.65); 
    border-bottom: 1px solid rgba(192,102,245,0.12); 
    z-index: 1000; 
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(-100px);
    animation: slideInFromTop 2s cubic-bezier(.68,.1,.39,.94) 0.5s forwards;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 0.2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.site-header.scrolled .brand-logo {
    height: 80px !important;
    min-height: 80px !important;
}

.site-header.scrolled .brand {
    min-height: 80px !important;
}

/* Hide everything except burger on small screens and tablets */
@media (max-width: 1600px) {
  .site-header .brand { display: none; }
  .site-header .site-nav { display: none !important; }
  .site-header .nav-actions { display: none !important; }
  .site-header .container { display: grid; grid-template-columns: 1fr; justify-items: center; position: relative; }
  .nav-bar { 
      display: block !important; 
      position: relative !important; 
      width: 100% !important;
      height: var(--header-h) !important;
  }
  .nav-bar .language-switcher { 
      position: absolute !important; 
      right: 1rem !important; 
      left: auto !important; 
      top: 50% !important; 
      transform: translateY(-50%) !important; 
      z-index: 1001 !important; 
      margin: 0 !important; 
      padding: 0.5rem 0 !important; 
  }
  .menu-toggle { 
      position: absolute !important; 
      left: 1rem !important; 
      transform: none !important; 
      z-index: 1000 !important; 
  }
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    80% {
        opacity: 1;
        transform: translateY(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes planetAppear {
    0% {
        opacity: 0;
        transform: translateY(calc(-50% + 100px)) scale(0.8);
    }
    70% {
        opacity: 1;
        transform: translateY(calc(-50% - 10px)) scale(1.02);
    }
    85% {
        opacity: 1;
        transform: translateY(calc(-50% + 5px)) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

@keyframes splineAppear {
    0% {
        opacity: 0;
        --orbit-y: 80px;
        --scale: 0.9;
    }
    60% {
        opacity: 0.8;
        --orbit-y: -5px;
        --scale: 1.01;
    }
    80% {
        opacity: 1;
        --orbit-y: 2px;
        --scale: 0.99;
    }
    100% {
        opacity: 1;
        --orbit-y: 0px;
        --scale: 1;
    }
}
.site-header .container { padding: 0.1rem 0; }
.site-header .container { position: relative; }
/* Desktop language switcher positioning - only for screens wider than 1600px */
@media (min-width: 1601px) {
  .site-header .language-switcher { position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); }
}

/* Mobile menu */
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; margin: 0 auto; cursor: pointer; transition: opacity 0.3s ease; position: absolute; left: 50%; transform: translateX(-50%); }
.menu-toggle:hover { opacity: 0.8; }
.menu-toggle .menu-bar { display: block; width: 24px; height: 2px; background: #e6e8ec; margin: 5px 0; border-radius: 2px; transition: all 0.3s ease; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

.mobile-menu { 
    display: none; 
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    max-height: calc(100vh - var(--header-h));
    background: linear-gradient(180deg, rgba(11,10,18,0.98) 0%, rgba(17,18,36,0.95) 100%);
    border-top: 1px solid rgba(192,102,245,0.2);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu .mobile-brand { 
    display: grid; 
    place-items: center; 
    padding: 2rem 1rem 1.5rem;
    border-bottom: 1px solid rgba(192,102,245,0.15);
    background: linear-gradient(135deg, rgba(192,102,245,0.05) 0%, transparent 100%);
    gap: 0.75rem;
}
.mobile-menu .mobile-brand a {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.mobile-menu .mobile-brand a:hover {
    transform: scale(1.05);
}
.mobile-menu .mobile-brand img { 
    height: 120px; 
    width: auto; 
    filter: brightness(1.3) drop-shadow(0 0 10px rgba(192,102,245,0.3));
    transition: all 0.3s ease;
    display: block;
}
.mobile-menu .mobile-brand a:hover img {
    filter: brightness(1.4) drop-shadow(0 0 15px rgba(192,102,245,0.5));
}
.mobile-menu .mobile-tagline {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(230,232,236,0.7);
    text-align: center;
    max-width: 280px;
    line-height: 1.4;
    font-weight: 400;
}

.mobile-menu .mobile-links { 
    list-style: none; 
    margin: 0; 
    padding: 1.5rem 0;
    display: grid; 
    gap: 0;
}
.mobile-menu .mobile-links li {
    border-bottom: 1px solid rgba(192,102,245,0.1);
}
.mobile-menu .mobile-links li:first-child {
    border-top: 1px solid rgba(192,102,245,0.1);
}
.mobile-menu .mobile-links a { 
    display: block; 
    padding: 1.2rem 1.5rem; 
    color: #e6e8ec; 
    text-decoration: none; 
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    text-align: center;
}
.mobile-menu .mobile-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(192,102,245,0.2) 0%, transparent 100%);
    transition: width 0.3s ease;
}
.mobile-menu .mobile-links a:hover {
    background: rgba(192,102,245,0.08);
    color: #fff;
}
.mobile-menu .mobile-links a:hover::before {
    width: 4px;
}

.mobile-menu .mobile-actions { 
    display: grid; 
    gap: 0.75rem; 
    padding: 2rem 1.5rem 4rem; /* Zväčšené z 3rem na 4rem pre lepšiu viditeľnosť posledného tlačidla */
    background: linear-gradient(180deg, transparent 0%, rgba(192,102,245,0.05) 100%);
    border-top: 1px solid rgba(192,102,245,0.15);
    min-height: fit-content;
}
.mobile-menu .mobile-actions .action { 
    display: inline-flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    gap: 3px; 
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(192,102,245,0.4);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.mobile-menu .mobile-actions .action::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(192,102,245,0.15) 0%, rgba(213,145,255,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-menu .mobile-actions .action:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(192,102,245,0.6);
    transform: scale(0.95);
    box-shadow: 0 8px 20px rgba(192,102,245,0.2), inset 0 0 20px rgba(192,102,245,0.1);
}
.mobile-menu .mobile-actions .action:hover::before {
    opacity: 1;
}
.mobile-menu .mobile-actions .action .action-top { 
    display: block; 
    font-size: 0.7rem; 
    letter-spacing: 0.1em; 
    line-height: 1.2;
    text-transform: uppercase;
    opacity: 0.85;
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.mobile-menu .mobile-actions .action .action-bottom { 
    display: block; 
    font-size: 1.1rem; 
    font-weight: 800; 
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

@media (max-width: 1600px) {
  .menu-toggle { display: inline-block; }
  .mobile-menu[aria-hidden="false"], .mobile-menu[hidden="false"], .mobile-menu.open { display: block; }
}
/* Desktop nav-bar layout - only for screens wider than 1600px */
@media (min-width: 1601px) {
  .nav-bar { 
      display: grid; 
      grid-template-columns: auto 1fr auto auto; 
      grid-template-areas: "brand nav actions language"; 
      align-items: center; 
      gap: 1rem; 
  }
  .nav-bar .language-switcher { 
      grid-area: language; 
      justify-self: end; 
      align-self: center; 
      margin-right: 1.5rem; 
      position: static !important; 
      transform: none !important; 
  }
  .nav-bar .brand { grid-area: brand; margin-left: 3rem;}
  .nav-bar .site-nav { grid-area: nav; justify-self: end; margin-right: 1rem; }
  .nav-bar .nav-actions { grid-area: actions; justify-self: end; margin-right: 1rem; }
}
.brand { 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
    padding: 0rem 0;
    min-height: 140px;
    
}
.brand-logo { 
    height: 140px; 
    width: auto; 
    filter: brightness(1.3) drop-shadow(0 0 10px rgba(192,102,245,0.3)); 
    max-width: none; 
    min-height: 140px;
    object-fit: contain;
    transition: all 0.3s ease;
}
.brand:hover .brand-logo {
    filter: brightness(1.4) drop-shadow(0 0 15px rgba(192,102,245,0.5));
    transform: scale(1.05);
}
.brand-text { display: grid; line-height: 1; }
.brand-line1 { font-size: 0.95rem; letter-spacing: 0.22rem; text-transform: uppercase; color: #fff; }
.brand-line2 { font-size: 0.7rem; letter-spacing: 0.3rem; text-transform: uppercase; color: var(--primary); opacity: 0.9; }
.site-nav ul { display: flex; list-style: none; margin: 0; padding: 0 1rem; gap: 0.9rem; justify-content: center; width: 100%; }
.site-nav a { text-decoration: none; color: #e6e8ec; opacity: 0.9; padding: 0.35rem 0.6rem; border-radius: 6px; white-space: nowrap; }
.site-nav a:hover { background: rgba(255,255,255,0.06); opacity: 1; }
.glass-nav .container { background: transparent; border: none; border-radius: 0; margin-top: 0; padding: 0; }
.actions { display: none; }

/* Jemné zmenšenie horizontálnej medzery pri menších šírkach, aby ostalo miesto pre akcie */
@media (max-width: 1200px) {
  .site-nav ul { gap: 0.7rem; padding: 0 1rem; }
  .site-nav a { padding: 0.3rem 0.5rem; font-size: 0.95rem; }
}

/* Language switcher */
.language-switcher { 
    position: relative; 
    display: flex; 
    align-items: left; 
    gap: 1rem; 
    justify-self: start;
}

.language-switcher .current-language {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(192,102,245,0.3);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.language-switcher .current-language:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(192,102,245,0.5);
}

.language-switcher .flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 18px;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.language-switcher .flag svg {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 2px;
}

.language-switcher .language-option:hover .flag,
.language-switcher .current-language:hover .flag {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(192,102,245,0.4);
}

.language-switcher .language-name {
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
}

.language-switcher .arrow {
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.language-switcher.active .arrow {
    transform: rotate(180deg);
}

.language-switcher .language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    transform: translateY(-10px);
    background: rgba(0,0,0,0.9);
    border: 1px solid rgba(192,102,245,0.3);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-switcher.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-switcher .language-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
}

.language-switcher .language-option:hover {
    background: rgba(192,102,245,0.2);
    color: white;
}

.language-switcher .language-option .flag {
    width: 24px;
    height: 16px;
}

/* Hide old language dropdown on desktop if present */
@media (min-width: 992px) {
  .site-header .lang-dropdown,
  .site-header .language,
  .language-menu,
  .header-language,
  .language-selector-old { display: none !important; }
}

/* Nav actions (pravé akčné tlačidlá) */
.nav-actions { display: grid; grid-auto-flow: column; gap: 0.75rem; align-items: center; }
.nav-actions .action { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0.6rem 1.15rem; line-height: 1; text-align: center; min-width: 150px; gap: 2px; white-space: normal; }
.nav-actions .action .action-top { display: block; font-size: 0.68rem; letter-spacing: 0.06em; opacity: 0.9; line-height: 1.05; text-transform: uppercase; font-weight: normal !important; }
.nav-actions .action .action-bottom { display: block; font-size: 0.92rem; font-weight: 800; line-height: 1.05; }
.nav-actions .btn.outline.action { background: rgba(255,255,255,0.02); border-color: rgba(192,102,245,0.45); }

@media (max-width: 1100px) {
  .nav-bar { grid-template-columns: auto 1fr auto auto; grid-template-areas: "brand nav actions language"; align-items: center; }
  .language-switcher { grid-area: language; justify-self: end; margin-right: 1.5rem; position: static !important; transform: none !important; }
  .nav-bar .site-nav { justify-self: end; margin-right: .75rem; }
  .brand { grid-area: brand;}
  .site-nav { grid-area: nav; }
  .nav-actions { grid-area: actions; justify-self: end; }
}

@media (max-width: 900px) {
  .nav-actions { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(120px, 1fr)); justify-items: end; }
  .nav-actions .action { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: auto; width: 100%; padding: 0.5rem 0.8rem; white-space: normal; }
}

@media (max-width: 600px) {
  .site-nav ul { flex-wrap: wrap; gap: 0.4rem; }
  .nav-actions { grid-template-columns: 1fr; gap: 0.4rem; justify-items: stretch; }
  .nav-actions .action { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; white-space: normal; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.7rem 1rem; border-radius: 8px; border: 1px solid var(--border); background: #1a1424; color: #e6e8ec; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; text-decoration: none; }
.btn.primary { background: var(--primary); color: var(--primary-contrast); border-color: rgba(192,102,245,0.6); }
.btn.pill { border-radius: 999px; padding: 0.75rem 1.1rem; }
.btn.outline { background: transparent; border-color: #3a344a; }
.btn:hover { background: #1f1730; border-color: #3a304a; }
.btn:focus { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Floating/glow buttons */
.btn { position: relative; isolation: isolate; transition: transform .35s ease, box-shadow .35s ease, background .35s ease, border-color .35s ease; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.98rem; box-shadow: 0 0 0 2px rgba(192,102,245,0.22), 0 8px 20px rgba(192,102,245,0.28), 0 6px 18px rgba(0,0,0,0.35); }
.btn.primary { background: linear-gradient(135deg, var(--primary) 0%, #d591ff 100%); color: #ffffff; border-color: rgba(192,102,245,0.7); box-shadow: 0 8px 20px rgba(192,102,245,0.28), 0 6px 18px rgba(0,0,0,0.35); }
.btn.pill { border-radius: 999px; padding: 0.75rem 1.1rem; }
.btn.outline { background: rgba(255,255,255,0.02); border-color: rgba(192,102,245,0.55); color: #fff; }
.btn:hover { background: #1f1730; border-color: #3a304a; transform: scale(0.95); box-shadow: 0 0 0 2.5px rgba(192,102,245,0.32), 0 16px 36px rgba(192,102,245,0.35), 0 10px 28px rgba(0,0,0,0.4); }

/* Jednotné farebné zvýraznenie na hover pre akčné tlačidlá vpravo */
.nav-actions .action:hover {
  background: linear-gradient(135deg, var(--primary) 0%, #d591ff 100%);
  color: #ffffff;
  border-color: rgba(192,102,245,0.7);
  transform: scale(0.95);
}
.btn:focus-visible { outline: 3px solid rgba(192,102,245,0.55); outline-offset: 2px; }

/* Smooth morph buttons */
.btn.morph { background: linear-gradient(90deg, rgba(192,102,245,0.0), rgba(192,102,245,0.18)); background-size: 0% 100%; background-repeat: no-repeat; transition: background-size 1.1s ease, transform .45s ease, box-shadow .45s ease; }
.btn.morph:hover { background-size: 100% 100%; transform: scale(0.95); box-shadow: 0 18px 44px rgba(192,102,245,0.38), 0 12px 32px rgba(0,0,0,0.45); }

/* Hero breathing */
@keyframes breathe {
  0% { transform: scale(1); filter: saturate(0.98); }
  100% { transform: scale(1.01); filter: saturate(1); }
}
.hero .hero-grid { animation: breathe 8s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .hero .hero-grid { animation: none; } }

/* 3D tilt setup */
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform .2s ease; }
.tilt:hover { transition: transform .06s ease; }

.fullvh { min-height: 900px; display: grid; align-content: center; overflow: visible; }
.hero { padding: 0rem 0; text-align: left; background: linear-gradient(90deg, rgba(11,10,18,1) 50%, rgba(11,10,18,0.85) 60%, rgba(11,10,18,0.0) 75%); overflow: visible; }
.hero-sub { 
    color: #e0e0e0; 
    max-width: 70ch; 
    margin: 0.5rem 0 1.25rem; 
    opacity: 0;
    transform: translateY(50px);
    animation: slideInFromBottom 2s cubic-bezier(.68,.1,.39,.94) 2s forwards;
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    80% {
        opacity: 1;
        transform: translateY(-2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.gradient-title { 
    font-size: clamp(2.6rem, 6.2vw, 4.4rem); 
    margin: 0 0 0.6rem; 
    background: linear-gradient(90deg, #ffffff 0%, #eeeaf7 28%, #d9a1ff 58%, #c066f5 100%); 
    -webkit-background-clip: text; 
    background-clip: text; 
    color: transparent; 
    text-shadow: 0 2px 12px rgba(192,102,245,0.18);
    opacity: 0;
    transform: translateX(300px);
    animation: slideInFromRight 2s cubic-bezier(.68,.1,.39,.94) 1.6s forwards;
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(800px);
    }
    80% {
        opacity: 1;
        transform: translateX(-2px);
   
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
.section-title { 
    font-size: clamp(1.8rem, 3vw, 2.2rem); 
    margin: 0 0 2rem; 
    text-align: left;
    background: linear-gradient(90deg, #ffffff 0%, #eeeaf7 28%, #d9a1ff 58%, #c066f5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 8px rgba(192,102,245,0.15);
}

/* Hero grid */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; justify-items: end; }
/* Jemná foto v ľavom pozadí (vyššie rozlíšenie, menej orezaná) */
.hero { position: relative; overflow: visible; }
.hero::before { content: ""; position: absolute; top: calc(-1 * var(--header-h)); bottom: 0; left: 0; width: 52%; background:
  linear-gradient(90deg, rgba(11,10,18,0.70) 0%, rgba(11,10,18,0.50) 35%, rgba(11,10,18,0.18) 55%, rgba(11,10,18,0) 72%),
  url('fotky/fitness/more_than_services_gym_gallery_06.webp');
  background-repeat: no-repeat; background-position: right center; background-size: cover; pointer-events: none; filter: brightness(0.72) saturate(0.98) contrast(0.98);
  -webkit-mask-image: linear-gradient(90deg, rgba(255,255,255,1) 0% 35%, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.0) 65%);
  mask-image: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 90%, rgba(255,255,255,0.0) 100%);
  z-index: 0;
}
/* Right half: room photo */
.hero::after { content: ""; position: absolute; top: calc(-1 * var(--header-h)); bottom: 0; right: 0; width: 51%; background:
  linear-gradient(270deg, rgba(11,10,18,0.70) 0%, rgba(11,10,18,0.50) 35%, rgba(11,10,18,0.18) 55%, rgba(11,10,18,0) 72%),
  url("fotky/standardroom/2_Standard room.webp");
  background-repeat: no-repeat; background-position: left center; background-size: cover; pointer-events: none; filter: brightness(0.72) saturate(0.95) contrast(0.98);
  -webkit-mask-image: linear-gradient(270deg, rgba(255,255,255,1) 0% 35%, rgba(255,255,255,0.6) 90%, rgba(255,255,255,0.0) 100%);
  mask-image: linear-gradient(270deg, rgba(255,255,255,1) 0% 35%, rgba(255,255,255,0.6) 90%, rgba(255,255,255,0.0) 100%);
  z-index: 0;
}

@media (max-width: 900px) { 
  .hero::before { width: 100%; opacity: 0.14; background-size: cover; }
  .hero::after { display: none; }
}

.hero > .container { position: relative; z-index: 2; overflow: visible; }
.hero-grid { overflow: visible; }
.hero-copy { overflow: visible; }

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

.features, .contact, .gallery { padding: 4rem 0; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.card3d { background: var(--glass); border: 1px solid rgba(192,102,245,0.18); border-radius: 16px; padding: 1rem; color: var(--text); box-shadow: 0 8px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08); }
.card3d.neo { box-shadow: 0 12px 34px rgba(0,0,0,0.45), 0 2px 0 rgba(255,255,255,0.04) inset; }
.card3d:hover { border-color: rgba(192,102,245,0.35); }
.card3d h4 { margin: 0 0 0.35rem; font-weight: 600; }
.card3d p { margin: 0; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.gl-item { position: relative; overflow: hidden; border-radius: 16px; background: var(--glass); border: 1px solid rgba(192,102,245,0.25); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.gl-img { aspect-ratio: 1.2 / 1; overflow: hidden; }
.gl-photo { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2) contrast(1.08); transform: scale(1.0); transition: transform 0.6s ease; display: block; }
.gl-item:hover .gl-photo { transform: scale(0.95); }
.gl-item figcaption { position: absolute; inset: auto 0 0; padding: 0.6rem 0.8rem; background: linear-gradient(to top, rgba(0,0,0,0.55), transparent); color: #fff; font-size: 0.9rem; }


form { display: grid; gap: 0.75rem; max-width: 560px; }
label { display: grid; gap: 0.35rem; font-weight: 600; }
input, textarea { width: 100%; padding: 0.65rem 0.75rem; border: 1px solid rgba(192,102,245,0.25); border-radius: 0.9rem; background: rgba(255,255,255,0.04); color: #e5e7eb; backdrop-filter: blur(6px); }
select { width: 100%; padding: 0.65rem 0.75rem; border: 1px solid rgba(192,102,245,0.25); border-radius: 0.9rem; background: rgba(255,255,255,0.04); color: #e5e7eb; backdrop-filter: blur(6px); }
.form-glass { border: 1px solid rgba(192,102,245,0.25); border-radius: 16px; padding: 1rem; background: rgba(255,255,255,0.03); backdrop-filter: blur(8px); }
input:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 2px; }

.site-footer { border-top: 1px solid var(--glass-border); padding: 2rem 0; margin-top: 4rem; }
.site-footer small { color: var(--muted); }

/* Tmavá téma prepínač */
[data-theme="dark"] { --bg: #0b0f1a; --text: #e5e7eb; --muted: #9ca3af; --primary: #D4AF37; --primary-contrast: #081018; --surface: #0f172a; --border: #1f2937; }
 

/* Reveal animácie */
[data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* Scrollbar */
* { scrollbar-width: thin; scrollbar-color: #c066f5 transparent; }
::-webkit-scrollbar { height: 10px; width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #b76af6, #c066f5); border-radius: 999px; }

/* Loader odstránený pre jednoduchší, civilný zážitok */
#loader { display: none; }

.magnet { pointer-events: none; }
.cursor-trail { display: none; }

/* Background layers: planet + particles */
/* Background interaction disabled to avoid overlay blocking UI */
/* Background layers should not intercept pointer events */
.bg-layers { 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    z-index: 1; 
    overflow: hidden; 
    pointer-events: none; 
    width: 100vw;
    height: 100vh;
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 0; }
.spline-bg { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; pointer-events: none; cursor: default; z-index: 1; transform: translate3d(var(--orbit-x, 0px), var(--orbit-y, 0px), 0) rotate(var(--spin, 0deg)) scale(var(--scale, 1)); transform-origin: 50% 50%; will-change: transform; aspect-ratio: 1; object-fit: cover; }
spline-viewer.spline-bg { aspect-ratio: 1; width: 100%; height: 100%; display: block; border-radius: 50%; overflow: hidden; }
spline-viewer.spline-bg canvas,
spline-viewer.spline-bg iframe { width: 100% !important; height: 100% !important; border-radius: 50%; }

/* UI nad planétou */
.hero > .container,
.contact.container,
.features.container,
.gallery.container,
.rooms.container,
.breakfast.container,
.trainers.container,
.ecology.container,
.about.container { position: relative; z-index: 3; }

:root { --planet-size: clamp(520px, 58vw, 900px); --planet-right: -18vw; }

/* New planet offset variable */
:root { --planet-offset: 0vw; }

/* Edge offset for planet vs. browser right edge */
:root { --planet-edge: 0px; }

/* Planet anchored to right edge */
.planet {
  position: absolute;
  right: -150px;
  left: auto  ; 
  top: calc(var(--planet-center-y) + 10vh);
  transform: translateY(-50%);
  width: var(--planet-size);
  height: var(--planet-size);
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  box-shadow: none;
  /* Feather the very edge so it goes do stratena */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,1) 62%, rgba(0,0,0,0) 96%);
  mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,1) 62%, rgba(0,0,0,0) 96%);
}

/* Vonkajší jemný halo odstránený aby bola planéta viac na krajoch */
.planet::before { display: none; }
.planet::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 2;
  box-shadow: inset 0 0 48px rgba(192,102,245,0.06), inset 0 0 120px rgba(0,0,0,0.30);
}

@media (max-width: 1200px) {
  :root { --planet-size: clamp(520px, 68vw, 900px); --planet-offset: 6vw; }
}
@media (max-width: 900px) {
  :root { --planet-size: 82vw; --planet-offset: 12vw; }
  .planet {
    right: -30vw; /* Viac trčí do priestoru */
  }
}
@media (max-width: 600px) {
  :root { --planet-size: 110vw; --planet-offset: 18vw; } /* Zväčšená veľkosť */
  .planet {
    right: -40vw; /* Ešte viac trčí do priestoru */
  }
}

.planet-shield { position: absolute; inset: 0; pointer-events: auto; z-index: 2; cursor: grab; background: transparent; }
.planet-shield.dragging { cursor: grabbing; }

/* Rooms */
.rooms { padding: 4rem 0; padding-top: 6rem;}
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }

/* Rooms layout */
.rooms-layout { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1.5rem; 
    margin: 1.25rem 0 0; 
    padding: 0; 
}

.rooms-cards { 
    display: contents;
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    max-height: 250px;
}

.location-card {
    height: 200px;
}

.terms-card {
    height: 200px;
}

.rates-card {
    min-height: 200px;
}

.info-card:hover {
    background: var(--glass);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.info-card-content h4 {
    color: var(--primary);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.info-card-content p {
    color: var(--muted);
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.breakfast-card {
    grid-column: 1;
    grid-row: 1;
    opacity: 0;
    transform: translateY(-300px);
    will-change: transform, opacity;
    min-height: 200px;
}

.rates-card {
    grid-column: 2;
    grid-row: 2;
    opacity: 0;
    transform: translateY(300px);
    will-change: transform, opacity;
}

.room-card[data-room="standard"] {
    grid-column: 1;
    grid-row: 2;
    margin-top: -320px;
    opacity: 0;
    transform: translateX(-300px);
    will-change: transform, opacity;
}

.room-card[data-room="romantic"] {
    grid-column: 2;
    grid-row: 1;
    opacity: 0;
    transform: translateX(300px);
    will-change: transform, opacity;
}

/* Mobilné rozloženie */
@media (max-width: 768px) {
    .rooms-layout { 
        grid-template-columns: 1fr; 
        grid-template-rows: auto auto auto auto;
        gap: 1rem; 
    }
    
    .breakfast-card {
        grid-column: 1;
        grid-row: 1;
        min-height: 200px;
    }
    
    .room-card[data-room="romantic"] {
        grid-column: 1;
        grid-row: 2;
    }
    
    .room-card[data-room="standard"] {
        grid-column: 1;
        margin-top: 0px;
        grid-row: 3;
    }
    
    .rates-card {
        grid-column: 1;
        grid-row: 4;
        min-height: 200px;
    }
    
    /* Hero sekcia pre mobil */
    .hero {
        padding: 4rem 0;
    }
    
    .fullvh {
        min-height: 600px;
    }
}

/* Button-like style for room cards */
.room-card { position: relative; overflow: hidden; border: 1px solid rgba(192,102,245,0.22); background: rgba(255,255,255,0.03); box-shadow: 0 0 0 2px rgba(192,102,245,0.18), 0 12px 30px rgba(0,0,0,0.35); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; border-radius: 24px; }
.room-card:hover { box-shadow: 0 0 0 2.5px rgba(192,102,245,0.32), 0 20px 48px rgba(0,0,0,0.48); transform: scale(0.95); border-color: rgba(192,102,245,0.35); }
.room-card::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: radial-gradient(circle at 50% 50%, rgba(192,102,245,0.16) 0%, rgba(192,102,245,0.28) 45%, rgba(192,102,245,0.0) 100%); transform: scale(0.06); transition: transform 1s ease; z-index: 0; filter: blur(8px); }
.room-card:hover::before { transform: scale(1); }
.room-card > * { position: relative; z-index: 1; }
.room-media { width: 100%; aspect-ratio: 16 / 10; height: auto; background-position: center; background-size: cover; background-repeat: no-repeat; border-radius: 24px 24px 0 0; }
.room-body { padding: 1.25rem; display: grid; gap: 0.7rem; background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.25)); border-radius: 0 0 24px 24px; }
.room-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; justify-content: center; }
.room-actions .btn { width: 100%; } /* Rovnaká šírka ako tlačidlá na rates card */
.room-top { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; }
.room-top h4 { margin: 0; font-size: 1.2rem; }
.badge { background: var(--primary); color: var(--primary-contrast); border-radius: 999px; padding: 0.3rem 0.7rem; font-weight: 700; font-size: 0.9rem; box-shadow: 0 8px 24px rgba(192,102,245,0.35); }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 0.32rem 0.6rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(192,102,245,0.18); border-radius: 999px; font-size: 0.82rem; color: var(--muted); }

/* Chips slight lift */
.chips li { transition: transform .2s ease, box-shadow .2s ease; }
.chips li:hover { transform: scale(0.95); box-shadow: 0 10px 18px rgba(0,0,0,0.25); }

/* Smooth transitions for common blocks */
.card3d, .room-card, .gl-item { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease; }

/* Room media backgrounds using local photos */
.room-card:nth-child(1) .room-media { background: url("fotky/standardroom/1_Standard room_HLAVNA.webp") center/cover no-repeat; }
.room-card:nth-child(1) .room-media::before { background: linear-gradient(135deg, rgba(192,102,245,0.15), rgba(17,18,36,0.8)); }
/* Premium room visual */
.room-card:nth-child(2) .room-media { background: url('fotky/Premiumroom/1_Premium room_1_HLAVNA.webp') center/cover no-repeat; }

/* Center-out fill for morph buttons */
.btn.morph { overflow: hidden; }
.btn.morph::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 50% 50%, rgba(192,102,245,0.10) 0%, rgba(192,102,245,0.22) 45%, rgba(192,102,245,0.32) 100%); transform: scale(0.05); transition: transform 1s ease; z-index: 0; }
.btn.morph:hover::before, .btn.morph:focus-visible::before { transform: scale(1); }

/* CTA layout spacing */
.hero-copy { display: inline-flex; flex-direction: column; align-items: flex-end; width: -moz-fit-content; width: fit-content; text-align: right; margin-right: var(--hero-right-offset); }
.hero-ctas { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.6rem; 
    align-items: center; 
    margin-top: 0.6rem; 
    width: auto; 
    margin-left: 0; 
    margin-right: 0; 
    justify-content: flex-end; 
}

/* Split CTA: malé "Pozrieť" nad dominantným názvom */
.hero-ctas .hero-split { padding: 0.6rem 0.9rem; }
.hero-ctas .hero-split .cta-top { display: block; font-size: 0.72rem; letter-spacing: 0.06em; opacity: 0.9; text-transform: uppercase; line-height: 1.05; }
.hero-ctas .hero-split .cta-bottom { display: block; font-size: 1rem; font-weight: 800; line-height: 1.05; }

.hero-ctas .btn:first-child {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInFromLeft 2s cubic-bezier(.68,.1,.39,.94) 2.5s forwards;
}

.hero-ctas .btn:last-child {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInFromRight 2s cubic-bezier(.68,.1,.39,.94) 2.7s forwards;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    80% {
        opacity: 1;
        transform: translateX(2px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Trainers */
.trainers { padding: 2rem 0 4rem 0; }
.trainers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
@media (max-width: 1200px) {
  .trainers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .trainers-grid { grid-template-columns: 1fr; }
}
.trainer-card { position: relative; overflow: hidden; border: 1px solid rgba(192,102,245,0.22); background: rgba(255,255,255,0.03); box-shadow: 0 0 0 2px rgba(192,102,245,0.18), 0 12px 30px rgba(0,0,0,0.35); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; border-radius: 24px; }
.trainer-card:hover { box-shadow: 0 0 0 2.5px rgba(192,102,245,0.32), 0 20px 48px rgba(0,0,0,0.48); transform: scale(0.95); border-color: rgba(192,102,245,0.35); }
.trainer-card::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: radial-gradient(circle at 50% 50%, rgba(192,102,245,0.16) 0%, rgba(192,102,245,0.28) 45%, rgba(192,102,245,0.0) 100%); transform: scale(0.06); transition: transform 1s ease; z-index: 0; filter: blur(8px); }
.trainer-card:hover::before { transform: scale(1); }
.trainer-card > * { position: relative; z-index: 1; }
/* Circular avatar */
.trainer-media { width: 140px; height: 140px; border-radius: 999px; margin: 2rem auto 1rem; background-position: center; background-size: cover; background-repeat: no-repeat; border: 2px solid rgba(192,102,245,0.45); box-shadow: 0 8px 24px rgba(0,0,0,0.45), 0 0 0 4px rgba(192,102,245,0.12); }
.trainer-body { padding: 1.25rem; display: grid; gap: 0.8rem; background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.25)); text-align: center; border-radius: 0 0 24px 24px; }
.trainer-top { display: grid; justify-items: center; align-items: center; gap: 0.35rem; }
.trainer-top h4 { margin: 0; font-size: 1.15rem; }
.trainer-bio { margin: 0; color: var(--muted); }
.trainer-price { margin: -0.2rem 0 0.2rem; color: #fff; opacity: 0.95; }

/* Nové triedy pre dynamické tréneri */
.trainer-card-media { width: 140px; height: 140px; border-radius: 999px; margin: 2rem auto 1rem; background-position: center; background-size: cover; background-repeat: no-repeat; border: 2px solid rgba(192,102,245,0.45); box-shadow: 0 8px 24px rgba(0,0,0,0.45), 0 0 0 4px rgba(192,102,245,0.12); }
.trainer-card-content { padding: 1.25rem; display: grid; gap: 0.8rem; background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.25)); text-align: center; border-radius: 0 0 24px 24px; }
.trainer-specialization { margin: 0; color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.trainer-language { 
    margin: 0; 
    color: #4ade80; 
    font-weight: 500; 
    font-size: 0.85rem; 
    opacity: 0.9; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.4rem; 
    flex-wrap: wrap; 
}
.trainer-language i {
    display: inline-block;
    width: 24px;
    height: 16px;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.trainer-description { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.trainer-more-btn { margin-top: 0.5rem; padding: 0.4rem 0.8rem; background: rgba(192,102,245,0.1); border: 1px solid rgba(192,102,245,0.3); color: var(--primary); border-radius: 6px; cursor: pointer; font-size: 0.85rem; transition: all 0.3s ease; }
.trainer-more-btn:hover { background: rgba(192,102,245,0.2); border-color: rgba(192,102,245,0.5); }


/* Modal */
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 1000; }
.modal[aria-hidden="false"] { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }
.modal-dialog { position: relative; width: min(920px, 92vw); max-height: 86vh; overflow: auto; border-radius: 16px; border: 1px solid rgba(192,102,245,0.25); background: rgba(17,18,36,0.9); box-shadow: 0 24px 60px rgba(0,0,0,0.6); }

/* Booking modal specific styles */
.booking-modal { z-index: 1001; } /* Vyšší z-index ako ostatné modaly */
.modal-dialog { transform-origin: var(--origin-x, 50%) var(--origin-y, 50%); will-change: transform,opacity,filter,clip-path; }
.modal[aria-hidden="false"] .modal-dialog.from-btn { animation: dot-pop .9s cubic-bezier(.22,1,.36,1) both; }
.modal.closing .modal-dialog { animation: dot-out .55s cubic-bezier(.4,0,.2,1) both; }
.modal.closing .modal-dialog.from-btn { animation: dot-out .55s cubic-bezier(.4,0,.2,1) both; }
@keyframes dot-pop {
  0%   { clip-path: circle(0.5% at var(--origin-x,50%) var(--origin-y,50%)); transform: scale(.02); opacity: 0; filter: blur(10px); }
  60%  { clip-path: circle(120% at var(--origin-x,50%) var(--origin-y,50%)); transform: scale(1.06); opacity: 1; filter: blur(0); }
  100% { clip-path: circle(140% at var(--origin-x,50%) var(--origin-y,50%)); transform: scale(1); opacity: 1; }
}
@keyframes dot-out {
  0%   { clip-path: circle(140% at var(--origin-x,50%) var(--origin-y,50%)); transform: scale(1);   opacity: 1; filter: blur(0); }
  100% { clip-path: circle(1%   at var(--origin-x,50%) var(--origin-y,50%)); transform: scale(.02); opacity: 0; filter: blur(10px); }
}
.modal-close { position: absolute; top: 0.5rem; right: 0.6rem; background: transparent; color: #fff; border: 0; font-size: 1.6rem; cursor: pointer; }
.modal-content { padding: 1.2rem; color: var(--text); }
.modal-content h4 { margin: 0 0 0.6rem; font-size: 1.4rem; }
.modal-content ul { margin: 0.6rem 0; padding-left: 1.1rem; }

/* Course modal používa rovnaké štýly ako trainer modal - triedy trainer-modal-grid, trainer-modal-form, trainer-modal-profile */
/* Course modal má opačné rozloženie - užší formulár, širší popis */
.course-modal .trainer-modal-grid { 
    display: grid; 
    grid-template-columns: 0.8fr 1.4fr; 
    gap: 1rem; 
    align-items: start; 
}
@media (max-width: 900px) { 
    .course-modal .trainer-modal-grid { 
        grid-template-columns: 1fr; 
    } 
}

/* Shop checkout modal */
.shop-checkout-modal .shop-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}
.shop-checkout-order-list {
    padding: 1.5rem;
    background: rgba(31, 32, 41, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(192, 102, 245, 0.3);
}
.shop-checkout-form {
    padding: 1.5rem;
}
@media (max-width: 900px) {
    .shop-checkout-modal .shop-checkout-grid {
        grid-template-columns: 1fr;
    }
}

/* Breakfast modal layout - unified with rates style */
.breakfast-modal { padding: 1rem; }
.breakfast-modal-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: start; }
.breakfast-left { display: grid; gap: 0.4rem; align-content: start; }
.breakfast-note { 
    margin: 1.5rem 0 0; 
    padding: 1.5rem; 
    background: rgba(192, 102, 245, 0.05);
    border: 1px solid rgba(192,102,245,0.15);
    border-radius: 12px;
}
.breakfast-note small { 
    font-size: 0.9rem; 
    font-weight: 400; 
    color: var(--muted);
    line-height: 1.6;
}
.breakfast-lists {
    padding: 1.5rem;
    background: rgba(192, 102, 245, 0.05);
    border: 1px solid rgba(192,102,245,0.15);
    border-radius: 12px;
    display: grid;
    gap: 1.5rem;
}
.breakfast-lists h5 {
    color: var(--primary);
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.breakfast-modal .breakfast-description {
  margin-bottom: 1.5rem;
}

.breakfast-modal .breakfast-description p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) { .breakfast-modal-grid { grid-template-columns: 1fr; } }

/* Slider */
.slider { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid rgba(192,102,245,0.25); background: rgba(255,255,255,0.03); }
.slides { display: flex; transition: transform .45s ease; }
.slides img { display: block; width: 100%; height: auto; }
.slide { min-width: 100%; margin: 0; }
.slide img { display: block; width: 100%; height: auto; object-fit: cover; }
.slide { 
    min-width: 100%; 
    margin: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.slide img { 
    display: block; 
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    object-position: center;
}
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.45); color: #fff; border: 1px solid rgba(255,255,255,0.25); width: 38px; height: 38px; border-radius: 999px; cursor: pointer; display: grid; place-items: center; }
.slider-nav.prev { left: 8px; }
.slider-nav.next { right: 8px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 50px; height: 40px; border-radius: 4px; border: 2px solid transparent; background: rgba(0,0,0,0.3); cursor: pointer; padding: 0; overflow: hidden; transition: all 0.3s ease; position: relative; }
.slider-dots button:hover { transform: scale(0.95); border-color: rgba(192,102,245,0.5); }
.slider-dots button img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center; 
    display: block;
    opacity: 1;
}
.slider-dots button:not(:has(img)) {
    background: rgba(0,0,0,0.5);
}
.slider-dots button:has(img[src=""]) {
    background: rgba(0,0,0,0.5);
}

/* Slot picker */
.slot-picker { border: 1px solid rgba(192,102,245,0.25); border-radius: 14px; padding: 0.8rem; background: rgba(255,255,255,0.03); margin-bottom: 0.6rem; }
.slot-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.5rem; }
.slot { display: grid; gap: 0.25rem; padding: 0.5rem; border-radius: 10px; border: 1px solid rgba(192,102,245,0.2); background: rgba(255,255,255,0.02); }
.slot h6 { margin: 0; font-size: 0.9rem; color: #fff; }
.slot-times { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.slot-time { padding: 0.3rem 0.5rem; border-radius: 999px; border: 1px solid rgba(192,102,245,0.3); background: rgba(192,102,245,0.08); cursor: pointer; font-size: 0.9rem; }
.slot-time[aria-pressed="true"] { background: linear-gradient(180deg, #b76af6, #c066f5); color: #0b0a12; border-color: rgba(255,255,255,0.7); box-shadow: 0 0 0 2px rgba(192,102,245,0.35); }
.slot-time[aria-pressed="mixed"] { background: linear-gradient(180deg, #9d8cff, #c066f5); color: #0b0a12; border-color: rgba(255,255,255,0.7); box-shadow: 0 0 0 2px rgba(192,102,245,0.35); opacity: 0.9; }

/* Slot navigation */
.slot-nav { display: flex; align-items: center; gap: 0.5rem; }
.dp-btn { background: rgba(192,102,245,0.1); border: 1px solid rgba(192,102,245,0.3); color: #c066f5; border-radius: 6px; padding: 0.3rem 0.6rem; cursor: pointer; transition: all 0.3s ease; }
.dp-btn:hover { background: rgba(192,102,245,0.2); }

/* Slot day layout */
.slot-day { display: grid; gap: 0.5rem; padding: 0.8rem; border-radius: 10px; border: 1px solid rgba(192,102,245,0.2); background: rgba(255,255,255,0.02); }
.slot-day-header { font-size: 0.9rem; color: #c066f5; font-weight: 600; text-align: center; }
.slot-day-slots { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.slot-btn { padding: 0.4rem 0.8rem; border-radius: 999px; border: 1px solid rgba(192,102,245,0.3); background: rgba(192,102,245,0.08); cursor: pointer; font-size: 0.9rem; color: #e0e0e0; transition: all 0.3s ease; }
.slot-btn:hover { border-color: #c066f5; background: rgba(192,102,245,0.15); }
.slot-btn.selected { background: linear-gradient(180deg, #b76af6, #c066f5); color: #0b0a12; border-color: rgba(255,255,255,0.7); box-shadow: 0 0 0 2px rgba(192,102,245,0.35); }

/* Trainer modal layout */
.trainer-modal { padding: 1rem; }
.trainer-modal h4 { margin-top: 0; margin-bottom: 1.5rem; text-align: center; }
.trainer-modal-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 1rem; align-items: start; }
@media (max-width: 900px){ .trainer-modal-grid { grid-template-columns: 1fr; } }
.trainer-modal-form { display: flex; flex-direction: column; }
.trainer-modal-profile { border: 1px solid rgba(192,102,245,0.25); border-radius: 14px; padding: 0.8rem; background: rgba(255,255,255,0.03); display: grid; gap: 0.6rem; }
.trainer-modal-avatar { width: 160px; height: 160px; border-radius: 999px; background: center/cover no-repeat; border: 2px solid rgba(192,102,245,0.45); box-shadow: 0 8px 24px rgba(0,0,0,0.45), 0 0 0 4px rgba(192,102,245,0.12); margin: 0 auto; }
.trainer-modal-bio { display: flex; flex-direction: column; }
.trainer-modal-bio h5 { margin: 0 0 0.2rem; }
.trainer-modal-bio p { margin: 0.3rem 0; }
.trainer-modal-bio p strong { color: var(--primary); }
.trainer-modal-bio button { width: 100%; margin-top: 1rem !important; display: block !important; }

/* Icon specs grid for room details - unified with rates style */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.spec { 
    display: grid; 
    gap: 0.5rem; 
    padding: 1.5rem; 
    border-radius: 12px; 
    border: 1px solid rgba(192,102,245,0.15); 
    background: rgba(192, 102, 245, 0.05);
    transition: all 0.3s ease;
}
.spec:hover {
    border-color: rgba(192,102,245,0.25);
    background: rgba(192, 102, 245, 0.08);
    transform: translateY(-2px);
}
.spec-ico { 
    width: 40px; 
    height: 40px; 
    display: grid; 
    place-items: center; 
    border-radius: 12px; 
    background: radial-gradient(120% 120% at 0% 0%, rgba(192,102,245,0.35), rgba(192,102,245,0.08)); 
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.spec h5 { 
    margin: 0 0 0.75rem 0; 
    font-size: 1.1rem; 
    font-weight: 600;
    color: var(--primary);
}
.spec p { 
    margin: 0; 
    color: var(--muted); 
    font-size: 0.9rem;
    line-height: 1.6;
}
.spec dl.kv {
    display: grid;
    gap: 0.5rem;
}
.spec dl.kv dt {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.9rem;
}
.spec dl.kv dd {
    margin: 0;
    color: var(--text);
    font-size: 0.9rem;
}
.tick { list-style: none; padding: 0; margin: 0.4rem 0 0; display: grid; gap: 0.25rem; }
.tick li { position: relative; padding-left: 1rem; color: var(--text); }
.tick li::before { content: "✓"; position: absolute; left: 0; color: #cda1ff; }
.kv { display: grid; grid-template-columns: 1fr 2fr; gap: 0.25rem 0.6rem; margin: 0.6rem 0 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

/* Loader (full-screen) */
#loader { position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg); z-index: 100; opacity: 1; transition: opacity .6s ease .2s; }
#loader.hide { opacity: 0; pointer-events: none; }
.loader-core { position: relative; width: 160px; height: 160px; display: grid; place-items: center; }
.loader-text { margin: 0.6rem 0 0; letter-spacing: 0.22rem; color: #fff; text-align: center; opacity: .9; font-weight: 800; }
.orb { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, #c066f5 60%, rgba(192,102,245,0.2) 100%); filter: blur(2px); animation: pulse 1.4s ease-in-out infinite alternate; }
.ring { position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 2px dashed rgba(192,102,245,0.55); animation: spin 6s linear infinite; filter: drop-shadow(0 0 12px rgba(192,102,245,0.35)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { from { transform: scale(.92); } to { transform: scale(1.05); } }

/* Hero intro reveal - disabled to allow custom title animation */
.hero-ctas { opacity: 0; transform: translateY(10px); transition: opacity .6s ease .12s, transform .6s ease .12s; }
body.ready .hero-ctas { opacity: 1; transform: none; }

/* Room cards scroll reveal */
.room-card[data-reveal] { opacity: 0; transform: translateY(12px) scale(0.98); filter: blur(2px); transition: opacity .6s ease, transform .6s ease, filter .6s ease; transition-delay: var(--rd, 0s); }
.room-card[data-reveal].revealed { opacity: 1; transform: none; filter: none; }
.rooms-grid > li { --rd: 0s; }
.rooms-grid > li:nth-child(2) { --rd: .06s; }
.rooms-grid > li:nth-child(3) { --rd: .12s; }
.rooms-grid > li:nth-child(4) { --rd: .18s; }

/* Datepicker */
.datepicker { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.98); opacity: 0; pointer-events: none; z-index: 50; width: min(720px, 92vw); border-radius: 16px; border: 1px solid rgba(192,102,245,0.25); background: rgba(17,18,36,0.96); box-shadow: 0 24px 60px rgba(0,0,0,0.6); backdrop-filter: blur(12px); transition: opacity .25s ease, transform .25s ease; padding: 0.8rem; }
.datepicker.show { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
.dp-head { display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 0.2rem; }
.dp-nav { display: flex; gap: 0.4rem; }
.dp-btn { background: rgba(255,255,255,0.06); border: 1px solid rgba(192,102,245,0.25); color: #fff; border-radius: 10px; padding: 0.35rem 0.6rem; cursor: pointer; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.25rem; padding: 0.4rem 0; }
.dp-cell { text-align: center; padding: 0.5rem 0.2rem; border-radius: 10px; cursor: pointer; color: var(--text); }
.dp-cell.muted { color: var(--muted); }
.dp-cell:hover { background: rgba(192,102,245,0.08); }
.dp-cell.free { background: rgba(192,102,245,0.10); border: 1px solid rgba(192,102,245,0.25); }
.dp-cell.range { background: rgba(192,102,245,0.18); border: 1px solid rgba(192,102,245,0.4); }
.dp-foot { display: flex; justify-content: flex-end; gap: 0.5rem; padding-top: 0.4rem; }

/* Availability grid */
.availability { margin-top: 1rem; }
.availability h4 { margin: 0 0 0.5rem; }
.avail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.6rem; }
.avail-item { padding: 0.7rem; border-radius: 12px; border: 1px solid rgba(192,102,245,0.2); background: rgba(255,255,255,0.03); display: grid; gap: 0.35rem; }
.avail-free { color: #a0ffcf; }
.avail-busy { color: #ffb4b4; }

/* Datepicker range styling refinements */
.dp-cell.range-mid { background: rgba(192,102,245,0.18); border: 1px solid rgba(192,102,245,0.32); }
.dp-cell.range-first, .dp-cell.range-last { background: rgba(192,102,245,0.36); border: 1px solid rgba(192,102,245,0.6); box-shadow: 0 0 0 2px rgba(192,102,245,0.25) inset, 0 6px 16px rgba(0,0,0,0.35); color: #fff; }
.dp-cell.selected { background: linear-gradient(180deg, #b76af6, #c066f5); color: #0b0a12; border: 1px solid rgba(255,255,255,0.7); box-shadow: 0 0 0 2px rgba(192,102,245,0.35), 0 10px 24px rgba(0,0,0,0.45); }
.dp-cell:hover { outline: 2px solid rgba(192,102,245,0.4); outline-offset: -2px; }



/* Booking embed chrome */
.previo-reservation-form {
    margin: 2rem 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);    
}

/* Fix pre previo iframe overlay - rezervácie zaberajá príliš veľa miesta */
#previo-booking-iframe {
    pointer-events: auto !important; /* Povolí kliky v iframe */
    scroll-margin-top: 0 !important; /* Zabráni automatickému scrollovaniu na iframe */
    scroll-margin: 0 !important;
    scroll-padding-top: 0 !important;
    scroll-padding: 0 !important;
}

/* Mobilná verzia - iframe na celú šírku a bez rámečka */
@media (max-width: 1200px) {
    #previo-booking-iframe {
        padding: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        width: 100% !important;
        margin: 0 !important;
    }
    
    #previo-container {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    #reservations {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    #reservations .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }
}

/* Zablokovanie automatického scrollovania na sekciu rezervácií */
#reservations {
    scroll-margin-top: 0 !important;
    scroll-margin: 0 !important;
    scroll-padding-top: 0 !important;
    scroll-padding: 0 !important;
}

/* Zabezpečuje že fitness sekcia je klikateľná */
.fitness-section {
    position: relative;
    z-index: 5 !important;
}

.fitness-section .btn {
    position: relative;
    z-index: 6 !important;
}

.previo-reservation-form iframe {
    border-radius: 24px;
    overflow: hidden;    
}

.booking-container {
    position: relative;
    border-radius: 24px;
    background: var(--bg);
    box-shadow: 0 24px 48px rgba(0,0,0,0.45);
    border: 1px solid rgba(192,102,245,0.25);
    overflow: hidden;   
}

.booking-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(17,18,36,0.98) 0%,
        rgba(11,10,18,0.95) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.booking-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top right,
        rgba(192,102,245,0.15),
        transparent 70%
    );
}

.booking-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at bottom left,
        rgba(192,102,245,0.1),
        transparent 70%
    );
}

.booking-container iframe {
    position: relative;
    z-index: 1;
    background: transparent !important;
    mix-blend-mode: lighten;
}

/* Fitness section */
.fitness-section { padding: 2rem 0; padding-bottom: 0rem; position: relative; z-index: 2; }
.fitness-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; margin: 2rem 0 8rem; }
.fitness-hero-gallery { margin-top: -4rem; }
.fitness-hero-content { display: grid; gap: 1rem; }
.fitness-tagline { font-size: 1.4rem; margin: 0; color: var(--primary); font-weight: 700; }
.fitness-description { font-size: 1.1rem; margin: 0; max-width: 54ch; }
.fitness-hero-gallery { border-radius: 16px; overflow: hidden; border: 1px solid rgba(192,102,245,0.25); box-shadow: 0 24px 48px rgba(0,0,0,0.45); background: linear-gradient(135deg, rgba(192,102,245,0.05), rgba(17,18,36,0.9)), url('fotky/fitness/more_than_services_gym_gallery_20.webp'); background-size: cover; background-position: center; background-blend-mode: multiply; position: relative; min-height: 300px; opacity: 0.4; }
.fitness-hero-visual { position: relative; width: 100%; height: 100%; min-height: 300px; }
.visual-element { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(192,102,245,0.3), rgba(192,102,245,0.1)); animation: float 6s ease-in-out infinite; }
.element-1 { width: 80px; height: 80px; top: 20%; left: 20%; animation-delay: 0s; }
.element-2 { width: 60px; height: 60px; top: 60%; right: 25%; animation-delay: 2s; }
.element-3 { width: 100px; height: 100px; bottom: 20%; left: 30%; animation-delay: 4s; }
.element-4 { width: 40px; height: 40px; top: 40%; right: 15%; animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.7; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 1; }
}

.fitness-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.fitness-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(192,102,245,0.22);
    background: rgba(255,255,255,0.03);
    box-shadow: 0 0 0 2px rgba(192,102,245,0.18), 0 12px 30px rgba(0,0,0,0.35);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    border-radius: 24px;
    cursor: pointer;
    will-change: transform;
}

.fitness-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 50%, rgba(192,102,245,0.16) 0%, rgba(192,102,245,0.28) 45%, rgba(192,102,245,0.0) 100%);
    transform: scale(0.06);
    transition: transform 1s ease;
    z-index: 0;
    filter: blur(8px);
}

.fitness-card:hover {
    box-shadow: 0 0 0 2.5px rgba(192,102,245,0.32), 0 20px 48px rgba(0,0,0,0.48);
    transform: translateY(-8px);
    border-color: rgba(192,102,245,0.35);
}

.fitness-card:hover::before {
    transform: scale(1);
}

.fitness-card > * {
    position: relative;
    z-index: 1;
}

.fitness-card-media {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    border-bottom: 1px solid rgba(192,102,245,0.15);
}

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

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

.fitness-card-content {
    padding: 1.5rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.25));
    border-radius: 0 0 24px 24px;
}

.fitness-card .room-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.fitness-card h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
}

.fitness-card .badge {
    background: var(--primary);
    color: var(--primary-contrast);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.fitness-card p {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.fitness-card .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

.fitness-card .chips li {
    background: rgba(192,102,245,0.1);
    border: 1px solid rgba(192,102,245,0.25);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--muted);
    transition: transform .2s ease, background-color .2s ease;
}

.fitness-card .chips li:hover {
    transform: translateY(-2px);
    background: rgba(192,102,245,0.15);
    color: #fff;
}

.fitness-card .btn.pill.primary {
    width: 100%;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.9rem;
    padding: 0.8rem;
}

.fitness-benefits { margin: 5rem 0; text-align: center; }
.benefits-title { font-size: 1.8rem; margin: 0 0 2rem; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; list-style: none; padding: 0; }
.benefit-icon { margin-bottom: 0.5rem; }
.benefit-icon img { 
    width: 120px; 
    height: 120px; 
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(192, 102, 245, 0.3));
}
.benefit-icon:hover img {
    transform: scale(1.1) translateY(-5px);
    filter: drop-shadow(0 8px 20px rgba(192, 102, 245, 0.6));
}
.benefit-icon img[alt="Komfort"] { transform: rotate(90deg); }
.benefit-icon img[alt="Prémiové vybavenie"] { transform: rotate(-7deg); }
.benefit-icon img[alt="Samoobslužne fitness"] { transform: rotate(-8deg); }
.benefit-icon:hover img[alt="Komfort"] { transform: scale(0.95); }
.benefit-icon:hover img[alt="Prémiové vybavenie"] { transform: scale(0.95); }
.benefit-icon:hover img[alt="Samoobslužne fitness"] { transform: scale(0.95); }
.benefits-grid h5 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.benefits-grid p { margin: 0; color: var(--muted); }

.fitness-cta-section { text-align: center; margin: 3rem 0 1rem; }
.fitness-cta-section h4 { font-size: 1.6rem; margin: 0 0 0.5rem; }
.fitness-cta-section p { margin: 0 0 1.5rem; color: var(--muted); }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; }

/* Gym modal */
.gym-modal { max-width: 1200px; }
.gym-info { display: none; }
.gym-info[aria-hidden="false"] { display: block; }
.gym-info-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .gym-info-grid { grid-template-columns: 1fr; } }

/* Gym gallery specific styling */
.gym-info-gallery .slider {
    height: 500px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.gym-info-gallery .slides {
    flex: 1;
    height: 100%;
    display: flex;
}

.gym-info-gallery .slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gym-info-gallery .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Kardio gallery - adjusted height for landscape photos */
.gym-info[data-info-section="cardio"] .gym-info-gallery .slider {
    height: 350px;
    min-height: 350px;
}

.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.price-card { 
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(192,102,245,0.25);
    background: rgba(17,18,36,0.95);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    transition: transform .35s ease, box-shadow .35s ease;
}
.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 44px rgba(0,0,0,0.45);
    border-color: rgba(192,102,245,0.35);
}
.price-card.featured { 
    background: linear-gradient(135deg, rgba(192,102,245,0.15), rgba(192,102,245,0.05));
    border-color: rgba(192,102,245,0.4);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.price-card.featured:hover {
    box-shadow: 0 20px 48px rgba(0,0,0,0.48);
}
.price-card h6 { 
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: #fff;
}
.price-card .price { 
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    color: var(--primary);
    text-shadow: 0 2px 8px rgba(192,102,245,0.25);
}
.price-card ul { margin: 0; }
.price-card .tick li {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.equipment-list { display: grid; gap: 1.5rem; margin: 1.5rem 0; }
.equipment-category {
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(192,102,245,0.2);
    background: rgba(255,255,255,0.02);
}
.equipment-category h6 { 
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    color: var(--primary);
}
.equipment-category ul { margin: 0; }
.equipment-category .tick li {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.35rem 0;
}

.gym-info-notes { 
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(192,102,245,0.15);
}
.gym-info-notes p { 
    margin: 0.75rem 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.gym-info-notes strong {
    color: #fff;
    font-size: 1rem;
}

/* Breakfast section */
.breakfast { padding: 3.5rem 0; }
.breakfast-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
.breakfast-copy { display: grid; gap: 0.6rem; }
.breakfast-copy h4 { margin: 0.6rem 0 0.2rem; }
.breakfast-photos { display: none; }
@media (max-width: 900px){ .breakfast-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact { padding: 4rem 0; margin-top: 3rem; }
.contact h3 { margin-bottom: 3rem; text-align: left; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-details h4 { margin-bottom: 1rem; color: var(--accent); }
.contact-details p { margin-bottom: 0.5rem; color: var(--muted); }
.contact-buttons { display: flex; gap: 1rem; margin-top: 1.5rem; }
.contact-buttons .btn { flex: 1; text-align: center; }

.billing-info {
    background: var(--glass);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.billing-info h4 {
    color: var(--primary);
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
}

.billing-info p {
    color: var(--text);
    margin: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.location-modal .location-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 1rem;
}

.location-modal .location-content p {
    color: var(--muted);
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.location-modal .location-content h5 {
    color: var(--primary);
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.location-modal .transport-section {
    margin-top: 1.5rem;
}

.location-modal .transport-section h5:first-child {
    margin-top: 0;
}

.terms-modal .terms-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 1rem;
}

.terms-modal .terms-content p {
    color: var(--muted);
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.terms-modal .terms-content h5 {
    color: var(--primary);
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.terms-modal .terms-section {
    margin-bottom: 1.5rem;
}

.terms-modal .terms-section:first-child h5 {
    margin-top: 0;
}

.terms-modal .rating-guidelines {
    margin: 1.5rem 0;
}

.terms-modal .guideline-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.terms-modal .guideline-item h6 {
    color: var(--primary);
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.terms-modal .guideline-item p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

.terms-modal .rating-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(192, 102, 245, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(192, 102, 245, 0.2);
    font-style: italic;
    font-size: 0.9rem;
}

.terms-modal a {
    color: var(--primary);
    text-decoration: none;
}

.terms-modal a:hover {
    text-decoration: underline;
}

.rates-modal .modal-navigation {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(192, 102, 245, 0.2);
    padding-bottom: 1rem;
}

.rates-modal .nav-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(192, 102, 245, 0.3);
    background: rgba(255, 255, 255, 0.02);
    color: var(--muted);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.rates-modal .nav-btn:hover {
    background: rgba(192, 102, 245, 0.1);
    border-color: rgba(192, 102, 245, 0.5);
    color: var(--text);
}

.rates-modal .nav-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, #d591ff 100%);
    color: #ffffff;
    border-color: rgba(192, 102, 245, 0.7);
    box-shadow: 0 4px 12px rgba(192, 102, 245, 0.3);
}

.rates-modal .rates-content,
.rates-modal .services-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 1rem;
}

.rates-modal .rates-intro {
    margin-bottom: 2rem;
}

.rates-modal .rates-intro p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Match Terms tab styling with Services/Rates in the same modal */
.rates-modal .terms-content {
    max-height: calc(86vh - 200px);
    overflow-y: auto !important;
    overflow-x: hidden;
    padding-right: 1rem;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

/* Zabezpečenie scrollovania v VOP modale aj keď je otvorený booking modal */
#membershipModal[aria-hidden="false"] .modal-dialog {
    overflow: visible !important;
}

#membershipModal[aria-hidden="false"] #membershipTermsSection {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.rates-modal .terms-content p {
    color: var(--muted);
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.rates-modal .terms-content h5 {
    color: var(--primary);
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.rates-modal .terms-section {
    margin-bottom: 1.5rem;
}

.rates-modal .terms-section:first-child h5 {
    margin-top: 0;
}

/* Store badges (App Store / Google Play) */
.rates-modal .app-badges { display: flex; flex-wrap: wrap; gap: 1rem; align-items: baseline; margin-top: .75rem; }
.rates-modal .app-badges span { color: #fff; font-size: 1.1rem; line-height: 1.5; font-weight: 500; display: inline-block; }
.rates-modal .app-badges .store-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); color: #fff; padding: .6rem .9rem; border-radius: 999px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; line-height: 1.5; font-size: 0.9rem; }
.rates-modal .app-badges .store-btn:hover { transform: scale(0.95); box-shadow: 0 8px 20px rgba(0,0,0,.35); background: rgba(255,255,255,0.1); }
.rates-modal .app-badges .store-btn .icon { display: inline-flex; width: 22px; height: 22px; }
.rates-modal .app-badges .store-btn .label { display: flex; flex-direction: column; line-height: 1; font-size: 12px; }
.rates-modal .app-badges .store-btn .label strong { font-size: 13px; }
.rates-modal .app-badges .shop-btn { margin-left: 0; }

.rates-modal .rate-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(192, 102, 245, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(192, 102, 245, 0.15);
}

.rates-modal .rate-category h6 {
    color: var(--primary);
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.rates-modal .rate-category p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.rates-modal .rate-details {
    margin-top: 1rem;
}

.rates-modal .rate-details h6 {
    color: var(--accent);
    margin: 1rem 0 0.5rem 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.rates-modal .rate-details h6:first-child {
    margin-top: 0;
}

.rates-modal .rate-details ul {
    margin: 0 0 1rem 0;
    padding-left: 1.1rem;
}

.rates-modal .rate-details li {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.3rem;
}

.rates-modal .services-section {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(192, 102, 245, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(192, 102, 245, 0.15);
}

.rates-modal .services-section h5 {
    color: var(--primary);
    margin: 0 0 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.rates-modal .services-section p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    text-align: center;
}

.rates-modal .service-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.rates-modal .service-category h5,
.rates-modal .service-category h6 {
    color: var(--accent);
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.rates-modal .service-category p {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.rates-modal .service-category ul {
    margin: 0;
    padding-left: 1.1rem;
}

.rates-modal .service-category li {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.3rem;
}

/* Tourist Tips */
.tourist-tips h4 { 
    margin-bottom: 1.5rem; 
    color: var(--primary); 
    font-size: 1.5rem;
    font-weight: 600;
    text-align: left;
}
.tourist-tips p { margin-bottom: 1.5rem; color: var(--muted); }
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.tip-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(192,102,245,0.22); border-radius: 16px; padding: 1rem; text-align: center; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; }
.tip-card::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: radial-gradient(circle at 50% 50%, rgba(192,102,245,0.16) 0%, rgba(192,102,245,0.28) 45%, rgba(192,102,245,0.0) 100%); transform: scale(0.06); transition: transform 1s ease; z-index: 0; filter: blur(8px); }
.tip-card:hover { transform: scale(0.95); border-color: rgba(192,102,245,0.35); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.tip-card:hover::before { transform: scale(1); }
.tip-card > * { position: relative; z-index: 1; }
.tip-card img { width: 100%; height: 80px; object-fit: cover; border-radius: 8px; margin-bottom: 0.75rem; }
.tip-card h5 { margin: 0 0 0.25rem; font-size: 0.9rem; color: var(--text); }
.tip-card p { margin: 0; font-size: 0.8rem; color: var(--muted); }

/* Map Section */
.map-section { display: flex; flex-direction: column; gap: 2rem; }
.map-container { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(192,102,245,0.25); height: 500px; }
.map-container iframe { width: 100%; height: 100%; border: none; }
.map-overlay { position: absolute; top: 1rem; right: 1rem; z-index: 10; }
.map-overlay .btn { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    background: linear-gradient(135deg, var(--primary), #d591ff) !important; 
    color: #ffffff !important; 
    border: 1px solid rgba(192, 102, 245, 0.6) !important;
    box-shadow: 0 4px 12px rgba(192, 102, 245, 0.4) !important;
    backdrop-filter: blur(10px);
}
.map-overlay .btn:hover { 
    background: linear-gradient(135deg, #d591ff, var(--primary)) !important; 
    transform: scale(0.95);
    box-shadow: 0 6px 16px rgba(192, 102, 245, 0.6) !important;
}

/* Contact Form */
.contact-form-section { max-width: 600px; margin: 0 auto; }
.contact-form-section h4 { 
    margin-bottom: 1.5rem; 
    text-align: left; 
    color: var(--accent); 
    font-size: 1.5rem;
    font-weight: 600;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.contact label { display: block; margin-bottom: 1rem; }
.contact input, .contact textarea { width: 100%; padding: 0.75rem; border: 1px solid rgba(192,102,245,0.3); border-radius: 8px; background: rgba(255,255,255,0.05); color: var(--text); }
.contact input:focus, .contact textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(192,102,245,0.2); }
.contact button { width: 100%; margin-top: 1rem; }
#formMsg { margin-top: 1rem; text-align: center; }
#formMsg.success { color: #4ade80; }
#formMsg.error { color: #f87171; }

/* Stay intro */
.stay-intro { 
    margin: 3rem 0 4rem; 
    display: grid; 
    gap: 2rem; 
    justify-items: center; 
    align-items: start; 
    text-align: center; 
    position: relative; 
    z-index: 5; 
    width: min(100% - 2rem, 1200px); 
    margin-left: auto; 
    margin-right: auto; 
}
.stay-intro .section-title { text-align: center; justify-self: center; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}
.service-card {
    position: relative;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(192,102,245,0.15);
    background: rgba(192, 102, 245, 0.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    backdrop-filter: blur(8px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
    cursor: pointer;
}
.service-card:hover {
    border-color: rgba(192,102,245,0.25);
    background: rgba(192, 102, 245, 0.08);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.service-title {
    color: var(--primary);
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 2.0s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}
.service-card:hover .service-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
    transform: translateY(-10px);
}
.service-card:hover .service-content {
    opacity: 1;
    max-height: 500px;
    transform: translateY(0);
}

/* Špecifický štýl pre training kartu */
.training-card .service-title {
    color: var(--primary) !important;
}
.service-card p {
    margin: 0;
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.7;
}

/* Počiatočný stav pre tge animáciu */
.service-card .tge-word {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), 
                filter 1.5s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive pre services grid */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .service-card {
        padding: 1.5rem;
    }
    .service-card h4 {
        font-size: 1.2rem;
    }
    .service-card p {
        font-size: 0.95rem;
    }
}
.tge-title { position: relative; }
.tge-title .tge-word { display: inline-block; opacity: 0; filter: blur(10px); transition: opacity .6s ease, filter .6s ease, transform .6s ease; }
.tge { position: relative; }
.tge .tge-word { display: inline-block; opacity: 0; filter: blur(10px); transition: opacity .6s ease, filter .6s ease, transform .6s ease; }

/* Stay reveal tuning */
#stay[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
#stay.revealed { opacity: 1; transform: none; }

.stay-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: radial-gradient(circle at 20% 0%, rgba(192,102,245,0.22), rgba(192,102,245,0.0) 50%);
    filter: blur(10px);
    opacity: 0.7;
    z-index: 0;
}
.stay-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #d1d5db;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Tips Modal */
.tips-modal .modal-dialog { max-width: 800px; }
.tips-modal-content { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.tips-modal img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; }
.tips-modal h5 { margin: 1rem 0 0.5rem; color: var(--accent); }
.tips-modal p { color: var(--muted); line-height: 1.6; }

@media (max-width: 1200px) {
    .fitness-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* Shop */
.shop { padding: 4rem 0; margin-top: 2rem; position: relative; z-index: 3; }
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.shop-product-card {
    background: var(--glass);
    border: 1px solid rgba(192,102,245,0.18);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.shop-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(192,102,245,0.05), rgba(139,92,246,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.shop-product-card:hover {
    border-color: rgba(192,102,245,0.4);
    box-shadow: 0 12px 32px rgba(192,102,245,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.shop-product-card:hover::before {
    opacity: 1;
}
.shop-product-card:active {
    transform: translateY(0);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
}
.shop-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(192,102,245,0.3);
}
.shop-product-name {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.shop-product-description {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.shop-product-price {
    color: #86efac;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.shop-product-stock {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.shop-add-to-cart {
    background: linear-gradient(135deg, #c066f5, #8b5cf6);
    border: none;
    border-radius: 8px;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}
.shop-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 102, 245, 0.3);
}
.shop-add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Shop - responzívne štýly pre malé obrazovky */
@media (max-width: 600px) {
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .shop-product-card {
        padding: 1rem;
    }
    
    .shop-product-image {
        height: 160px;
    }
    
    .shop-product-name {
        font-size: 1rem;
    }
    
    .shop-product-description {
        font-size: 0.85rem;
    }
    
    .shop-product-price {
        font-size: 1.2rem;
    }
    
    .shop-add-to-cart {
        padding: 0.65rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Shop Cart */
#shopCartSection {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(192, 102, 245, 0.3);
}

#shopCartSection h4 {
    color: #c066f5;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(31, 32, 41, 0.6);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(192, 102, 245, 0.2);
}

.cart-item-info h4 {
    color: #c066f5;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cart-item-info p {
    color: #a0a0a0;
    margin: 0;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(17, 18, 36, 0.8);
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(192, 102, 245, 0.3);
}

.cart-quantity button {
    background: rgba(192, 102, 245, 0.2);
    border: 1px solid rgba(192, 102, 245, 0.3);
    color: #c066f5;
    width: 35px;
    height: 35px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cart-quantity button:hover {
    background: rgba(192, 102, 245, 0.3);
    transform: scale(1.05);
}

.cart-quantity span {
    padding: 0 1rem;
    min-width: 50px;
    text-align: center;
    color: #fff;
    font-weight: 600;
}

.cart-total {
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cart-total h3 {
    color: #86efac;
    font-size: 1.8rem;
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    /* Shop sekcia - mobilné zariadenia */
    .shop {
        padding: 2rem 0;
    }
    
    .shop .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Shop Grid - mobilné zariadenia */
    .shop-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0;
    }
    
    .shop-product-card {
        padding: 1rem;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .shop-product-image {
        height: 180px;
        width: 100%;
        object-fit: cover;
    }
    
    .shop-product-name {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .shop-product-description {
        font-size: 0.85rem;
        line-height: 1.4;
        word-wrap: break-word;
    }
    
    .shop-product-price {
        font-size: 1.3rem;
    }
    
    .shop-add-to-cart {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        width: 100%;
    }
    
    /* Košík - mobilné zariadenia */
    #shopCartSection {
        margin-top: 2rem;
        padding-top: 2rem;
        padding-left: 0;
        padding-right: 0;
    }
    
    #shopCartSection h4 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    #shopCartItems {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    #shopCartTotal {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .cart-item-info {
        width: 100%;
        flex: 1;
    }
    
    .cart-item-info h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.3;
    }
    
    .cart-item-info p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
    }
    
    .cart-item-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        flex-shrink: 0;
    }
    
    .cart-quantity {
        width: 100%;
        justify-content: center;
        padding: 0.5rem;
        box-sizing: border-box;
    }
    
    .cart-quantity button {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        flex-shrink: 0;
        min-width: 44px;
    }
    
    .cart-quantity span {
        min-width: 60px;
        font-size: 1rem;
        flex: 1;
        text-align: center;
    }
    
    .cart-remove-btn {
        width: 100%;
        margin-left: 0 !important;
        padding: 0.75rem;
        font-size: 0.9rem;
        box-sizing: border-box;
    }
    
    .cart-total {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch !important;
        padding: 1rem;
        box-sizing: border-box;
    }
    
    #shopCartTotal > div {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .cart-total h3 {
        text-align: center;
        font-size: 1.5rem;
        white-space: nowrap;
    }
    
    .cart-total .btn {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.cart-modal.active { display: flex; }
.cart-modal-content {
    background: rgba(31, 32, 41, 0.95);
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(192, 102, 245, 0.3);
}
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(192, 102, 245, 0.1);
}
.cart-item-info h4 {
    color: #c066f5;
    margin-bottom: 0.5rem;
}
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.cart-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cart-quantity button {
    background: rgba(192, 102, 245, 0.2);
    border: 1px solid rgba(192, 102, 245, 0.3);
    color: #c066f5;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
}
.cart-total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(192, 102, 245, 0.3);
    text-align: right;
}
.cart-total h3 {
    color: #86efac;
    font-size: 1.5rem;
}

/* Ecology */
.ecology { padding: 4rem 0; margin-top: 2rem; }
.ecology-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-top: 3rem; }
.ecology-intro { margin-bottom: 2rem; text-align: center; max-width: 800px; margin-left: auto; margin-right: auto; }
.ecology-intro p { font-size: 1.1rem; color: var(--muted); line-height: 1.6; }
.ecology-card { background: var(--glass); border: 1px solid rgba(192,102,245,0.18); border-radius: 20px; padding: 2rem; box-shadow: 0 8px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ecology-card:hover { transform: scale(0.95); box-shadow: 0 16px 40px rgba(0,0,0,0.45); }
.ecology-card-header h4 { margin: 0 0 1rem; color: var(--primary); font-weight: 600; font-size: 1.2rem; }
.ecology-card-content p { margin: 0; color: var(--text); line-height: 1.6; font-size: 0.95rem; }

/* About sekcia */
#aboutTitle {
    opacity: 0;
    will-change: opacity;
}

.about-intro {
    opacity: 0;
    will-change: opacity;
}

.philosophy-card:nth-child(1) { 
    opacity: 0; 
    transform: translateX(-300px);
    will-change: transform, opacity;
}

.philosophy-card:nth-child(2) { 
    opacity: 0; 
    transform: translateX(300px);
    will-change: transform, opacity;
}

/* Fitness benefits - jednoduché opacity */
.fitness-benefits {
    opacity: 0;
    will-change: opacity;
}

@media (max-width: 768px) {
    .brand-logo { height: 150px; max-width: 280px; }
    .brand-line1 { font-size: 0.85rem; }
    .brand-line2 { font-size: 0.65rem; }
    .fitness-grid { grid-template-columns: 1fr; gap: 1rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-grid { grid-template-columns: 1fr; }
    .tips-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
    .tips-modal-content { grid-template-columns: 1fr; }
    .map-container { height: 350px; }
    .map-section { gap: 1.5rem; }
    .ecology-features { grid-template-columns: 1fr; gap: 1.5rem; }
    .ecology-intro p { font-size: 1rem; }
    /* Fitness hero - medzery v mobilnej verzii */
    .fitness-hero {
        grid-template-columns: 1fr; /* Jedna stĺpec v mobilnej verzii */
        gap: 2.5rem; /* Zväčšená medzera medzi obsahom a obrázkom */
        margin: 2rem 0 4rem; /* Upravené margin */
    }
    .fitness-hero-gallery {
        margin-top: 0; /* Odstránený negatívny margin v mobilnej verzii */
    }
    .fitness-description {
        margin-bottom: 1.5rem; /* Medzera pred tlačidlami */
    }
    .fitness-ctas {
        display: flex;
        flex-direction: column;
        gap: 1rem; /* Medzera medzi tlačidlami */
        margin-top: 0.5rem; /* Dodatočná medzera navrch */
    }
}

/* About */
.about { padding: 4rem 0; margin-top: 2rem; }
.about-intro { margin-bottom: 3rem; text-align: center; max-width: 900px; margin-left: auto; margin-right: auto; }
.about-text { font-size: 1.2rem; color: var(--text); line-height: 1.7; font-weight: 300; }
.about-philosophy { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; margin-top: 3rem; }
.philosophy-card { background: var(--glass); border: 1px solid rgba(192,102,245,0.18); border-radius: 24px; padding: 2.5rem; box-shadow: 0 8px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.philosophy-card:hover { transform: scale(0.95); box-shadow: 0 20px 50px rgba(0,0,0,0.45); }
.philosophy-icon { font-size: 3rem; margin-bottom: 1.5rem; text-align: center; }
.philosophy-icon img { 
    width: 120px; 
    height: 120px; 
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(192, 102, 245, 0.3));
}
.philosophy-icon:hover img {
    transform: scale(1.1) translateY(-5px);
    filter: drop-shadow(0 8px 20px rgba(192, 102, 245, 0.6));
}
.philosophy-content h4 { margin: 0 0 1rem; color: var(--primary); font-weight: 600; font-size: 1.3rem; }
.philosophy-content p { margin: 0; color: var(--text); line-height: 1.7; font-size: 1rem; }

@media (max-width: 768px) {
    .about-philosophy { grid-template-columns: 1fr; gap: 1.5rem; }
    .philosophy-card { padding: 2rem; }
    .philosophy-icon { font-size: 2.5rem; }
    .philosophy-icon img { 
        width: 100px; 
        height: 100px; 
    }
    .about-text { font-size: 1.1rem; }
}

/* Dome Gallery Styles */
.dg-scroll-lock {
    overflow: hidden !important;
}

.sphere-root {
    --radius: 520px;
    --viewer-pad: 72px;
    --circ: calc(var(--radius) * 3.14);
    --rot-y: calc((360deg / var(--segments-x)) / 2);
    --rot-x: calc((360deg / var(--segments-y)) / 2);
    --item-width: calc(var(--circ) / var(--segments-x));
    --item-height: calc(var(--circ) / var(--segments-y));
}

.sphere-root * { 
    box-sizing: border-box; 
}

.sphere, .sphere-item, .item__image { 
    transform-style: preserve-3d; 
}

.stage {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    position: absolute;
    inset: 0;
    margin: auto;
    perspective: calc(var(--radius) * 2);
    perspective-origin: 50% 50%;
}

.sphere {
    transform: translateZ(calc(var(--radius) * -1));
    will-change: transform;
    position: absolute;
}

.sphere-item {
    width: calc(var(--item-width) * var(--item-size-x));
    height: calc(var(--item-height) * var(--item-size-y));
    position: absolute;
    top: -999px;
    bottom: -999px;
    left: -999px;
    right: -999px;
    margin: auto;
    transform-origin: 50% 50%;
    backface-visibility: hidden;
    transition: transform 300ms;
    transform: rotateY(calc(var(--rot-y) * (var(--offset-x) + ((var(--item-size-x) - 1) / 2)) + var(--rot-y-delta, 0deg))) 
               rotateX(calc(var(--rot-x) * (var(--offset-y) - ((var(--item-size-y) - 1) / 2)) + var(--rot-x-delta, 0deg))) 
               translateZ(var(--radius));
}

.sphere-root[data-enlarging="true"] .scrim {
    opacity: 1 !important;
    pointer-events: all !important;
}

.item__image {
    position: absolute;
    inset: 10px;
    border-radius: var(--tile-radius, 12px);
    overflow: hidden;
    cursor: pointer;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 300ms;
    pointer-events: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.item__image--reference {
    position: absolute;
    inset: 10px;
    pointer-events: none;
}

.enlarge {
    position: absolute;
    z-index: 30;
    will-change: transform, opacity;
    transform-origin: top left;
    transition: transform 300ms ease, opacity 300ms ease;
    border-radius: var(--enlarge-radius, 30px);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.viewer-frame {
    height: 100%;
    aspect-ratio: 1;
    display: flex;
    border-radius: var(--enlarge-radius, 30px);
}

.scrim {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 500ms;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
}
