body {
    padding: 0;
    background-image: url(pozadina1.jpg);
    background-blend-mode:difference;
    background-color: #636363;
    font-family:'Segoe UI', Tahoma;
    margin: 0;
}

.header {
    display: flex;
    align-items: center;
    padding: 1% 8%;
    position: relative;
    background-color: #f4ff57;
}

a{
    text-decoration: none;
    display: flex;
    align-items: center;
}

h1 {
    font-size: 3vw; 
    color: black;
    margin: 0;
    font-family:Impact;
}

h2{
    font-family:Impact;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3vw;
    width: fit-content;
}

.footer-h2{
    font-size: 300%;
}

h3{
    font-family:Impact;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    font-size: 2vw;
    float: left;
}

.moto{
    border: solid black 5px;
    padding: 1% 3%;
    background-color: white;
    opacity: 0.9;
}

p{    
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size:150%;
}

p.about{
    font-size: 150%;
    font-weight:bold;
    text-align: center;
}

.p-onama{
    font-weight: bold;
    padding: 1% 2%;
}

.col-lg-4{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin-left: 15%;
    justify-content: space-evenly;
    font-weight: bold;
    width: 100%;
}

li {
    font-size: 1.5vw;
}

li a {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: black;
    transition: transform 0.2s;
    font-size: 100%;
}

li a:hover {
    transform: scale(1.2);
}

.hamburger-menu {
    display: none; 
    flex-direction: column;
    justify-content: space-between;
    width: 3%;
    height: 40%;
    background: transparent;
    border: none;
    cursor: pointer;
    color: black;
}

.hamburger-icon{
    display: block;
}

.hamburger-line{
    width: 100%;
    height: 5px;
    background-color: black;
    margin: 6px 0;
    transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(10px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-10px);
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.nav.active {
    display: block;
}

    

.naslovnaSlika{
    background-image: url('naslovna.jpg');
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    justify-content: center;
    align-items: center;
    padding: 100px 10px;
}

.about-section{
    background-color: white;
    opacity: 0.9;
    margin-top: 8%;
    margin-bottom: 2%;
}

.about-section > div{
    border: black 5px solid;
    padding: 4%;
}

.bavimoSe{
    margin: 5% 12%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.prviNasl{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 5%;
}

.drugiNasl{
    display: flex;
    flex-direction: column;
    margin: 2% 0 0 0;
    border: black 5px solid;
    padding: 2% 5%;
    background-color: #f4ff57;
}

.stavke{
    list-style-type: square;
    display: flex;
    flex-direction: column;
    color: black;
    margin-left: 5%;
}

img{
    border: solid black 2px;
}

.footer{
    display: flex;
    text-align:center;
    justify-content: center;
    align-items: center;
    background-color: #f4ff57;
    padding: 5% 5%;
}

.usluge{
    margin: 3% 10%;
}

.podnaslov{
    color: black;
    margin: 3% 5%;
    padding: 1% 3%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.galerija {
    background-color: #f4ff57;
    column-count: 2;
    column-gap: 3%;
    margin: 3% 5%;
    padding: 5% 8%;
}

.galerija img {
    width: 100%;
    margin-bottom: 5%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

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


.kontakt-forma {
    background-color: #333;
    padding: 40px;
    border-radius: 15px;
    max-width: 40%;
    margin: 50px auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.6);
    color: white;
    text-align: center;
}

.kontakt-forma form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kontakt-forma input,
.kontakt-forma textarea {
    padding: 2%;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    width: 100%;
}

.kontakt-forma button {
    padding: 2%;
    background-color: #ecf83d;
    color: black;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.kontakt-forma button:hover {
    background-color: #c2ce1d;
}


@keyframes glow {
    from {
      text-shadow: 0 0 10px #f4ff57, 0 0 40px white, 0 0 70px;
    }
    
    to {
      text-shadow: 0 0 50px white, 0 0 70px #f4ff57;
    }
}

@media screen and (max-width: 1250px) {
    .nav {
        display: none; 
    }

    .hamburger-menu {
        display: flex;
    }

    h1 {
        font-size: 5vw;
    }
    

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header.active .search-bar {
        display: flex; 
    }

    .search-bar {
        display: none; 
        margin: 0;
    }

    .search-bar input[type="text"] {
        width: 100%; 
    }

    .search-bar button {
        width: 20%;
    }
}

@media screen and (max-width: 1250px) {
    .nav.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        background-color: rgb(247, 255, 133);
        padding: 20px 0;
        z-index: 10;
    }

    .header.active {
        height: auto;
    }

    .nav ul {
        display: block;
        margin: 0;
        width: auto;
    }

    .nav li {
        margin: 10px 0;
    }

    .hamburger-menu {
        position: absolute;
        top: 50%;
        right: 5%;
        transform: translateY(-50%); 
    }
}

@media screen and (max-width: 768px) {

    h1 {
        font-size: 6vw;
    }

    h2 {
        font-size: 6vw;
    }

    .footer-h2{
        font-size: 6vw;
    }

    h3 {
        font-size: 5vw;
    }

    p{
        font-size: 3vw;
    }

    ul {
        flex-direction: column;
        gap: 10px;
    }

    li {
        font-size: 4vw;
    }

    .search-bar {
        margin-top: 10px;
    }

    .hamburger-menu {
        height: 6%;
        width: 4%;
        position: absolute;
        top: 30%;
        right: 5%;
        transform: translateY(-50%); 
    }

    .kontakt-forma {
        max-width: 80%;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 6vw;
    }

    h2 {
        font-size: 5vw;
    }

    .footer-h2{
        font-size: 5vw;
    }

    h3 {
        font-size: 6vw;
    }

    p{
        font-size: 3vw;
    }

    .p-onama{
        font-size: 4vw;
    }

    li {
        font-size: 5vw;
    }

    .header {
    padding: 3% 8%;
}

    .hamburger-menu {
        height: 4%;
        width: 6%;
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translateY(-50%); 
    }

    .kontakt-forma {
        max-width: 80%;
    }
}
