:root {
    --primary-font: 'Inter', sans-serif;
    --dark-grey: #333;
    --medium-grey: #555;
    --light-grey: #ddd;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--primary-font);
}

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    background-color: #f5f5f5;
    color: var(--dark-grey);
    line-height: 1.6;
    min-height: 100vh;
}

main {
    flex: 1;
}

header {
    background-color: var(--dark-grey);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    box-sizing: border-box;
}

header h1 a {
    text-decoration: none;
    color: inherit;
    font-size: 2rem;
}

header h1 a:hover {
    text-decoration: underline;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left, .nav-right {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-right: 3rem;
    margin-left: 3rem;
}

.nav-left {
    flex: 1;
    justify-content: flex-end;
}

.nav-right {
    flex: 1;
    justify-content: flex-start;
}

header h1 {
    color: var(--white);
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 700;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

nav a:hover {
    color: var(--light-grey);
}

.hero {
    position: relative;
    margin-top: 70px;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 2vw;
    max-width: 600px;
    width: 80%;
    font-size: 1vw;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hero-text h2 {
    font-size: 1.8vw;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1vw;
    margin-bottom: 1rem;
}

#toggle-more {
    display: inline-block;
    padding: 0.6vw 1.2vw;
    font-size: 1vw;
    font-weight: bold;
    color: #fff;
    background-color: #a5a091;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#toggle-more:hover {
    background-color: #8d8773;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1200px) {
    .hero-text {
        left: 65%;
        max-width: 500px;
        padding: 1.5vw;
        font-size: 0.9vw;
    }

    .hero-text h2 {
        font-size: 1.6vw;
    }

    .hero-text p {
        font-size: 0.9vw;
    }

    #toggle-more {
        padding: 0.5vw 1vw;
        font-size: 0.9vw;
    }
}

@media (max-width: 800px) {
    .hero-text {
        left: 50%;
        max-width: 400px;
        padding: 1vw;
        font-size: 0.8vw;
    }

    .hero-text h2 {
        font-size: 1.4vw;
    }

    .hero-text p {
        font-size: 0.8vw;
    }

    #toggle-more {
        padding: 0.4vw 0.8vw;
        font-size: 0.8vw;
    }
}

@media (max-width: 500px) {
    .hero-text {
        max-width: 300px;
        padding: 0.8vw;
        font-size: 0.7vw;
    }

    .hero-text h2 {
        font-size: 1.2vw;
    }

    .hero-text p {
        font-size: 0.7vw;
    }

    #toggle-more {
        padding: 0.3vw 0.6vw;
        font-size: 0.7vw;
    }
}

.fancy-heading {
    font-family: 'Dancing Script', cursive;
}

#more-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

#more-text.visible {
    max-height: 500px;
    opacity: 1;
}

.hero-text p {
    margin-bottom: 1rem;
}

.photos {
    padding-top: 2rem;
    text-align: center;
    padding-bottom: 4rem;
}

.photos h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.photo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.photo-grid img {
    width: 400px;
    height: auto;
    object-fit: cover;
}

.videos {
    padding-top: 2rem;
    padding-bottom: 4rem;
    text-align: center;
    background-color: var(--light-grey);
}

.videos h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.video-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.video-grid iframe {
    width: 400px;
    height: 250px;
}

.contact-link {
    text-align: center;
    padding: 2rem;
}

.contact-link a {
    display: inline-block;
    padding: 1rem 2rem; 
    font-size: 1.2rem; 
    font-weight: bold;
    color: #fff; 
    background-color: #9e9475;
    text-decoration: none; 
    border-radius: 25px; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    text-align: center;
}


.contact-link a:hover {
    background-color: #665d3e;
    transform: translateY(-2px); 
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); 
}


.kontakt-link {
    text-align: center;
    padding: 2rem;
    margin-top: 50px;
}

.kontakt-link a {
    display: inline-block;
    padding: 1rem 2rem; 
    font-size: 1.2rem; 
    font-weight: bold;
    color: #fff; 
    background-color: #9e9475;
    text-decoration: none; 
    border-radius: 25px; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    text-align: center;
}


.kontakt-link a:hover {
    background-color: #665d3e;
    transform: translateY(-2px); 
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); 
}

footer {
    background-color: var(--dark-grey);
    color: var(--white);
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem; 
    width: 100%;
    box-sizing: border-box;
}


@media (max-width: 1200px) {
    footer {
        font-size: 0.8rem; 
    }
}

@media (max-width: 800px) {
    footer {
        font-size: 0.7rem; 
    }
}

@media (max-width: 500px) {
    footer {
        font-size: 0.6rem; 
    }
}

footer a {
    color: inherit; 
    text-decoration: underline; 
    transition: color 0.3s ease; 
}

footer a:visited {
    color: inherit; 
}

footer a:hover {
    text-decoration: none; 
    color: var(--light-grey); 
}

footer a:focus, footer a:active {
    outline: none; 
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease-in-out;
    align-items: center;
    justify-content: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease-in-out;
    margin: auto;
    display: block;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes zoomOut {
    from { transform: scale(1); }
    to { transform: scale(0.8); }
}

.modal.fade-out {
    animation: fadeOut 0.3s ease-in-out;
}

.modal-content.zoom-out {
    animation: zoomOut 0.3s ease-in-out;
}

.textik {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    margin-top: 120px;
    margin-bottom: -50px;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    text-align: center;
}

.textik h2 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.8rem;
    text-align: center;
}

.textik p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
    font-size: 1.3rem;
}

@media (max-width: 1200px) {
    .textik h2 {
        font-size: 1.6rem;
    }

    .textik p {
        font-size: 1.2rem;
    }
}

@media (max-width: 800px) {
    .textik h2 {
        font-size: 1.4rem;
    }

    .textik p {
        font-size: 1rem;
    }
}

@media (max-width: 500px) {
    .textik h2 {
        font-size: 1.2rem;
    }

    .textik p {
        font-size: 0.9rem;
    }
}

.formular {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    margin-top: 120px;
    margin-bottom: -50px;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    margin-bottom: 50px;
}

.formular h2 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.8rem;
    text-align: center;
}

.formular p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
    font-size: 1.3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {
    font-size: 1.2rem;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #007BFF;
    outline: none;
}

.contact-form button {
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0056b3;
}

.instagram-button {
    text-align: center;
    margin-top: 1.5rem;
}

.instagram-button img {
    width: 100px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.instagram-button img:hover {
    transform: scale(1.1);
}

#toggle-more {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #9e9475;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#toggle-more:hover {
    background-color: #665d3e;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

#toggle-more:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fotky {
    padding-top: 2rem;
    text-align: center;
    padding-bottom: 4rem;
    margin-top: -30px;
}

.fotky h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.forky-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.fotky-grid img {
    width: 400px;
    height: auto;
    object-fit: cover;
}

@media (max-width: 1000px) {
    .hero img {
      display: none;
    }
  
    .hero-text {
      position: static;
      transform: none;
      margin: 130px auto 2rem auto;
      padding: 1rem;
      max-width: 90%;
      background-color: #fff;
      color: var(--dark-grey);
      text-align: center;
      border-radius: 5px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
  
    .hero-text h2 {
      font-size: 1.8rem;
      color: var(--dark-grey);
      margin-bottom: 1rem;
      display: block;
      font-weight: 700;
      opacity: 1;
    }
  
    .hero-text p {
      font-size: 1rem;
      color: var(--dark-grey);
      opacity: 1;
    }
  
    .photo-grid, .video-grid {
      flex-direction: column;
      align-items: center;
    }
  
    .photo-grid img, .video-grid iframe {
      width: 100%;
      max-width: 400px;
      margin-bottom: 1rem;
    }
  
    h2 {
      font-size: 1.5rem;
    }
  
    p {
      font-size: 1rem;
    }
  
    #toggle-more {
      font-size: 0.9rem;
      padding: 0.5rem 1rem;
    }
  
    .contact-link a {
      font-size: 1.2rem;
      padding: 0.5rem 1.5rem;
    }
  
    .header-content {
      flex-direction: column;
      align-items: center;
    }
  
    .nav-left, .nav-right {
      flex-direction: row;
      justify-content: center;
      margin: 0.5rem 0;
    }
  
    header h1 {
      order: 1;
    }
  
    .nav-left {
      order: 2;
    }
  
    .nav-right {
      order: 3;
    }
  
    .close {
      font-size: 30px;
      top: 10px;
      right: 20px;
    }
  
    .instagram-button img {
      width: 50px;
    }
   
    .textik {
      margin-top: 160px;
      font-size: 0.8rem;
    }
}

footer a {
    color: inherit;
    text-decoration: underline;
}

footer a:visited {
    color: inherit;
}

footer a:hover {
    text-decoration: none;
}

footer a:focus, footer a:active {
    outline: none;
}

.textik a {
    color: inherit;
    text-decoration: underline;
}

.textik a:visited {
    color: inherit;
}

.textik a:hover {
    text-decoration: none;
}

.textik a:focus, .textik a:active {
    outline: none;
}

.event-content {

    display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px;
  background: #f9f9f9;
  border-radius: 12px;
  margin-bottom: 32px;
  box-shadow: 0 2px 12px rgba(255, 174, 0, 0.15);
}

.event-image {
  max-width: 340px;   /* původně 250px */
  width: 100%;
  border-radius: 8px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.additional-info {
  margin-bottom: 32px;
}

.calendar-button {
  display: inline-block;
  padding: 14px 32px;
  background-color: #2176ff;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s, transform 0.2s;
  text-align: center;
  margin: 0 auto 32px auto; /* větší mezera pod buttonem */
  width: auto;
  min-width: 160px;
  max-width: 100%;
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 16px 0 32px 0;
}

/* Info button - světle modrý, outline styl */
.info-button {
  display: inline-block;
  padding: 14px 32px;
  background-color: transparent;
  color: #2176ff;
  font-size: 1.1rem;
  font-weight: bold;
  border: 2px solid #2176ff;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  width: 200px;
  min-width: 200px;
}

.info-button:hover {
  background-color: #2176ff;
  color: #fff;
  transform: translateY(-2px);
}

/* Ticket button - plný modrý */
.ticket-button {
  display: inline-block;
  padding: 14px 32px;
  background-color: #2176ff;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s, transform 0.2s;
  text-align: center;
  width: 200px;
  min-width: 200px;
}

.ticket-button:hover {
  background-color: #1856b8;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

@media (max-width: 600px) {
  .event-content {
    padding: 16px 4px;
  }
  .event-image {
    max-width: 240px;
    margin-bottom: 24px;
  }
  .calendar-button {
    padding: 8px 16px;
    font-size: 0.9rem;
    min-width: 120px;
  }
  .info-button, .ticket-button {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 180px;
    min-width: 180px;
  }
}

@media (max-width: 500px) {
  .button-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .info-button, .ticket-button {
    width: 85%;
    max-width: 200px;
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

@media (max-width: 400px) {
  .calendar-button {
    padding: 6px 12px;
    font-size: 0.7rem;
    min-width: 100px;
  }
  .info-button, .ticket-button {
    width: 90%;
    max-width: 180px;
    padding: 6px 12px;
    font-size: 0.7rem;
  }
}

.additional-info p {
  margin-bottom: 0,1em;
  line-height: 1.6;
}

.ticket-warning {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  animation: pulse 1.5s infinite;
}

.ticket-warning span {
  background: linear-gradient(90deg, #ffe259 0%, #ffa751 100%);
  color: #7a4a00;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  box-shadow: 0 2px 12px rgba(255, 174, 0, 0.15);
  letter-spacing: 1px;
  margin-bottom: 20px;
  margin-top: -30px;
}

@media (max-width: 600px) {
  .ticket-warning span {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    margin-bottom: 12px;
    margin-top: -18px;
  }
}

@media (max-width: 400px) {
  .ticket-warning span {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    margin-bottom: 8px;
    margin-top: -30px;
  }
}

@keyframes pulse {
  0% { transform: scale(1);}
  50% { transform: scale(1.08);}
  100% { transform: scale(1);}
}