/* Reset osnovnih stilova */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Opći stilovi tijela */
body {
    font-family: Arial, sans-serif;
    background-image: url('images/pexels1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding-top: 80px;
    min-height: 100vh;
    overflow-x: hidden; /* Sprječavanje horizontalnog skrolanja */
}

.desktop-text {
    display: block;
}
.mobile-text {
    display: none;
}

/* Navigacija */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* Logo s izborom jezika */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
}

.language-selector {
    margin-left: 15px;
    font-size: 0.9rem;
}

.language-selector a {
    text-decoration: none;
    color: white;
    margin-left: 5px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.language-selector a:hover {
    color: #007BFF;
}

/* Navigacijski izbornik */
.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #007BFF;
}

/* Hamburger meni */
.hamburger {
    display: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
}

/* Kontakt informacije */
.contact-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.contact-info a {
    color: white;
    text-decoration: none;
}

.contact-info a:hover {
    color: #007BFF;
}

/* Google Translate */
#google_translate_element {
    margin-top: 5px;
}

/* Stilizacija hero sekcije */
.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 40px;
}

.hero-left {
    flex: 2;
    text-align: left;
}

.hero-left h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.hero-right {
    flex: 1;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero-right h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #f0a500;
}

.hero-right ul {
    list-style-type: none;
    padding: 0;
}

.hero-right ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    padding-left: 20px;
    position: relative;
}

.hero-right ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #f0a500;
    font-weight: bold;
}

/* Sekcije */
section:not(#hero) {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    text-align: center;
}

section .content {
    max-width: 800px;
}

section h1, section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

section p, section ul {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Mobilni meni popravljen */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px; /* Manji tekst za bolju preglednost */
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-left, .hero-right {
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    .desktop-text {
        display: none;
    }

    .mobile-text {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        display: block;
        margin: 10px 0;
    }

    .language-selector {
        display: none;
    }

    .logo {
        display: none;
    }

    .contact-info {
        display: none;
    }
}

/* Dugmad */
button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 0.9rem;
    color: white;
}

/* O nama sekcija */
.about-section {
    background: url('images/pexels1.jpg') no-repeat center center/cover;
    padding: 40px 20px;
    color: white;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.left-column {
    flex: 1;
    text-align: left;
}

.right-column {
    flex: 0.4;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
}

.right-column h3 {
    margin-bottom: 10px;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}

.right-column p {
    margin: 10px 0;
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project-item {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.6);
}

.project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: opacity 0.3s ease;
}

.project-item:hover img {
    opacity: 0.9;
}

.project-item h3 {
    font-size: 1.2rem;
    color: #fff;
    margin: 10px 0;
}

.project-item button {
    opacity: 1;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.project-item button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.05);
}

/* Sekcija kontakt forme */
#contact {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.contact-container {
    max-width: 500px;
    margin: auto;
}

.contact-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.contact-container p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.contact-container a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.contact-container a:hover {
    color: #0056b3;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-form label {
    font-size: 1rem;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #007BFF;
    background: rgba(255, 255, 255, 0.2);
}

.btn-submit {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

#usluge {
    background-color: rgba(0, 0, 0, 0.6); /* Lagano zatamnjenje */
    padding: 50px 20px; /* Dodatni prostor da izgleda urednije */
    border-radius: 10px; /* Ako želiš blago zaobljene rubove */
}

.hero-image {
    display: block;
    width: 60%; /* Prilagodi širinu prema potrebi */
    max-width: 200px; /* Ograničava maksimalnu širinu */
    margin: 20px auto 0 auto; /* Centriranje slike ispod teksta */
    border-radius: 10px; /* Blago zaobljeni rubovi za bolji izgled */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Blagi shadow efekt */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.05); /* Blago povećanje na hover */
    opacity: 0.9;
}

h1, h2, p, a {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Poboljšava kontrast */
}

.small-text {
    font-size: 0.9rem; /* Ili manji, npr. 0.8rem */
    color: rgba(255, 255, 255, 0.8); /* Svjetlija nijansa bijele za diskretniji izgled */
}

.services-text {
    background: rgba(0, 0, 0, 0.6); /* Lagano zatamnjenje */
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px); /* Lagano zamućenje */
    display: inline-block;
}



