* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff5f6; 
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    color: #4a3538;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #fdecef; 
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(235, 180, 190, 0.3); 
}

.logo-text {
    color: #8a4f58;
    font-size: 1.5rem;
    font-weight: bold;
}

nav {
    background-color: #fbcacf; 
    display: flex;
    align-items: center;
    padding: 10px;
}

nav ul {
    display: flex;
    width: 100%;
    justify-content: space-around;
    list-style: none;
}

nav ul li {
    color: #613b41;
}

nav ul li a {
    color: #613b41;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    background-color: #ffffff;
    border: 1px solid #fdecef;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(235, 180, 190, 0.1);
}

nav ul li a:hover, nav ul li a.active {
    background-color: #f7a1aa; 
    color: #ffffff;
    border-color: #f7a1aa;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(235, 180, 190, 0.2);
}

main {
    background-color: #ffffff; 
    flex: 1;
    padding: 30px;
}

footer {
    background-color: #fdecef; 
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #8a4f58;
    border-top: 1px solid #fbcacf;
}

img {
    width: 200px; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(235, 180, 190, 0.25); 
    transition: transform 0.2s ease; 
}

img:hover {
    transform: scale(1.05); 
}

.moje-fotky {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center; 
    align-content: center;
    gap: 20px 30px; 
    padding: 20px;
    background: #fff5f6;
    border-radius: 12px;
    border: 1px solid #fdecef;
}

.karty-2-stlpec {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.karty-3-stlpec {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.infoblok {
    background: #fffbfb;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #fdecef;
}

.tabulka-zrucnosti {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.tabulka-zrucnosti th, .tabulka-zrucnosti td {
    border: 1px solid #fbcacf;
    padding: 10px;
    text-align: left;
    font-size: 0.95rem;
}

.tabulka-zrucnosti th {
    background-color: #f7a1aa;
    color: white;
}

.tabulka-zrucnosti tr:nth-child(even) {
    background-color: #fff5f6;
}

.tlacidlo-kontakt {
    display: inline-block;
    background-color: #f7a1aa;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 15px;
    font-weight: bold;
    transition: background 0.2s;
}

.tlacidlo-kontakt:hover {
    background-color: #e58b94;
}

@media (min-width: 481px) {
    .kontajner {
        display: flex;
        flex-direction: row;
        width: 100%;
        flex: 1;
    }

    nav {
        box-sizing: border-box;
        width: 220px;
        padding-top: 30px;
        align-items: flex-start; 
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        justify-content: flex-start;
        padding: 0 15px;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 10px 5px;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 8px;
    }

    nav ul li a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .moje-fotky {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start; 
        align-items: center;
        gap: 15px;
    }

    img {
        width: 180px; 
    }
    
    main {
        padding: 15px; 
    }
}

.inf-icon{
    width: 30px;
    height:auto;
}