
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; 
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    height: 80px;
    position: fixed; 
    top: 0;
    width: 100%;
    z-index: 2000; 
}

.logo-container {
    position: absolute;
    left: 5%;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-header {
    height: 60px;
    width: auto;
}
.welcome-spacer {
    width: 100%;
    aspect-ratio: 16 / 9; 
    background: transparent;
    pointer-events: none; 
    margin-top: 80px; 
}
nav {
    display: flex;
    gap: 30px;
}
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.hamburger {
    display: none; 
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    right: 15%;
    z-index: 2100;
}
nav a {
    text-decoration: none;
    color: black;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    font-family: 'Jost', sans-serif;
}

.social-icons {
    position: absolute;
    right: 5%;
}

.social-icons a {
    color: black;
    font-size: 2rem;
}


.welcome {
    position: fixed; 
    top: 80px;    
    left: 0;
    width: 100%;
    height: 56.25vw;
    background-image: url("cover.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    z-index: 1; 
}



.main-content-wrapper {
    position: relative;
    z-index: 10;
    background-color: white; 
    width: 100%;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1); 
}

.icon-section {
    padding: 40px 0;
    display: flex;
    justify-content: center;
    gap: 50px;
    background-color: white;
}

.icon-section i {
    font-size: clamp(4rem, 10vw, 8rem);
}

/* Formátování textu */
.about-text {
    padding: 20px 15%;
    font-size: 1.4rem;
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
}

.divider {
    width: 60%;
    height: 2px;
    background-color: black;
    margin: 0 auto;
}

/* Formátování nadpisů */
.universal-headline {
    padding: 10px 10% 20px 15%;
    font-family: 'Jost', sans-serif;
}

/* Formát fotky s aktualitami; Aktuální hraní*/

.centered img {
  width: 70%;
  display: block;
  margin: 0 auto;
}

.gallery {
    position: relative;
    width: 100%;
    background-color: white;
    padding: 20px 0; 
}

.gallery-container {
    overflow: hidden;
    width: 100%;
}

.gallery-images {
    display: flex;
}

.gallery-images img {
    height: 300px; 
    flex: 0 0 calc(33.33% - 10px); 
    width: calc(33.33% - 10px);
    margin-right: 10px;
    object-fit: cover;   
    border-radius: 4px; 
}


.gallery .prev,
.gallery .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    padding: 15px 12px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    border-radius: 0 5px 5px 0; 
    user-select: none;
    transition: all 0.2s ease;
}

.gallery .next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.gallery .prev {
    left: 0;
}

.gallery .prev:hover,
.gallery .next:hover {
    background-color: black;
    color: white;
}

@media (max-width: 768px) {
    .gallery-images img {
        height: 200px; 
        flex: 0 0 calc(50% - 10px); 
        width: calc(50% - 10px);
    }
}


.contact-info {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 80px;
    font-size: clamp(1.2rem, 4vw, 3rem);
}

.cities {
    text-align: center;
    padding-bottom: 80px;
    font-family: 'Open Sans', sans-serif;
}

footer {
    height: 100px;
    background: radial-gradient(circle, #8D858F 0%, #1B0B1F 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

@media (max-width: 1000px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 75%;
        height: 100vh;
        background-color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s ease-in-out;
        z-index: 3200; 
        box-shadow: -10px 0 20px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 15%;
        font-size: 2rem;
        cursor: pointer;
        z-index: 3300;
    }

    .social-icons {
        right: 5%;
    }
    
    .about-text {
    padding: 20px 7%;
    font-size: 1rem;
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
}

    .centered img {
     width: 85%;
     display: block;
     margin: 0 auto;
}

.universal-headline {
    padding: 10px 10% 20px 7%;
    font-family: 'Jost', sans-serif;
}

.welcome {
    position: fixed; 
    top: 80px;    
    left: 0;
    width: 100%;
    aspect-ratio: 16 / 9; 
    background-image: url("cover_L.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    z-index: 1; 
}

}