body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f7faff;
  color: #222;
}

header {
  background: #1565c0;
  color: #fff;
  padding: 2rem 1rem 1rem 1rem;
  text-align: center;
}

.header-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.header-logo {
  height: 80px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: transform 0.3s ease;
  /* Odstraněn problematický filtr */
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-text {
  text-align: center;
  justify-self: center;
}

.header-phone {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.phone-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.phone-icon {
  font-size: 1.2rem;
}

.phone-number {
  font-weight: 600;
}

.header-text h1 {
  margin: 0 0 1rem 0;
  font-size: 2rem;
  line-height: 1.2;
}

.header-text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  opacity: 0.95;
}

nav {
  background: #fff;
  box-shadow: 0 2px 4px rgba(21,101,192,0.05);
}
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}
nav li {
  margin: 0 1rem;
}
nav a {
  color: #1565c0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover {
  color: #003c8f;
}

main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}
section {
  margin-bottom: 2.5rem;
}
h2 {
  color: #1565c0;
  margin-top: 0;
}
h3 {
  color: #1565c0;
  margin: 1.5rem 0 1rem 0;
  font-size: 1.3rem;
}
.services-list {
  padding-left: 1.2rem;
}
.services-list li {
  margin-bottom: 0.5rem;
}
.gallery {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.gallery img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(21,101,192,0.08);
  width: 300px;
  height: 200px;
  object-fit: cover;
  background: #e3eafc;
}
.reviews {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
blockquote {
  background: #e3eafc;
  border-left: 4px solid #1565c0;
  margin: 0;
  padding: 1rem;
  border-radius: 6px;
  font-style: italic;
}
blockquote span {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  color: #1565c0;
  font-weight: bold;
}
form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 400px;
}
input, textarea {
  padding: 0.5rem;
  border: 1px solid #b3c6e6;
  border-radius: 4px;
  font-size: 1rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}
button[type="submit"] {
  background: #1565c0;
  color: #fff;
  border: none;
  padding: 0.7rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
button[type="submit"]:hover {
  background: #003c8f;
}
footer {
  background: #1565c0;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}
.gdpr-small {
  font-size: 0.85em;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}
.contact-flex {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.contact-details {
  flex: 1;
}
.profile-photo {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(21,101,192,0.12);
  border: 3px solid #e3eafc;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}
.gallery-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.main-category {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #e3eafc;
  box-shadow: 0 2px 8px rgba(21,101,192,0.08);
}

.main-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(21,101,192,0.15);
  border-color: #1565c0;
}

.main-category img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.main-category h3 {
  color: #1565c0;
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
}

.main-category p {
  color: #666;
  margin: 0;
  font-size: 1rem;
}

.sub-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(21,101,192,0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(21,101,192,0.15);
}

.category img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #e3eafc;
}

.category h3 {
  color: #1565c0;
  margin: 1rem;
  font-size: 1.2rem;
}

.category p {
  margin: 0 1rem 1rem 1rem;
  color: #666;
  font-size: 0.9rem;
}

.category-media {
  position: relative;
}

.video-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(21,101,192,0.9);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.video-icon {
  font-size: 1.2rem;
}

/* Video styly v lightboxu */
.video-container {
  max-width: 100%;
  max-height: 60vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
}

.media-type-indicator {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(21,101,192,0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  backdrop-filter: blur(5px);
}

/* Lightbox styly */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  margin: 2% auto;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-height: 90vh;
  overflow-y: auto;
}

.close-lightbox {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  z-index: 1001;
}

.close-lightbox:hover {
  color: #1565c0;
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e3eafc;
}

.lightbox-header h3 {
  color: #1565c0;
  margin: 0;
}

.lightbox-counter {
  background: #e3eafc;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  color: #1565c0;
}

.lightbox-image-container {
  position: relative;
  text-align: center;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.lightbox-image-container img {
  max-width: 100%;
  max-height: 60vh;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  object-fit: contain;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(21,101,192,0.8);
  color: white;
  border: none;
  padding: 1rem 0.8rem;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
}

.nav-btn:hover {
  background: rgba(21,101,192,1);
}

.prev-btn {
  left: 1rem;
}

.next-btn {
  right: 1rem;
}

.lightbox-thumbnails {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  justify-content: center;
}

.lightbox-thumbnails img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.lightbox-thumbnails img:hover,
.lightbox-thumbnails img.active {
  border-color: #1565c0;
}

/* Náhledy s videem */
.thumbnail-container {
  position: relative;
  cursor: pointer;
}

.video-thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.image-thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.video-thumbnail:hover,
.image-thumbnail:hover,
.thumbnail-container:hover .video-thumbnail,
.thumbnail-container:hover .image-thumbnail {
  border-color: #1565c0;
}

.thumbnail-container.active .video-thumbnail,
.thumbnail-container.active .image-thumbnail {
  border-color: #1565c0;
}

.video-thumb-icon {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(21,101,192,0.9);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Responzivní design pro lightbox */
@media (max-width: 768px) {
  .lightbox-content {
    width: 95%;
    margin: 5% auto;
    padding: 1rem;
  }
  
  .nav-btn {
    padding: 0.8rem 0.6rem;
    font-size: 1.2rem;
  }
  
  .lightbox-thumbnails img {
    width: 60px;
    height: 45px;
  }
  
  .lightbox-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Responzivní design pro header s logem */
@media (max-width: 900px) {
  .header-content {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  
  .header-logo {
    height: 65px;
    max-width: 110px;
    justify-self: center;
  }
  
  .header-text {
    text-align: center;
    justify-self: center;
  }
  
  .header-text h1 {
    font-size: 1.8rem;
  }
  
  .header-text p {
    font-size: 1rem;
  }
  
  .header-phone {
    justify-content: center;
    justify-self: center;
    margin-top: 0.5rem;
  }
  
  .phone-link {
    font-size: 1rem;
  }
}

@media (max-width: 700px) {
  .gallery-categories {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .category img {
    height: 180px;
  }
  .gallery {
    flex-direction: column;
    align-items: center;
  }
  .gallery img {
    width: 90vw;
    max-width: 350px;
    height: auto;
  }
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  .contact-flex {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .contact-details {
    text-align: center;
  }
  
  /* Responzivní design pro header s logem */
  .header-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  
  .header-logo {
    justify-self: center;
    height: 55px;
    max-width: 90px;
  }
  
  .header-text {
    text-align: center;
    justify-self: center;
  }
  
  .header-text h1 {
    font-size: 1.4rem;
    margin: 0 0 0.5rem 0;
  }
  
  .header-text p {
    font-size: 0.9rem;
  }
  
  .header-phone {
    justify-content: center;
    justify-self: center;
    margin-top: 0.5rem;
  }
  
  .phone-link {
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
  }
  
  .phone-icon {
    font-size: 1rem;
  }
}

/* Lightbox pro profilovou fotku */
.profile-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.profile-lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-lightbox-image {
  max-width: 500px;
  max-height: 500px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.close-profile-lightbox {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.close-profile-lightbox:hover {
  background: rgba(0, 0, 0, 0.8);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responzivní design pro lightbox profilové fotky */
@media (max-width: 768px) {
  .profile-lightbox-content {
    max-width: 95%;
    max-height: 85%;
    padding: 1rem;
  }
  
  .profile-lightbox-image {
    max-width: 350px;
    max-height: 350px;
  }
  
  .close-profile-lightbox {
    top: -35px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .profile-lightbox-content {
    max-width: 98%;
    max-height: 80%;
    padding: 0.5rem;
  }
  
  .profile-lightbox-image {
    max-width: 280px;
    max-height: 280px;
  }
  
  .close-profile-lightbox {
    top: -30px;
    right: 5px;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }
} 