:root{
    --accent:#7a5cff;
    --muted:#6b7280;
    --bg:#fbfbfd;
    --card: #ffffff;
    --header:#0A0B10;
}
    html { 
      scroll-behavior: smooth; 
    }
    * {box-sizing:border-box;}

    h1, h2, h3, h4, h5, h6 {
      color: #0A0B10;
    }

    header {
    /* FIXACE NAHORU */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    
    /* VZHLED */
    background: rgba(251, 251, 253, 0.85); /* Vaše --bg barva s průhledností */
    backdrop-filter: blur(12px);          /* Efekt rozmazání za headerem */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    }

    header.scrolled {
    background: rgba(251, 251, 253, 0.98);
    border-bottom: 1px solid #e6e9f2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  }

    body{
      font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial;
      line-height:1.45;
      margin:0;
      background:var(--bg);color:#0f172a
    }

    .container{
        max-width:1200px;
        margin:0 auto;
        padding:28px
    }
    .top{
        display:flex;
        align-items:center;
        justify-content:space-between;
        padding:20px 0
    }
    .brand{
        display:flex;
        gap:14px;
        align-items:center
    }
    .logo{
        width:64px;
        height:64px;
        border-radius:12px;background:linear-gradient(135deg,var(--accent),#4bb6ff);
        display:flex;
        align-items:center;
        justify-content:center;
        color:white;
        font-weight:700
    }
    nav a{
        margin-left:18px;
        color:var(--muted);
        text-decoration:none;
        font-weight:600
    }
    nav a.primary{
        color:white;
        padding:8px 14px;
        border-radius:10px;
        margin-left:22px;
        background: linear-gradient(135deg, #8c6bff 0%, #4bb6ff 100%);
    }


    button.send {
        transition: transform 0.2s ease, box-shadow 0.2ms ease, background 0.2s ease;
        will-change: transform, box-shadow;
    }
    button.send:hover {
        box-shadow: 0 8px 20px rgba(122,92,255,0.18);
        background: linear-gradient(135deg, #8c6bff 0%, #4bb6ff 100%);
        color: #fff;
        outline: none;
        transform: scale(1.05);
    }


    button.btn.primary{
        transition: transform 0.2s ease, box-shadow 0.2ms ease, background 0.2s ease;
        will-change: transform, box-shadow;
        border: 1px solid #e6e9f2;
    }
    button.btn.primary:hover{
    box-shadow: 0 8px 20px rgba(122,92,255,0.18);
    background: linear-gradient(135deg, #8c6bff 0%, #4bb6ff 100%);
    color: #fff;
    outline: none;
    transform: scale(1.05);
    }

    .hero{
        display:grid;
        grid-template-columns:1fr 420px;
        gap:24px;align-items:center;
        padding:42px 0
    }
    .hero h1{
        font-size:clamp(26px,4vw,40px);
        margin:0 0 14px
    }
    .hero p{
        color:var(--muted);
        margin:22px 0 22px;
    }
    .cta{
        display:flex;
        gap:12px
    }
    .btn{padding:12px 18px;border-radius:10px;border:0;font-weight:700;cursor:pointer}
    .btn.primary{background:var(--accent);color:white}
    .btn.ghost{background:transparent;border:1px solid #e6e9f2;color:var(--muted)}

.new-grid .grid-3 .card img {
  display: block;
  width: 100%;    
  height: 200px;            
  object-fit: cover;        /* udržuje proporce, ořízne přebytek */
  border-radius: 20px;      
  margin-bottom: 12px;      
}

    .hero-card{
        background:var(--card);
        border-radius:14px;
        padding:18px;
        box-shadow:0 6px 20px rgba(16,24,40,0.06)
    }

    .hero-img{height:300px;
        background:url('images/hero.jpg') center/cover no-repeat;
        border-radius:12px}

    /* sections */
    section{padding:40px 0}
    .grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
    
    .new-grid .grid-3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    }   
    
    .card {
    background: var(--card);
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15,23,42,0.05);
    overflow: hidden;
    }   

    .card h3{margin:0 0 8px}
    .muted{color:var(--muted)}

    .gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
    .gallery img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        border-radius: 8px;
        cursor: zoom-in;
        /* Plynulost animace - základ všeho */
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
        will-change: transform; /* Optimalizace pro prohlížeč */
    }
    .gallery img:hover {
    transform: scale(1.05); /* Lehké zvětšení o 5% */
    box-shadow: 0 10px 25px rgba(122, 92, 255, 0.25); /* Jemná záře ve vaší fialové */
    z-index: 10; /* Aby zvětšený obrázek nepřekryly ty sousední */
    position: relative;
}
    /* contact */
    .contact{display:grid;grid-template-columns:1fr 600px;gap:24px}
    form{display:flex;flex-direction:column;gap:12px}
    input,textarea{padding:12px;border-radius:8px;border:1px solid #e6e9f2}
    button.send{background:var(--accent);color:white;padding:12px;border-radius:8px;border:0;font-weight:700}

    footer{border-top:1px solid #eef2ff;padding:28px 0 0;color:var(--muted)}

    /* footer layout */
  .footer-map-full {
    width: 100%;
    margin-top: 24px;
    padding: 0 20px 0 20px;
    margin: 0 auto;

  }

  .footer-map-full iframe {
    display: block;
    border-radius: 20px;
    width: 100%;
    height: 150px;
    border: 0;
    filter: grayscale(20%) contrast(1.0);
    /*box-shadow: 0 -20px 35px -20px rgba(0, 0, 0, 0.344); /* horní stín */

  }

  #mailMobile{
      display:none;
  }
  #mailPC{
  display:block;}

  .social {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 20px 0;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(122, 92, 255, 0.2);
}

.social a img {
  width: 35px;
  height: 35px;
  fill: white;
  filter: invert(1);
}

.testimonial {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #eef2ff; /* Jemné ohraničení pro hloubku */
}

.testimonial .rating {
    color: var(--accent);
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.testimonial p {
    font-style: italic;
    font-size: 15px;
    line-height: 1.6;
    margin: 8px 0;
    color: #334155;
}

.testimonial h4 {
    margin: 8px 0 0 0;
    font-size: 16px;
    font-weight: 700;
}

.testimonial span.muted {
    font-size: 13px;
}

/* --- Pricing Table Styles --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--card);
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid #eef2ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(122, 92, 255, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: #f1f0ff;
    color: var(--accent);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    align-self: flex-start;
}

.badge.accent {
    background: var(--accent);
    color: white;
}

.pricing-card h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: var(--header);
    margin-bottom: 24px;
}

.price span {
    font-size: 14px;
    color: var(--muted);
    font-weight: 400;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex-grow: 1;
}

.features li {
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features li.disabled {
    color: #cbd5e1;
    text-decoration: line-through;
}

.features li img {
    width: 18px;
    height: 18px;
    filter: invert(44%) sepia(85%) saturate(1241%) hue-rotate(224deg) brightness(101%) contrast(101%);
}

.container.hero, 
main.container {
    padding-top: 130px; /* Upraveno tak, aby odpovídalo vaší výšce headeru */
}

/* Lightbox Základ */
.lightbox {
  display: none; /* Skryté defaultně */
  position: fixed;
  z-index: 10000; /* Nad fixním headerem */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 11, 16, 0.9); /* Vaše --header barva s průhledností */
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

/* Kontejner pro obrázek */
.lightbox-content-wrapper {
  position: relative;
  max-width: 85%;
  max-height: 85%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content-wrapper img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active img {
  transform: scale(1);
}

/* Navigační šipky */
.lightbox-nav {
  position: absolute;
  background: rgba(122, 92, 255, 0.2); /* Průhledná fialová */
  border: 1px solid var(--accent);
  color: white;
  font-size: 30px;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
  z-index: 10001;
}

.lightbox-nav:hover {
  background: var(--accent);
  transform: scale(1.1);
}

.prev { left: 30px; }
.next { right: 30px; }

/* Zavírací křížek */
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 50px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: var(--accent);
}




@media (max-width: 900px) {
  .footer-map-full iframe {height: 280px;}

   #mailMobile{display:block;}
   #mailPC{display:none;}
   #emailNumTime{font-size: 15px;}

    .new-grid .grid-3 .card p.muted {font-size: 12px;}
    .new-grid .grid-3 .card h3 {font-size: 15px;}
    .new-grid .grid-3 .card img {height: 150px;}

    .pricing-card.featured {transform: none;}

    .pricing-card.featured:hover {transform: translateY(-8px);}

  .social {
    gap: 12px;
    margin-top: 16px;
  }
  .social a {
    width: 40px;
    height: 40px;
  }
  .social a svg {
    width: 20px;
    height: 20px;
  }

    .container.hero, main.container {
        padding-top: 150px; /* Větší odsazení pro mobilní verzi, kde je menu pod logem */
    }

    html {scroll-behavior: smooth; }
    .hero{grid-template-columns:1fr;}
    .container{padding:20px;margin: 0 auto;}
    .container.top{padding: 20px 20px 0 20px;}
    .grid-3{grid-template-columns:1fr}
    .new-grid .grid-3 {display:grid;grid-template-columns:repeat(2,1fr);gap:10px;};
    .gallery{grid-template-columns:repeat(2,1fr)}
    .contact{grid-template-columns:1fr}

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

  .footer-map iframe {height: 100px;}

  /* mobilní header: logo vlevo, tagline (terapie • masáže • relaxace) vpravo,
     navigace pod tím v jedné řadě (přizpůsobené velikosti a paddingu) */
  .top {
    display: block;
    padding: 12px 0;
  }
  .brand {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
  }
  .brand .logo {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
  }
  /* posun textového bloku doprava až na konec kontejneru */
  .brand > div {margin-left: auto;text-align: right;}
  .brand > div .muted {font-size: 12px;}

  /* navigace pod brand, v jednom řádku, menší padding a responsivní font */
  nav {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    width: 100%;
    flex-wrap: nowrap; /* udrží odkazy v jednom řádku */
  }
  nav a {
    margin-left: 0;
    padding: 6px 8px;
    font-size: clamp(12px, 3.6vw, 13px);
    white-space: nowrap;
    color: var(--muted);
    text-decoration: none;
  }
  nav a.primary {
    padding: 6px 10px;
    border-radius: 8px;
    margin-left: 0;
    color: #fff;
  }

  .lightbox-nav {
    padding: 10px 15px;
    font-size: 20px;
    }
  .prev { left: 10px; }
  .next { right: 10px; }

 }