* {
    scroll-behavior: smooth;
}

body {
    font-family: "Oswald", sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #232629; 
}

.header-text span {
    margin-right: 20px; 
}

.header-text span:last-child {
    margin-right: 0; 
}

.container {
    position: relative;  
    background-image: url('img/Koncert.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    color: white; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    padding: 20px;
    z-index: 1;
}


.container::before {
    content: ""; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: -1;  
}


.content {
    text-align: center; 
}

.text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-group h2 {
    font-size: 15vh;
    font-weight: bold;
    color: #e74c3c; 
    animation: bounce 2s infinite alternate;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
    opacity: 100%;
}

.date {
    font-size: 10vh;
    font-weight: 700;
    color: #f1640f; 
    margin-top: 10px;
    animation: bounce 2s infinite alternate;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.photo-background {
    position: absolute;
    top: 70%;
    left: 52%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.photo {
    width: auto;
    height: 140vh; 
    transition: transform 0.3s ease; 
    filter: grayscale(100%);
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

/* Navbar */
.navbar {
    width: 100%;
    position: absolute;
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    z-index: 2;
}

.navbar ul {
    display: flex;  
    justify-content: space-evenly; 
    width: 100%;  
    padding: 0;
}

.navbar ul li {
    list-style: none;
}

.navbar ul li a {
    text-decoration: none;
    color: #ecf0f1; 
    font-size: 4vh;
    transition: transform 0.3s, color 0.3s;
}

.navbar ul li a:hover {
    transform: scale(1.1);
    color: #e74c3c; 
}

.navbar ul li a.odpocivarna {
    font-size: 5vh;
    padding: 5%;
}

@media (max-width: 390px) {
    .navbar {
        display: none; 
    }
}


.scroll-down {
    position: absolute;
    bottom: 20px;  
    transform: translateX(-50%);
    font-size: 6vh;   
    color: #ecf0f1; 
    cursor: pointer;
    animation: bounce 0.5s infinite alternate;
    z-index: 2;
}

.scroll-down i {
    font-size: 6rem; 
    display: inline-block;
}

.scroll-down:hover {
    color: #e74c3c;
}

@media (max-width: 390px) {
    .scroll-down {
        font-size: 5vh;  
        bottom: 10px;    
    }

    .scroll-down i {
        font-size: 5rem; 
    }
}




/* Pozadí videa */
.pozadi {
    position: relative;
}

.pozadi img {
    width: 100%;
    max-width: 100vw;
    height: auto;
    opacity: 80%;
}

.video-title {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #e74c3c; 
    font-size: 5em;
    text-align: center;
    z-index: 1; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.wrapper2, .wrapper {
    margin: 15vh auto;
    width: 70%;
    padding-top: 8%;
    background-color: #232629; 
    border: 2px solid #f1640f; 
    border-radius: 5px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); 
    padding: 5vh 3vh;
    transition: transform 0.3s;
}


.wrapper2:hover, .wrapper:hover {
    transform: scale(1.05);
}

.img1, .img2 {
    max-width: 320px;
    border: 3px solid #f1640f; 
    margin-right: 15px;
}

.img1 {
    float: left;
}

.img2 {
    float: right;
}

.text-box {
    color: #f8f1f1; 
}

.text-box h2 {
    font-size: 42px;
}

.invite{
    color: #e74c3c;
    justify-content: center; 
}

.text-box h3 {
    font-size: 25px;
    color: #e74c3c; 
}

.text-box p {
    font-size: 1.1em;
}

/* Galerie */

.ukazky {
    color: #e74c3c; 
    padding-left: 44%;
    font-size: 7vh;
    background-color: #3b342e;
}

.img-galery {
    width: 80%;
    margin: 100px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
}

.img-galery img {
    width: 100%;
    cursor: pointer;
}

.img-galery img:hover {
    transform: scale(1.05) rotate(-5deg);
    border-radius: 10px;
    box-shadow: 0 32px 75px rgba(231, 76, 60, 0.7); 
}

.full-img {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.full-img img {
    width: 90%;
    max-width: 500px;
    z-index: 100;
}

.full-img span {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: #e74c3c; 
    cursor: pointer;
    z-index: 100;
}

@media (max-width: 500px) {
    .ukazky {
        font-size: 4vh; 
        padding-top: 5%; 
        text-align: center; 
    }

    .img-galery {
        width: 90%;
        grid-template-columns: repeat(2, 1fr); 
        grid-gap: 10px; 
        margin: 20px auto; 
    }

    .img-galery img {
        border-radius: 8px; 
    }
}

/* Galerie */

.copyright {
    color: #fff;
    padding-left: 40%;
    background-color: #3b342e;
}

/* Sponzoři */
.partners-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #3b342e; 
}

.partners-section h2 {
    font-size: 5vh;
    color: #e74c3c; 
    margin-bottom: 20px;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.logo img {
    max-width: 60%;
    max-height: 60%;
}

.logo:hover {
    transform: scale(1.1);
}

/* Timer */

.timer {
    font-size: 2em; 
    text-align: center; 
    margin: 3% auto;
    padding: 2vh 1vh; 
    color: #e74c3c;
    background-color: #232629; 
    border: 2px solid #f1640f; 
    border-radius: 5px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); 
    width: 70vh;
}

/* Timer */

/* Kontakt */

.contact-info {
    padding: 20px;
    color: #e74c3c;
    text-align: center;
    margin-top: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info h3 {
    font-size: 1.5em;
    color: #e74c3c;
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 1.2em;
    margin: 10px 0;
}

.map-container {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border: 2px solid orange; 
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

/* Kontakt */


@media (max-width: 390px) {
    .timer {
        font-size: 1.2em;
        text-align: center;
        margin-left: 0; 
        width: 85vw;
        padding: 2vh 1vh;
    }
}

/* Responzivní design */
@media (max-width: 768px) {
    .navbar ul li {
        margin-left: 10px;
    }
    
    .video-title {
        font-size: 3.5em;
        top: 58%;
    }
}

@media (max-width: 480px) {
    .navbar ul li {
        margin-left: 5px;
    }
    
    .video-title {
        font-size: 2.5em;
        top: 55%;
    }
    
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar ul {
        flex-direction: column;
    }

    .navbar ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }
}
