/* Vlastní styly */

/* Importování fontů (pokud potřebujete více kontrolovat, můžete toto odstranit, protože fonty jsou již zahrnuty v HTML) */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #fff;
}

/* Hero Sekce */
.hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 10vh 10px 0;
    background: url('images/hero2.webp') center/cover no-repeat;
    position: relative;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
	margin-top: -20vh;
}

.hero-content h1 {
	font-size: 4rem;
	font-weight:bold;
}
/* Kontejner galerie */
/* Styl galerie */
        .gallery {
            display: flex; /* Použití Flexboxu */
            justify-content: center; /* Zarovnání na střed */
            gap: 8px; /* Mezery mezi obrázky */
            flex-wrap: wrap; /* Obrázky na další řádek, pokud není místo */
            margin: 20px auto; /* Vycentrování galerie */
            max-width: 80%; /* Maximalní šířka galerie */
        }

        .gallery img {
            width: 300px; /* Pevná šířka pro čtvercový vzhled */
            height: 300px; /* Pevná výška pro čtvercový vzhled */
            object-fit: cover; /* Obrázek pokryje kontejner */
            border-radius: 12px; /* Zaoblené rohy */
            border: 2px solid #f0f0f0; /* Světle šedý rámeček */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Lehký stín */
            transition: transform 0.3s ease, box-shadow 0.3s ease; /* Efekty při najetí */
        }

        .gallery img:hover {
            transform: scale(1.05); /* Mírné zvětšení */
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Zvýrazněný stín */
        }

/* Náhledový obrázek */
.gallery img {
  /*width: 100%; /* Obrázek vyplní kontejner */
  height: auto; /* Zachová poměr stran */
  border-radius: 12px; /* Zaoblené rohy */
  border: 2px solid #f0f0f0; /* Světle šedý rámeček */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Lehký stín */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Efekt při najetí */
}

/* Hover efekt */
.gallery img:hover {
  transform: scale(1.05); /* Mírné přiblížení */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Zvýrazněný stín */
  /*border-color: #ffc0cb; /* Jemná pastelová růžová */
}

/* Harmonogram */
.timeline-1 {
  border-left: 3px solid #006400;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  background: rgba(143, 188, 139, 0.20);
  margin: 0 auto;
  position: relative;
  padding: 50px;
  list-style: none;
  text-align: left;
  max-width: 40%;
}

@media (max-width: 767px) {
  .timeline-1 {
    max-width: 98%;
    padding: 25px;
  }
}

.timeline-1 .event {
  border-bottom: 1px dashed #000;
  padding-bottom: 25px;
  margin-bottom: 25px;
  position: relative;
}

@media (max-width: 767px) {
  .timeline-1 .event {
    padding-top: 30px;
  }
}

.timeline-1 .event:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border: none;
}

.timeline-1 .event:before,
.timeline-1 .event:after {
  position: absolute;
  display: block;
  top: 0;
}

.timeline-1 .event:before {
  left: -207px;
  content: attr(data-date);
  text-align: right;
  font-weight: 100;
  font-size: 0.9em;
  min-width: 120px;
}

@media (max-width: 767px) {
  .timeline-1 .event:before {
    left: 0px;
    text-align: left;
  }
}

.timeline-1 .event:after {
  -webkit-box-shadow: 0 0 0 3px #006400;
  box-shadow: 0 0 0 3px #006400;
  left: -55.8px;
  background: #fff;
  border-radius: 50%;
  height: 9px;
  width: 9px;
  content: "";
  top: 5px;
}

@media (max-width: 767px) {
  .timeline-1 .event:after {
    left: -31.8px;
  }
}
}
/* Ubytování */
.hotel-photos img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.hotel-photos a:hover img {
    outline: 2px solid #5b8c5a;
}

/* Responsivita pro obrázky */
@media (min-width: 576px) {
    .hotel-photos img {
        height: 100px;
    }
}

/* RSVP Formulář */
.rsvp-form {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.rsvp-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.rsvp-form input, 
.rsvp-form select, 
.rsvp-form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.rsvp-form button {
    background: #5b8c5a;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

.rsvp-form button:hover {
    background: #4a7449;
}

/* Kontakt */
.contact p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Patička */
footer {
    background-color: #f8f9fa;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.85rem;
    color: #999;
}
