body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f7f7f7; 
}

h1, h2, h3 {
    margin: 0;
}

/*zaglavlje*/

header {
    height: 100vh;
    background-color: #f4c2c2; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
}

header .zaglavlje {
    max-width: 800px;
}

header h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ff6b6b; 
}

header p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #5d5d5d; 
}

header .portfolio {
    display: inline-block;
    background: #fff;
    color: #ff6b6b; 
    padding: 10px 25px;
    font-size: 1em;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

header .portfolio:hover {
    background: #ffe0e0; 
}

.zaglavlje {
    background-color: #f3e5e5; 
    padding: 9em 14em;
    border-radius: 1em;
    box-shadow: 0.3em 0.3em 0.7em rgba(44, 44, 44, 0.1); 
}

/* o meni */
.omeni {
    padding: 60px 20px;
    background: #f4c2c2;
    text-align: center;
}

.omeni .container {
    max-width: 800px;
    margin: 0 auto;
}

.omeni h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ff6b6b;
}

.omeni p {
    font-size: 1.1em;
    color: #6e6e6e; 
}

/* predmeti */

.radovi {
    padding: 60px 20px;
    background: #f4f4f4; 
    text-align: center;
}

.radovi h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #ff6b6b;
}

.predmeti {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.projekt {
    background: #fff; 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); 
    transition: transform 0.3s;
    text-align: center;
}

.projekt:hover {
    transform: translateY(-10px);
}

.projekt h3 {
    font-size: 1.5em;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.projekt a {
    font-size: 1em;
    color: #ff6b6b;
    margin-bottom: 10px;
    text-decoration: none;
    transition: font-size 0.3s ;
}

.projekt a:hover {
    font-size: 1.1em;
}

.projekt p {
    color: #999; 
}

.projekt img {
    width: 200px;
    height: 300px;
}

/*kontakt*/

.kontakt {
    padding: 60px 20px;
    background: linear-gradient(135deg, #ff6b6b, #ffb3b3);
    color: #333;
    text-align: center;
}

.kontakt h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

.kontakt form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kontakt form input, .kontakt form textarea {
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
    background-color: #ffe0e0; 
}

.kontakt form button {
    padding: 15px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.kontakt form button:hover {
    background: #ffb3b3; 
}

footer {
    text-align: center;
    padding: 20px 0;
    background: #f4c2c2;
    color: #333;
    font-size: 0.9em;
}

/*posebno stranice*/ 

.radovi_wp {
    padding: 60px 20px;
    background: #f4f4f4;
    text-align: center;
}

.radovi_wp h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #ff6b6b;
}

.sljedece {
    padding: 60px 20px;
    background: #f4f4f4;
    text-align: center;
}

.sljedece h3 {
    display: inline-block;
    margin: 0 20px;
    position: relative;
}

.sljedece a {
    font-size: 1.3em;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s ease;
}

.sljedece .lijevo {
    text-align: left;
    margin-right: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: center;
}

.sljedece .desno {
    text-align: right;
    margin-left: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: center;
}

.sljedece .lijevo:hover {
    transform: translateX(-10px);
}

.sljedece .desno:hover {
    transform: translateX(10px);
}

@media (max-width: 768px) {
    header {
        height: auto;
        padding: 2em 1.25em;
    }

    header h1 {
        font-size: 2em;
        margin-bottom: 1em;
    }

    header p {
        font-size: 1em;
    }

    header .btn {
        padding: 0.5em 1.2em;
        font-size: 0.9em;
    }

    .omeni {
        padding: 2.5em 1em;
    }

    .omeni h2 {
        font-size: 1.8em;
    }

    .omeni p {
        font-size: 1em;
    }

    .predmeti {
        grid-template-columns: 1fr;
        gap: 1em;
    }

    .projekt h3 {
        font-size: 1.3em;
    }

    .projekt {
        padding: 1em;
    }

    .kontakt {
        padding: 2.5em 1em;
    }

    .kontakt h2 {
        font-size: 1.8em;
    }

    .kontakt form {
        gap: 0.8em;
    }

    .kontakt form input,
    .kontakt form textarea {
        font-size: 0.9em;
    }

    .kontakt form button {
        padding: 0.8em;
        font-size: 0.9em;
    }

    footer {
        padding: 1em 0;
        font-size: 0.8em;
    }
}
