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

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #111827;
  background-color: #ffffff;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
header {
  background-color: #1F2937;
  display: flex;
  align-items: center;
  padding: 16px 0;
  gap: 24px;
}

.logo {
  height: 80px; /* uprav dle potřeby */
  width: auto;
  display: block;
}

a {
  text-decoration: none;
  color: white;
}

header h1 {
  font-size: 1.8rem;
}

nav {
  text-align: right;
}

nav a {
  color: white;
  margin-left: 1.5rem;
  text-decoration: none;
}

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

/* Hero */
.hero {
  background-color: #F9FAFB;
  text-align: center;
  padding: 5rem 1rem;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.btn {
  background-color: #F97316;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.btn:hover {
  background-color: #ea580c;
}

/* Services */
.services {
  background-color: #ffffff;
  padding: 3rem 0;
}

.services h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.service-section {
  padding: 3rem 0;
  background-color: #ffffff;
}

.service-section.alt {
  background-color: #F9FAFB;
}

.service-section h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #1F2937;
}

.service-section p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #4B5563;
}

.service-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  color: #111827;
}

.service-list li {
  margin-bottom: 0.5rem;
}

/* Kontakty */
.contacts {
  background-color: #ffffff;
  padding: 3rem 0;
}

.contacts h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.contacts div {
  text-align: center;
  margin-bottom: 1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 100px;
}

@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card, .card2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  min-width: 180px;
  background-color: #E5E7EB;
}

.card2 img {
  margin-bottom: 12px;
  width: 32px;
  height: 32px; 
}

/* Map */
.map {
  padding: 1rem 5%;
}

.map iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 4px;
}

/* Photogalerie */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}

.gallery img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.05);
}

.gallery-section {
  margin-bottom: 56px !important;
}

.gallery-section p {
  margin-top: 50px;
  margin-bottom: 25px;
  color: #555;
}

.preview {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.preview img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

/* Footer */
footer {
  background-color: #1F2937;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

