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

:root {
    --primary: #febd59;
    /* Main orange color */
    --secondary: #545454;
    /* Dark gray */
    --light-gray: #f5f5f5;
    /* Background */
    --text-dark: #333;
    /* Main text */
    --text-light: #fff;
    /* Text on dark */
}

body {
    /* Gradient Background */
    background: linear-gradient(to bottom, #bbb, #f5f5f5, );
    min-height: 100vh;
    /* Critical for visibility */

    /* Flex Centering (if needed) */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Fonts */
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    /* Fixed invalid 'weight' */
    font-style: normal;

    /* Optional: If using Anton for specific elements */
    /* font-family: "Anton", sans-serif; */
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #545454;
    /* Fallback */
    background-image: url("img/patern.jpg");

    background-blend-mode: soft-light;
    background-size: 200px 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;


}

.logo {
    height: 100px;
}

.logo img {
    height: 100%;
}

.menu ul {
    display: flex;
    list-style: none;
    height: auto;
    width: 100%;

}

.menu li {
    margin-left: 30px;
}

.menu a {
    text-decoration: none;
    color: #febd59;
    font-weight: 600;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    font-family: Arial, Helvetica, sans-serif;
    display: inline-block;

}

.menu a:hover {
    color: whitesmoke;
    transform: scale(1.2)
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 10px;
}

.container a {
    text-decoration: none;
    color: var(--primary)
}

.upute {
    text-align: justify;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-size: 1.8rem;
    width: 50%;

}

.upute span {
    font-weight: bold;
    color: #50514F;
}

.h1 {
    text-align: center;
    font-size: 2rem;
    align-items: center;

    font-weight: 400;
    font-style: normal;



}

.forma {
    position: relative;
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    color: var(--primary);
    /* Remove any background properties from here */
    z-index: 2;
    /* Higher than pseudo-elements */
}

/* Background image with transparency */
.forma::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("img/croVoiceLogo.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    /* Adjust transparency (0.3 = 30% visible) */
    z-index: 0;
    /* Lowest layer */
    border-radius: 10px;
}

/* Optional: White overlay for better text contrast */
.forma::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    /* White with 70% opacity */
    z-index: 1;
    /* Between image and content */
    border-radius: 10px;
}

/* Ensure all content stays above backgrounds */
.forma>* {
    position: relative;
    z-index: 2;
    /* Higher than both pseudo-elements */
}

form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.forma h1 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 10px;
    text-shadow: 2px 2px 2px #50514F;
    color: brown;
}

form>* {
    width: 100%;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.1rem;
}

input[type="text"],
input[type="date"],
textarea,
input[type="file"] {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s;
}

input[type="text"]:focus,
input[type="date"]:focus,
textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(254, 189, 89, 0.2);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input[type="file"] {
    padding: 10px;
    background-color: var(--light-gray);
}

button#submit {
    background-color: var(--primary);
    color: var(--text-dark);
    border: none;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button#submit:hover {
    background-color: #fcaa2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



.nav-links {
    display: flex;
    transition: all 0.3s ease;
}

.croVoice {
    width: 400px;
    height: 400px;
    background-image: url("img/croVoiceLogo.jpg");
    background-size: cover;
    border-radius: 50%;
}

.custom-file-upload input[type="file"] {
    display: none;
    /* Hide the default input */
}

.custom-file-upload span {
    display: inline-block;
    padding: 8px 16px;
    background: #febd59;
    color: #545454;
    border-radius: 4px;
    cursor: pointer;
}





.container p {
    text-align: justify;

}



.section h1 {
    text-align: center;
}

.container1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin: 0 auto;
    margin-bottom: 10px;
    margin-top: 150px;
    margin-bottom: 50px;



}

.container2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    margin: 0 auto;
    margin-bottom: 10px;
    margin-top: 150px;
    margin-bottom: 50px;



}

.container2 .desni img {
    background-color: green;
    width: 100%;
}

.container1 p {
    margin-top: 10px;
    margin-bottom: 10px;


}

a.tajni {
    color: #eee !important;
}

.cro {
    display: flex;
    justify-content: space-between;
    width: 100%;
}




.desni {
    width: 48%;
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-items: center;
    padding: 40px 0;



}

.container2 {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    margin-top: 150px;


}

.lijevo,
.desno {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

h2 {
    color: #545454;
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-bottom: 2px solid #febd59;
    padding-bottom: 10px;
}

a.zlatna {
    text-decoration: none !important;
    color: var(--primary) !important;
    font-size: 2rem;
    border-bottom: 2px solid var(--primary);
}

.contact-info {
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: #febd59;
    margin-right: 10px;
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.map-container {
    height: 400px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.logo img {
    transition: transform 0.5s ease;
    /* Smooth transition for the rotation */
    display: block;
    /* Ensures proper transform application */
}

.logo:hover img {
    transform: rotate(360deg);
    /* Full rotation on hover */
}

p.nazivi {
    font-weight: bold;
    text-shadow: 1px 1px 1px white;
    color: brown;
    font-size: 1.3em;
}

h3 a {
    text-decoration: none;
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle div {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 5px;
}

@media (max-width: 1000px) {
    .container {
        width: 90%;
    }

    .container1 {
        width: 100%;

    }
}

@media (max-width: 768px) {
    .cro {
        flex-direction: column;
    }

    #skriveni {
        display: block;
    }

    .menu ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .menu li {
        margin: 10px 15px;
    }

    .container2 {
        flex-direction: column;
    }

    h1 {
        font-size: 1.5rem;

    }

    .menu {
        display: none;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background-color: #333;
    }

    .menu ul {
        flex-direction: column;
        text-align: center;
    }

    .menu ul li {
        padding: 15px;
    }

    .menu-toggle {
        display: flex;
    }

    #menu-checkbox:checked~.menu {
        display: block;
    }

    .desni {
        width: 100%;
    }

    .upute {
        width: 100%;
    }

    p.nazivi {
        font-weight: normal;
        background-color: lightgray;
        border-radius: 10px;
        text-align: center;
        color: black;
        text-shadow: none;
    }
}