/* Základní reset */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: rgba(247, 96, 29, 0.15);
}

.kontejner {
    padding: 0 40px;
}

/* Header a navigace */
header {
    background-color: rgba(247, 96, 29, 0.15);
    position: relative;
    z-index: 100;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;

}

.top-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    position: relative;
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 0;
    display: block;
}

.nav-links a:hover {
    color: #ff6b35;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
    padding: 10px 0;
}

.dropdown-content a {
    padding: 8px 15px;
    display: block;
}

.nav-item:hover .dropdown-content {
    display: block;
}

.ticket-btn {
    background-color: #ff6b35;
    color: white !important;
    padding: 10px 15px !important;
    border-radius: 4px;
    font-weight: bold;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
}


/* Sekce zvířat */
.sekce-zvirata {
    padding: 40px 0;
    border-bottom: 3px dashed #d8775467;
}

/* Informace o zvířeti */
.informace-zvire {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.obrazek-zvire {
    flex: 1;
}

.hlavni-obrazek {
    width: 100%;
    background-color: #d9d9d9;
    object-fit: cover;
}

.popis-zvire {
    flex: 1;
    padding: 20px 0;
}

h2 {
    font-size: 32px;
    margin-bottom: 5px;
    color: #000;
}

.kategorie {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.text {
    margin-bottom: 20px;
}

.tlacitko-vice {
    display: inline-block;
    background-color: #ff5722;
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.tlacitko-vice:hover {
    background-color: #e64a19;
}

/* Galerie */
.galerie {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.maly-obrazek {
    width: calc(33.333% - 14px);
    height: 250px;
    background-color: #d9d9d9;
    object-fit: cover;
}


/* Footer styles */
.main-footer {
    margin-top: 40px;
}
.footer-bottom {
    background-color: #d87854;
    padding: 12px 0;
    font-size: 0.85rem;
    color: white;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-legal {
    display: flex;
    gap: 20px;
}
.footer-legal a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-legal a:hover {
    color: #222;
}
@media (max-width: 768px) {
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Responzivní design */
@media (max-width: 768px) {
    .informace-zvire, .informace-zvire.obracene {
        flex-direction: column;
    }
    
    .obrazek-zvire, .popis-zvire {
        width: 100%;
    }
    
    .galerie {
        flex-wrap: wrap;
    }
    
    .maly-obrazek {
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .maly-obrazek {
        width: 100%;
    }
}

/* hamburger menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 100;
}

.hamburger-pruh {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    margin-bottom: 6px;
    border-radius: 2px;
}

.hamburger-pruh:last-child {
    margin-bottom: 0;
}

#menu-prepinac {
    display: none;
}


@media (max-width: 768px) {
    .top-menu {
        position: relative;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #FCD3C0;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 99;
    }
    
    #menu-prepinac:checked ~ .nav-links {
        display: flex;
    }
}