* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
    color: #333;
}

header {
    background: url(slike/pocetna.jpg) no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    animation: slideIn 1.5s ease-out;
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000080;
    z-index: 1;
}

header h1 {
    font-size: 3rem;
    z-index: 2;
    position: relative;
    animation: fadeInDown 1s ease-in-out;
}

header p {
    font-size: 1.2rem;
    margin-top: 1rem;
    z-index: 2;
    position: relative;
}

        @keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

nav a {
    text-decoration: none;
    color: #333;
    margin: 0 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #113267;
}

.btn {
    background: #113267;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background: #113267;
    color: white;
    transform: scale(1.05);
}

.galerija {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;
    padding: 4rem;
    text-align: center;
}

.gallery {
    flex: 1 1 180px;
    max-width: 180px;
    text-align: center;
}

.gallery img {
    width: 100%;
    height: auto;
}

.desc {
    margin-top: 8px;
    font-size: 1rem;
    font-weight: bold;
}

.gallery2-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin: auto;
    background-color: #113267;
    color: white;
    padding: 5vh 8vw;
}

.gallery2-container p {
    width: 40%;
}

.tekst{
    display: flex;
    justify-content: space-evenly;
}

.gallery2{
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery2-container img {
    width: 30%;
    
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px #00000033;
    transition: transform 0.3s ease;
}

.gallery2-container img:hover {
    transform: scale(1.05);
}

.gallery2 img:hover {
    transform: scale(1.05);
}

label {
    margin: 0 30px 0 0;
    font-size: 26px;
    width: 26px;
    line-height: 70px;
    float: right;
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

#prekidac {
    display: none;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    header{
        height: 70vh;
    }

    .tekst{
        flex-direction: column;
        gap: 20px;
    }


    nav a {
        margin: 0 0.5rem;
    }

    .galerija {
        flex-direction: column;
        align-items: center;
    }

    .gallery {
        max-width: 150px;
    }

    .gallery2-container {
        flex-direction: column;
        align-items: center;
    }

    .gallery2-container p{
        text-align: center;
        font-size: 15px;
        width: 60vw;
    }


    .gallery2-container img {
        width: 50vw;
    }


    label {
        display: block;
        cursor: pointer;
        position: absolute;
        z-index: 10;
    }

    nav {
        text-align: center;
        width: 100%;
        display: none;
        background-color: #11326752;
        z-index: 2;
    }


    nav a {
        display: block;
        padding: 5px 0px;
        margin: 0;
        color: white;

    }

    #prekidac:checked+nav {
        display: block;
    }

    .predmeti li{
        float: none;
        margin-left: 0%;
    }



    .kontakt-form {
    max-width: 600px;
    margin: 2rem auto;
    position: absolute;
    z-index: 2;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: slideIn 1.5s ease-out;
    padding-top: 10rem;
    }

    .rezervacija-form {
        max-width: 600px;
        margin: 2rem auto;
        position: absolute;
        z-index: 2;
        padding: 4rem;
        border-radius: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        animation: slideIn 1.5s ease-out;
        padding-top: 10rem;
        }


}


/*KONTAKT I REZERVACIJE*/


.kontakt-form {
    max-width: 400px;
    margin: 2rem auto;
    position: absolute;
    z-index: 2;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: slideIn 1.5s ease-out;

}

.kontakt-form h2 {
    margin-bottom: 1rem;
    color: white;
    text-align: center;
    animation: slideIn 1.5s ease-out;
}

.kontakt-form label {
    display: block;
    margin: 0.5rem 0 0.2rem;
    font-weight: 600;
}

.kontakt-form input, 
.kontakt-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.kontakt-form button {
    background: #113267;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.kontakt-form button:hover {
    background: #113267;
    transform: scale(1.05);
}


.rezervacija-form {
    max-width: 400px;
    margin: 2rem auto;
    position: absolute;
    z-index: 2;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: slideIn 1.5s ease-out;
}

.rezervacija-form h2 {
    margin-bottom: 1rem;
    color: white;
    text-align: center;
    animation: slideIn 1.5s ease-out;
}

.rezervacija-form label {
    display: block;
    margin: 0.5rem 0 0.2rem;
    font-weight: 600;
}

.rezervacija-form input,
.kontakt-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.rezervacija-form button {
    background: #113267;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.rezervacija-form button:hover {
    background: #113267;
    transform: scale(1.05);
}







