/* Základní nastavení */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: url('palm-tree-leaf-shadow-on-pink-background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    line-height: 1.6;
}

/* Sekce */
section {
    padding: 40px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out;
}

/* Speciální styl pro sekci "O události" */
.highlighted-section {
    border: 2px solid #ffdd57;
    padding: 20px;
    background: rgba(255, 250, 205, 0.9);
}

/* Program dne jako timeline */
.timeline {
    list-style: none;
    padding: 0;
}

.timeline li {
    margin: 15px 0;
    font-size: 18px;
    position: relative;
}

.timeline .time {
    font-weight: bold;
    color: #ffdd57;
    display: inline-block;
    width: 60px;
}

/* Performers styl */
.performer-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.performer {
    text-align: center;
    padding: 20px;
    width: 150px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-in-out;
}

.performer i {
    font-size: 40px;
    color: #ffdd57;
    margin-bottom: 10px;
}

.performer p {
    font-weight: bold;
}

/* Sponzoři */
.sponsor-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sponsor-logos img {
    width: 120px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.sponsor-logos img:hover {
    opacity: 1;
}

/* Kontakt a mapa */
#contact {
    padding-bottom: 20px;
}

#map {
    width: 100%;
    height: 300px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#countdown {
    font-size: 24px;
    font-weight: bold;
    color: #ff5733;
    margin-top: 10px;
    animation: pulse 1s infinite;
}

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

section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-in-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

#main {
    position: relative;
    background: url('odp.webp') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 80px 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

#main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Tmavý překryv s průhledností */
    z-index: 1;
}

#main h1,
#main p,
#countdown {
    position: relative;
    z-index: 2;
}

/* Základní styl - desktop */
body {
    font-size: 16px;
}

/* Pro tablety a menší zařízení */
@media (max-width: 1024px) {
    section {
        padding: 20px;
    }
}

/* Pro mobilní zařízení */
@media (max-width: 768px) {
    #main h1 {
        font-size: 1.8rem;
    }

    #main p, #countdown {
        font-size: 1rem;
    }

    .performer-list {
        flex-direction: column;
    }

    .performer {
        width: 100%;
        margin-bottom: 15px;
    }

    .sponsor-logos img {
        width: 80px;
    }
}

/* Skryjeme menu a tlačítko na desktopu */
#menu-toggle {
    display: none;
}

/* Pro menší rozlišení zobrazíme tlačítko menu */
@media (max-width: 768px) {
    #menu-toggle {
        display: block;
        background-color: #333;
        color: #fff;
        border: none;
        padding: 10px 20px;
        font-size: 18px;
        cursor: pointer;
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 10;
    }

    #menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
        gap: 20px;
        z-index: 9;
    }

    #menu a {
        color: #fff;
        font-size: 1.2rem;
        text-decoration: none;
    }
}

