/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: Arial, sans-serif;
  background: #FCEFDD;
  color: #184459;
  font-size: 16px;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #dfd7cc;
  padding: 20px 0;
  text-align: center;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;

}

.logo {
  max-height: 120px;
  margin-bottom: 10px;
  display: grid;  
}
.site-title h1 {
  font-size: 3rem;
  text-transform: uppercase;
  text-decoration: underline;
 
}

.motto {
  font-style: italic;
  font-size: 1.2rem;
  margin-top: 5px;
}

/* Navigation */
nav ul {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  list-style: none;
  gap: 20px;
  margin-top: 20px;
  padding: 0;
}

nav a {
  color: #184459;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover {
  text-decoration: underline;
}

/* Layout */
main {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Typografie */
main h1, h2 {
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  color: #184459;
  margin-bottom: 20px;
}

main h1 {
  font-size: 2rem;
  text-decoration: underline;
}

section div {
  text-align: center;
  max-width: 700px;
  margin: auto;
  color: #184459;
  line-height: 1.8;
  font-size: 1rem;
}

/* Footer */
footer {
  background: #dfd7cc;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  color: #333;
}

/* === RESPONZIVITA PRO MOBILNÍ ZAŘÍZENÍ === */
@media (max-width: 768px) {
  /* Text a layout */
  html, body {
    font-size: 15px;
    padding: 0 10px;
  }

  header, nav, main, article, section, footer {
    padding-left: 0;
    padding-right: 0;
  }

  .logo {
    max-height: 90px;
  }

  .site-title h1 {
    font-size: 2rem;
  }

  .motto {
    font-size: 1rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
  }

  /* Galerie grid */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }

  /* Obrázky ve filmstripu */
  .lb-filmstrip img {
    width: 50px;
    height: 50px;
  }

  /* Kontakty – formátování ikon/textů */
  .contact-box {
    flex-direction: column;
    text-align: center;
  }

  .contact-box img {
    width: 32px;
    height: 32px;
  }

  .contact-wrapper {
    width: 100%;
  }

  iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
  }

  /* Textový bloky */
  section div,
  main div {
    max-width: 100%;
  }

  /* Služby seznamy */
  ul {
    padding-left: 20px;
  }
}