@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

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

body{
    font-family: Arial, sans-serif;
    background-color: #f4f7f4;
    color: #222;
    padding: 20px;
}

/* HEADER */

header{
    background-color: #2d6a4f;
    padding: 40px 20px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 35px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

header h1{
    font-family: 'Montserrat', sans-serif;
    font-size: 58px;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

header p{
    font-size: 18px;
    color: #e9f5ec;
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
}

/* KONTROLE */

.kontrole-dolje{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}

select,
input,
button{
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* INPUT */

input{
    min-width: 220px;
}

/* BUTTON */

button{
    background-color: #2d6a4f;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
}

button:hover{
    background-color: #1b4332;
    transform: scale(1.03);
}

/* KATEGORIJE */

#sadrzaj{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.container{
    background-color: white;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.container h2{
    color: #2d6a4f;
    margin-bottom: 15px;
    border-bottom: 2px solid #d8f3dc;
    padding-bottom: 8px;
}

/* LISTA */

ul{
    list-style: none;
}

li{
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* CHECKBOX */

input[type="checkbox"]{
    width: 18px;
    height: 18px;
    accent-color: #2d6a4f;
}

/* LABEL */

label{
    font-size: 16px;
}

/* REZULTATI */

#rezultati{
    margin-top: 40px;
}

.rezultat-box{
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-left: 7px solid #2d6a4f;
}

.rezultat-box h2{
    margin-bottom: 15px;
    color: #1b4332;
}

.rezultat-box ul li{
    padding: 5px 0;
}

/* RESPONSIVE */

@media(max-width: 700px){

    header h1{
        font-size: 42px;
    }

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

    select,
    input,
    button{
        width: 90%;
    }
}