/* Rolovacie menu - fixne na vrchu */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(34, 34, 34, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.fixed-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.fixed-nav ul li {
    margin: 0;
}

.fixed-nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    display: inline-block;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.fixed-nav ul li a:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.headline-overlap {
    position: relative;
    display: inline-block;
    width: 400px;
    max-width: 100%;
    margin: 15px 0 0 15px;
}

.headline-overlap img {
    display: block;
    width: 100%;
    height: auto;
}

.headline-overlap img + img {
    position: absolute;
    top: 0;
    left: 0;
}

/* Pridanie margin-top pre prvu sekciu, aby nebola skryta pod menu */
#intro {
    margin-top: 60px;
}

/* Responsive pre mobile */
@media (max-width: 768px) {
    .fixed-nav ul {
        gap: 0.25rem;
    }
    
    .fixed-nav ul li a {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    #intro {
        margin-top: 50px;
    }
}

/* Scroll efekt pre zmenu pozadia */
.fixed-nav.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 0.25rem 0;
}

/* Oprava pre mapu */
.mapa {
    width: 100%;
    margin-top: 2rem;
}

/* Štýly pre footer */
#footer {
    text-align: center;
    padding: 2rem;
    background-color: #1a1a1a;
    color: #ccc;
}

#footer .icons {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

#footer .menu {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#footer .menu li {
    display: inline;
}

/* Animácia pre scroll */
html {
    scroll-behavior: smooth;
}

/* Pridajte do custom.css */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Výška fixného menu */
}

/* Pridajte do custom.css */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 50px;
    }
}

#work .gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
}

#work .gallery article {
    width: 100%;
}

#work .gallery article .image img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media screen and (min-width: 769px) {
    #work > .content {
        width: 60em;
    }
}

@media screen and (max-width: 768px) {
    #work .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 480px) {
    #work .gallery {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 736px) {
    #header {
        position: sticky;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        min-height: 0;
        padding: 0.25rem 0.5rem;
        line-height: normal;
    }

    #header > div {
        justify-content: center;
        min-height: 2.25rem;
    }

    #header > div > a {
        display: flex;
        align-items: center;
    }

    #header > div img {
        width: auto !important;
        max-width: min(140px, 35vw);
        max-height: 2rem;
        margin: 0 !important;
    }

    #header > div > a:first-child img {
        width: clamp(96px, 28vw, 130px) !important;
        max-width: 100%;
    }

    #header > div > a:nth-child(2) img {
        width: clamp(16px, 4vw, 20px) !important;
        max-width: none;
        max-height: none;
    }

    #header nav {
        position: static;
        display: block;
        width: 100%;
        height: auto;
        line-height: normal;
    }

    #header nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        padding: 0;
    }

    #header nav ul li {
        margin: 0;
        font-size: 0.75rem;
    }

    #header nav ul li a {
        height: auto;
        padding: 0.4rem 0.55rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    body {
        padding-top: 0;
        min-width: 0;
    }

    html {
        scroll-padding-top: 7rem;
    }

    .headline-overlap {
        width: 400px;
        max-width: calc(100vw - 3rem);
        margin-left: 0;
    }

    #intro .content > header > a {
        display: inline-block;
        max-width: 100%;
    }

    #intro .content > header > a img {
        display: block;
        max-width: 100%;
        height: auto;
    }

    #intro::before {
        background-attachment: scroll;
    }

    .mapa iframe {
        display: block;
        width: 100%;
        height: 55vh;
        min-height: 280px;
        max-height: 450px;
    }

    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="tel"],
    input[type="search"],
    input[type="url"],
    select,
    textarea {
        font-size: 16px;
    }
}

/* Ostatné štýly zostávajú rovnaké... */