/* Font definitions */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Lato Regular'), local('Lato-Regular'),
    url('/fonts/lato-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Lato Bold'), local('Lato-Bold'),
    url('/fonts/lato-bold.woff2') format('woff2');
}

/* Reset a základní styly */
body {
  font-family: 'Lato', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hlavní layout */
main {
  display: block;
  /* Pro starší prohlížeče */
}

header,
section,
footer {
  max-width: 800px;
  margin: auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Typografie */
h1,
h2,
h3 {
  color: #333;
  line-height: 1.2;
}

h1 {
  margin-bottom: 10px;
  font-size: 28px;
}

h2 {
  margin-top: 40px;
  font-size: 24px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
}

/* Přístupnost */
:focus {
  outline: 3px solid #c69fa5;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Formuláře */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 100%;
}

input,
textarea {
  font-family: inherit;
  margin-bottom: 10px;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
  background: white;
}

/* Validace formuláře */
input:invalid {
  border-color: #ffa4a4;
}

input:invalid:focus {
  border-color: #ff8080;
  box-shadow: 0 0 0 2px rgba(255, 128, 128, 0.2);
}

input[type="tel"]:placeholder-shown,
input[type="email"]:placeholder-shown {
  border-color: #ddd;
}

input[type="tel"]:valid,
input[type="email"]:valid {
  border-color: #a8e6cf;
}

input[type="tel"]:valid:focus,
input[type="email"]:valid:focus {
  border-color: #8ed7bc;
  box-shadow: 0 0 0 2px rgba(142, 215, 188, 0.2);
}

input:hover,
textarea:hover {
  border-color: #c69fa5;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #c69fa5;
  box-shadow: 0 0 0 2px rgba(198, 159, 165, 0.2);
}

/* Placeholder styly */
::placeholder {
  color: #999;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #999;
}

::-ms-input-placeholder {
  color: #999;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  padding: 12px 24px;
  font-size: 16px;
  background-color: #8B3A45;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: flex-start;
}

button:hover,
button:focus {
  background-color: #6B2D36;
  transform: translateY(-1px);
}

button:active {
  transform: translateY(1px);
}

#form-status {
  margin-top: 15px;
  padding: 12px;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#form-status.visible {
  opacity: 1;
}

#form-status.success {
  background-color: #e8f5e9;
  color: #2e7d32;
}

#form-status.error {
  background-color: #fbe9e7;
  color: #c62828;
}

/* Odkazy */
a {
  color: #8B3A45;
  text-decoration: underline;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

a:hover,
a:focus {
  color: #6B2D36;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* Existující styly ... */
footer {
  text-align: center;
  font-size: 14px;
  color: #4A4A4A;
  padding: 20px;
  margin-top: 40px;
}

footer p {
  margin: 0;
  color: #4A4A4A;
}

footer a {
  color: #8B3A45;
  text-decoration: underline;
  transition: all 0.2s;
  padding-bottom: 1px;
}

footer a:hover,
footer a:focus {
  color: #6B2D36;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.cenik h3 {
  color: #444;
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 18px;
}

.cenik p {
  margin: 5px 0;
  color: #666;
}

.note {
  margin-top: 30px;
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.kontakt a {
  color: #8B3A45;
  text-decoration: underline;
  transition: all 0.2s;
  display: inline-block;
  padding: 2px 0;
}

.kontakt a:hover,
.kontakt a:focus {
  color: #6B2D36;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.address-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.show-on-map {
  color: #8B3A45;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
  padding: 2px 4px;
  border: 1px solid currentColor;
  border-radius: 3px;
}

.show-on-map:hover,
.show-on-map:focus {
  color: #6B2D36;
  background-color: #f8f8f8;
}

/* Facebook sekce */
.facebook-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.facebook-container h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.fb-loading-placeholder {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 40px;
  margin: 20px 0;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.fb-loading-placeholder p {
  margin: 0;
  font-size: 16px;
}

.fb-page {
  margin: 0 auto;
  display: block;
  width: 100% !important;
}

.fb-page>span {
  width: 100% !important;
  display: block !important;
}

.fb-page iframe {
  width: 100% !important;
  max-width: 100% !important;
}

/* Oprava pro Facebook kontejner */
._2p3a {
  width: 100% !important;
  min-width: 100% !important;
}

/* Zajištění správného poměru stran */
.fb_iframe_widget {
  width: 100% !important;
  display: block !important;
}

.fb_iframe_widget span {
  width: 100% !important;
  display: block !important;
}

/* Telefonní input */
.phone-input-container {
  display: flex;
  align-items: stretch;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.phone-input-container:hover {
  border-color: #c69fa5;
}

.phone-input-container:focus-within {
  border-color: #c69fa5;
  box-shadow: 0 0 0 2px rgba(198, 159, 165, 0.2);
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background-color: #f5f5f5;
  color: #666;
  font-family: inherit;
  font-size: 16px;
  border-right: 1px solid #ddd;
  user-select: none;
}

.phone-input-container input[type="tel"] {
  border: none;
  margin: 0;
  flex: 1;
  min-width: 0;
  border-radius: 0;
}

.phone-input-container input[type="tel"]:focus {
  outline: none;
  box-shadow: none;
}

/* Sekce o majitelce */
.about-owner {
  content-visibility: auto;
  contain-intrinsic-size: 400px;
}

.owner-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.owner-photo {
  width: 300px;
  height: 400px;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.owner-text {
  flex: 1;
}

.owner-text h2 {
  margin-top: 0;
  text-align: left;
}

/* Brands section */
.brands {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.brands h2 {
  text-align: center;
  margin-bottom: 30px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  align-items: center;
  justify-items: center;
  margin-top: 20px;
}

.brand-item {
  text-align: center;
  padding: 20px;
  background: transparent;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.brand-item:hover {
  transform: translateY(-5px);
}

.brand-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 15px;
}

.brand-item p {
  color: #666;
  margin: 0;
}

@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .brand-logo {
    max-width: 150px;
  }
}

/* Galerie */
.gallery {
  margin: 40px auto;
  max-width: 800px;
  padding: 0 20px;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Obecné styly pro sekce */
section {
  margin: 40px auto;
  max-width: 800px;
  padding: 30px;
  box-sizing: border-box;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section h2 {
  margin-top: 0;
  text-align: center;
}

.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-item:hover {
  transform: translateY(-2px);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

.lightbox.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.lightbox-image {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  padding: 10px;
}

.lightbox-caption {
  color: white;
  margin-top: 10px;
  font-size: 14px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  font-size: 24px;
  padding: 20px 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 1010;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

/* Responzivní design */
@media (max-width: 768px) {
  .owner-content {
    flex-direction: column;
    align-items: center;
  }

  .owner-photo {
    width: 200px;
    margin-bottom: 20px;
  }

  .owner-text {
    text-align: center;
  }

  .owner-text h2 {
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .lightbox-nav {
    padding: 15px 10px;
    font-size: 20px;
  }

  .lightbox-nav.prev {
    left: 10px;
  }

  .lightbox-nav.next {
    right: 10px;
  }

  section {
    padding: 20px;
  }
}

/* Služba s obrázkem */
.service-with-image {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 25px;
  margin: 25px 0;
  padding: 0;
  background: none;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
}

.service-image {
  width: 200px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.service-text {
  flex: 1;
  min-width: 0;
}

.service-text h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #333;
}

.service-text p {
  margin: 8px 0;
  color: #555;
}

/* Služby bez obrázku */
.service-with-image:not(:has(.service-image)) {
  display: block;
}

@media (max-width: 768px) {
  .service-with-image {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
  }

  .service-image {
    width: 100%;
    max-width: 280px;
  }

  .service-text {
    text-align: left;
    width: 100%;
  }

  .service-text h3 {
    font-size: 17px;
    line-height: 1.4;
    word-wrap: break-word;
    hyphens: auto;
  }

  .service-text p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Hlavní navigace */
.main-nav {
  background: #fff;
  padding: 10px 0;
  margin-top: 20px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
}

.main-nav a {
  color: #333;
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 15px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus {
  background: #f5f5f5;
  color: #000;
  border-bottom: 2px solid #8B3A45;
}

@media (max-width: 768px) {
  .main-nav {
    padding: 10px 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .main-nav a {
    display: block;
    padding: 8px 15px;
    font-size: 16px;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Speciální úpravy pro galerii a značky */
.gallery-grid,
.brands-grid {
  margin-top: 20px;
}

/* Úprava pro Facebook sekci */
.fb-loading-placeholder {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 40px;
  margin: 20px 0;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

/* Úprava pro služby */
.service-with-image {
  margin: 20px 0;
}

/* Úprava pro kontaktní sekci */
.kontakt>p {
  margin: 10px 0;
}

/* ================================
   Styly pro podstránky služeb
   ================================ */

.service-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.service-intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.service-hero-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-detail h2 {
  color: #c69fa5;
  margin-top: 40px;
  margin-bottom: 20px;
}

.service-detail ul,
.service-detail ol {
  padding-left: 20px;
  margin: 20px 0;
}

.service-detail li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.service-benefits ul {
  list-style: none;
  padding: 0;
}

.service-benefits li {
  padding-left: 30px;
  position: relative;
}

.service-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #c69fa5;
  font-weight: bold;
}

.service-process ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.service-process li {
  counter-increment: step;
  padding-left: 40px;
  position: relative;
  margin-bottom: 15px;
}

.service-process li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  background: #c69fa5;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.price-box {
  background: linear-gradient(135deg, #f8f4f5 0%, #fff 100%);
  border: 2px solid #c69fa5;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.price-box p {
  margin: 10px 0;
  font-size: 18px;
}

.service-cta {
  background: #f8f4f5;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin-top: 40px;
}

.cta-button {
  display: inline-block;
  background: #c69fa5;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 15px;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #b88a90;
}

footer {
  text-align: center;
  padding: 30px 20px;
  background: #333;
  color: #fff;
  margin-top: 40px;
}

footer a {
  color: #c69fa5;
}

@media (min-width: 768px) {
  .service-intro {
    flex-direction: row;
    align-items: flex-start;
  }

  .service-hero-image {
    max-width: 350px;
    flex-shrink: 0;
  }

  .intro-text {
    flex: 1;
  }
}

/* Service links na homepage */
a.service-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 8px;
}

a.service-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(198, 159, 165, 0.3);
}

a.service-link .service-text h3 {
  color: #c69fa5;
}

.more-info {
  color: #c69fa5;
  font-weight: 600;
  margin-top: 10px;
}

/* Service content pro podstránky */
.service-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-content h2 {
  color: #c69fa5;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0d5d7;
  padding-bottom: 10px;
}

.service-content ul,
.service-content ol {
  padding-left: 25px;
  margin: 20px 0;
}

.service-content li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.service-content p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.service-header {
  text-align: center;
  margin-bottom: 30px;
}

.service-header .service-hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Facebook section */
.facebook-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(135deg, #f8f4f5 0%, #fff 100%);
  border-radius: 12px;
}

.facebook-section h2 {
  color: #c69fa5;
  margin-bottom: 25px;
}

.facebook-section p {
  color: #666;
  margin-bottom: 25px;
}

.fb-page-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  min-height: 300px;
}

.fb-page-wrapper .fb-page {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.fb-loading {
  color: #999;
  padding: 40px;
  font-size: 14px;
}

.facebook-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1877f2;
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.facebook-button:hover {
  background: #166fe5;
  transform: translateY(-2px);
}

.facebook-button svg {
  flex-shrink: 0;
}

/* ===========================================
   RESPONZIVNÍ DESIGN - Kompletní vylepšení
   =========================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {

  header,
  section,
  footer {
    padding: 15px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 22px;
  }

  .service-image {
    width: 180px;
  }
}

/* Mobile landscape a malé tablety (480px - 768px) */
@media (max-width: 768px) {

  /* Základní layout */
  header,
  section,
  footer {
    padding: 15px;
    margin: 20px auto;
  }

  section {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
  }

  /* Typografie */
  h1 {
    font-size: 22px;
    text-align: center;
  }

  h2 {
    font-size: 20px;
    margin-top: 25px;
  }

  h3 {
    font-size: 18px;
  }

  /* Header */
  header {
    text-align: center;
  }

  header>p {
    font-size: 14px;
  }

  /* Navigace - horizontální scroll na mobilu */
  .main-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 15px -15px 0;
    padding: 10px 15px;
  }

  .main-nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 5px;
    min-width: max-content;
  }

  .main-nav a {
    font-size: 13px;
    padding: 8px 12px;
    white-space: nowrap;
  }

  /* Služby */
  .service-with-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
  }

  .service-image {
    width: 100%;
    max-width: 280px;
    margin: 0 0 15px 0;
    float: none;
  }

  .service-text h3 {
    font-size: 16px;
    text-align: center;
  }

  .service-text p {
    font-size: 14px;
    text-align: center;
  }

  /* FAQ */
  .faq-section {
    padding: 15px;
  }

  .faq-question {
    padding: 15px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 15px 15px 44px;
    font-size: 14px;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
    font-size: 14px;
  }

  /* Galerie */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-item img {
    height: 150px;
  }

  /* Lightbox */
  .lightbox-image {
    max-width: 95%;
    max-height: 70vh;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    font-size: 24px;
  }

  /* Formulář */
  form {
    gap: 10px;
  }

  input,
  textarea {
    padding: 14px 12px;
    font-size: 16px;
    /* Zabraňuje zoomu na iOS */
  }

  button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
  }

  /* Facebook */
  .facebook-section {
    padding: 25px 15px;
  }

  .facebook-button {
    padding: 12px 20px;
    font-size: 14px;
  }

  /* Značky */
  .brands-grid {
    gap: 15px;
  }

  .brand-item {
    padding: 15px;
  }

  .brand-logo {
    max-width: 120px;
  }

  /* Kontakt */
  .kontakt p {
    font-size: 14px;
  }

  .address-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  /* Service detail pages */
  .service-detail {
    padding: 15px;
  }

  .service-header .service-hero-image {
    border-radius: 0;
    margin: -15px -15px 20px -15px;
    width: calc(100% + 30px);
    max-width: none;
  }

  .service-content {
    padding: 0 10px;
  }

  .price-box {
    padding: 15px;
  }

  .price-box p {
    font-size: 16px;
  }

  .service-cta {
    padding: 20px 15px;
    margin-top: 30px;
  }

  .cta-button {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
}

/* Mobile portrait (< 480px) */
@media (max-width: 480px) {

  /* Ještě menší typografie */
  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }

  body {
    font-size: 14px;
  }

  /* Owner sekce */
  .owner-photo {
    width: 150px;
    height: auto;
  }

  .owner-text p {
    font-size: 14px;
  }

  /* Služby - jedna kolona */
  .service-image {
    max-width: 100%;
  }

  /* Galerie - 2 sloupce */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-item img {
    height: 120px;
  }

  /* Navigace */
  .main-nav a {
    font-size: 12px;
    padding: 6px 10px;
  }

  /* FAQ */
  .faq-question {
    padding: 12px;
    gap: 10px;
  }

  .faq-answer {
    padding: 0 12px 12px 38px;
  }

  /* Telefon input */
  .phone-input-container {
    flex-direction: column;
    align-items: stretch;
  }

  .phone-prefix {
    border-radius: 4px 4px 0 0;
    border-bottom: none;
  }

  .phone-input-container input[type="tel"] {
    border-radius: 0 0 4px 4px;
  }

  /* Service links */
  .more-info {
    font-size: 13px;
  }

  /* Lightbox navigace */
  .lightbox-nav {
    padding: 10px 8px;
    font-size: 18px;
  }

  .lightbox-nav.prev {
    left: 5px;
  }

  .lightbox-nav.next {
    right: 5px;
  }
}

/* Extra small devices (< 360px) */
@media (max-width: 360px) {

  header,
  section {
    padding: 10px;
  }

  h1 {
    font-size: 18px;
  }

  .main-nav a {
    font-size: 11px;
    padding: 5px 8px;
  }

  .service-text h3 {
    font-size: 15px;
  }

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

  .gallery-item img {
    height: 180px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

  /* Větší touch targets */
  .main-nav a {
    padding: 10px 14px;
  }

  button,
  .cta-button,
  .facebook-button {
    min-height: 48px;
  }

  .gallery-item {
    /* Disable hover effects on touch */
    transform: none !important;
  }

  .faq-question {
    min-height: 48px;
  }
}

/* Landscape mode na mobilech */
@media (max-height: 500px) and (orientation: landscape) {
  .lightbox-image {
    max-height: 85vh;
  }

  .lightbox-nav {
    padding: 10px;
  }
}

/* Print styles */
@media print {

  .main-nav,
  .facebook-section,
  .lightbox,
  form,
  .gallery {
    display: none;
  }

  section {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }

  a {
    text-decoration: underline;
  }

  a[href^="tel:"]::after,
  a[href^="mailto:"]::after {
    content: " (" attr(href) ")";
    font-size: 12px;
  }
}