@import url('https://fonts.googleapis.com/css2?family=Fredericka+the+Great&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

body {
    background-color: white ;
    color: black;
    margin: 0;
    padding: 0;
    padding-top: 110px; /* Mezera pro fixní lištu */
    
}

/* --- NAVIGAČNÍ LIŠTA --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Přesná výška, aby všude byla stejná */
    display: flex;
    justify-content: space-between; /* Logo vlevo, menu vpravo */
    align-items: center;
    padding: 10px 50px;
    box-sizing: border-box; /* padding se nepočítá k šířce */
    z-index: 1000; /* Aby byla vždy nad ostatními prvky*/
}

.logo {
    font-family: "Fredericka the Great", serif;
    font-size: 70px;
    color: black;
    line-height: 1;
}

.menu-toggle {
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001; /* Aby bylo nad navigační lištou*/
    
}

.bar {
    width: 35px;
    height: 4px;
    background-color: black;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 1px 1px 0px rgba(0,0,0,0,2);
    
    
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 25px;
    transition: 0.3s;
    font-family: "Special Elite", system-ui;
  font-weight: 400;
  font-style: normal;
}

.nav-links a:hover {
      color: gray;
    text-decoration: underline;
}

/* --- OBSAH --- */
.emergency-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-title {
    font-family: "Fredericka the Great", serif;
    font-size: 50px;
    text-align: center;
    margin-bottom: 40px;
    color: black;
}

.category-header {
    font-family: "Fredericka the Great", serif;
    font-size: 32px;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid black;
    padding-bottom: 10px;
    color: black;
}

/* Položky veterin */
.vet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.vet-info h3 {
    font-size: 26px;
    margin-bottom: 8px;
    color: black;
}

.star-rating {
    font-size: 14px;
    background: rgba(0, 0, 0, 0.05);
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

.vet-info p {
    font-size: 17px;
    color: #444;
    max-width: 550px;
}

/* --- TLAČÍTKO (BUTTON) - Oprava pro bílé pozadí --- */
.action-link {
    display: inline-block ;
    background: transparent;
    color: black ; 
    text-decoration: none ;
    border: 2px solid black ; /* Černý rámeček */
    padding: 10px 20px ;
    font-family: 'Special Elite', system-ui ;
    font-size: 15px;
    transition: 0.3s;
    text-transform: uppercase;
}

.action-link:hover {
    background: black !important;
    color: white !important; /* Při najetí zčerná a text zbělá */
}

/* --- MOBILNÍ VERZE --- */
@media screen and (max-width: 900px) {
        
    .menu-toggle {
        display: flex;
    }

    .navbar {
        height: auto;
        padding: 15px 20px;
        flex-direction: column;
    }

    .logo {
        font-size: 55px;
        margin-bottom: 10px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -110%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.658);
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    }
    
    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }
    .nav-links a {
        font-size: 2rem;
        font-family: "Special Elite", system-ui;
    }

    .vet-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .action-link {
        width: 100%;
    }
}