
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body{
    font-family: Arial, Helvetica, sans-serif;
    background-color: #fff;
    color: #333;
}


header{
    position: fixed;
    width: 100%;
    top: 0;
   
}

.navigacija{
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 50px;

    background-color: rgba(255,255,255,0.95);
}



.nav-links{
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a{
    text-decoration: none;
    color: black;
    font-weight: bold;

    
}

.nav-links a:hover{
    color: #d36c9c;
}





.hero{
    height: 100vh;

    background-image: url(img/Osnovna.jpg);
    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.hero-overlay{
    background-color: rgba(0,0,0,0.5);

    padding: 50px;

    border-radius: 20px;

    color: white;
}

.hero h1{
    font-size: 60px;
    margin-bottom: 20px;
}

.hero p{
    font-size: 20px;
    margin-bottom: 25px;
}

.hero button{
    padding: 15px 35px;

    border: none;
    border-radius: 30px;

    background-color: #d36c9c;
    color: white;

    font-size: 16px;
    cursor: pointer;

   
}

.hero button:hover{
    background-color: #b85482;
}


hr{
    width: 80%;
    margin: 70px auto;
    border: 1px solid #ddd;
}


.section-container{
    width: 85%;
    margin: auto;

    display: flex;
    align-items: center;
    gap: 50px;

    padding: 50px 0;
}

.image-box{
    flex: 1;
}

.image-box img{
    width: 100%;
    border-radius: 25px;
}

.text-box{
    flex: 1;
}

.text-box h2{
    margin-bottom: 25px;
    font-size: 36px;
}

.text-card{
    background-color: #f3f3f3;

    padding: 50px;

    border-radius: 25px;

    line-height: 1.8;
}


.gallery-section{
    width: 85%;
    margin: auto;
    padding: 50px 0;
}

.gallery-section h2{
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.gallery-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    
}

.gallery-item{
    text-align: center;
}

.gallery-item img{
    width: 100%;
    border-radius: 20px;

   height: 500px;
    width: auto;
}

.gallery-item img:hover{
    transform: scale(1.08);
}

.gallery-item p{
    margin-top: 15px;
}


.contact-section{
    width: 85%;
    margin: auto;

    padding: 50px 0;
}

.contact-section h2{
    text-align: center;
    margin-bottom: 50px;

    font-size: 36px;
}

.contact-container{
    display: flex;
    gap: 40px;
}

.map-box{
    flex: 1;
}

.map-box iframe{
    border-radius: 25px;
}

.contact-box{
    flex: 1;

    background-color: #f3f3f3;

    padding: 30px;

    border-radius: 25px;

    line-height: 2;

    
}


@media(max-width: 900px){

    .section-container,
    .contact-container{
        flex-direction: column;
    }

    .gallery-grid{
        grid-template-columns: 1fr;
    }

    .hero h1{
        font-size: 40px;
    }

    .navigacija{
        flex-direction: column;
        gap: 15px;
       
    }
   

}

.logo img{
    width: 75px;
    height: auto;
}
#footer{
    background-color:lightgray;
    opacity: 80%;
    
}
#footertext{
   padding:30px;
    color: black;
}