@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600&display=swap');



body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #fff;
    color: #333;
  }
  

  /* Galerie - horní obrázek s logem */
.gallery-header {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
  }
  
  .gallery-header .header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .gallery-header .header-overlay {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.64);
    padding: 10px;
    border-radius: 8px;
  }
  
  .gallery-header .header-logo {
    max-width: 200px;
  }
  
  /* Sekce fotogalerie */
  .gallery-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    font-family: 'Open Sans', sans-serif;
  }
  
  .gallery-section h1 {
    text-align: center;
    color: #8B0000;
    font-size: 32px;
    margin-bottom: 40px;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .gallery-grid img:hover {
    transform: scale(1.02);
  }
  
  
  .header {
    text-align: center;
    padding: 50px 0;
    background-color: #f8f8f8;
  }
  
  .header h1 {
    margin: 0;
    font-size: 36px;
    color: #c8102e;
  }
  
  .gallery {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .gallery-grid img:hover {
    transform: scale(1.02);
  }
  
  .footer {
    background-color: #3b3b3b;
    color: white;
    padding: 40px 20px 20px;
    font-size: 14px;
  }
  
  .footer a {
    color: #e74c3c;
    text-decoration: none;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-column {
    flex: 1 1 250px;
    min-width: 250px;
  }
  
  .footer h3 {
    margin-bottom: 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .footer-map {
    max-width: 100%;
    border-radius: 5px;
    margin-top: 10px;
  }
  
  .footer-bottom {
    border-top: 1px solid #555;
    margin-top: 20px;
    padding-top: 10px; 

    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .footer-social i {
    margin: 0 8px;
    font-size: 18px;
    color: #e74c3c;
  } 

  main {
    font-family: 'Outfit', sans-serif;
  }




  /* === RESPONSIVITA TABLET (max-width: 1024px) === */
@media screen and (max-width: 1024px) {
  .gallery-header {
    height: 300px;
  }

  .header-logo {
    max-width: 160px;
    width: 125px;
  }

  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .navbar li {
    margin: 5px 10px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 0 20px;
  }
}



/* === RESPONSIVITA MOBIL (max-width: 768px) === */
@media screen and (max-width: 768px) {
  .gallery-header {
    height: 200px;
  }

  .header-logo {
    max-width: 120px;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .navbar li {
    margin: 5px 0;
  }

  .navbar a {
    font-size: 14px;
    padding: 8px 12px;
  }

  .gallery-section h1 {
    font-size: 22px;
    text-align: center;
    margin-top: 20px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    padding: 10px 15px;
  }

  .gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
  }

  
}

  /* --- Footer vylepšení + odkazy --- */
.footer-bottom {
  border-top: 1px solid #555;
  margin-top: 20px;
  padding-top: 10px;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.footer-copy {
  margin: 0;
  color: #bbb;
  justify-self: start;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #c8102e;           /* drží paletu webu */
  text-decoration: none;
  border-bottom: 1px solid transparent;
  font-weight: 600;
}
.footer-links a:hover { border-bottom-color: currentColor; }

.footer-social {
  justify-self: end;
}

.footer-disclaimer {
  max-width: 1100px;
  margin: 14px auto 0;
  text-align: center;
  color: #ddd;
  font-size: 0.95rem;
  opacity: .9;
}

/* Responzivní úprava footeru */
@media (max-width: 800px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-copy,
  .footer-social { justify-self: center; }
  .footer-links { justify-content: center; }
}
