:root {
    --primary: #ffb473;
    --secondary: #fff;
    --tertiary: #45B7D1;
    --background: #292F36;
    --text: #F7FFF7;
    --card-background: #3A3F49;
    --border-color: #CE9C71;
    --shadow-color: rgba(0, 0, 0, 0.15);
    --footer-title-color: #FFD700;
    --footer-bg-color: #333;
    --gold: #FFB473;
    --dark-bg: #1F1F1F;
    --light-bg: #f5f5f5;
    --elegant-blue: #2b3a42;
    --elegant-gray: #4f5b66;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    width: 98%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
}



.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header {
    background-color: rgba(153, 153, 153, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: rgba(0, 0, 0, 0.2) solid 2px;
    padding: 0; /* Add some padding */
    position: relative;
    border-radius: 10px;
}

.header-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(10px)  brightness(1.8);
    -webkit-backdrop-filter: blur(10px) brightness(1.8);
    z-index: -1;
    border-bottom: rgba(0, 0, 0, 0.2) solid 2px;
    border-radius: 10px;

}

/* Ensure all children of header-content are above the blur */
.header-content > * {
    position: relative;
    z-index: 1;
}

/* Adjust the body to have some content behind the header */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 200px; /* Adjust as needed */
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent);
    z-index: -1;
}

/* Ažuriramo stilove za logo kontejner */

.logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    line-height: 1.3rem;

}
/* Stilovi za sliku loga */
.logo-image {
    width: 100px;
    height: auto;
    position: relative;
    //mix-blend-mode: multiply; /* Ili bilo koji drugi blend mode: overlay, screen, etc. */
}
/* Ažuriramo stilove za tekst loga */
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #090603bf;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 0 #fff;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-family: 'Lobster', sans-serif;
    line-height: 1.8rem;
}

.logo-text:hover {
    color: #8c3636;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--secondary);
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    padding-right:1rem;
}

.contact-button {
    background-color: var(--primary);
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-button:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: none;
    //backdrop-filter: blur(50px) brightness(1.8);
    border-radius: 10px;
}
.dropbtn {
    background-color: var(--primary);
    color: #fff;
    padding: 7px;
    font-size: 25px;
    border: 4px #f0eabb solid;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s;
    margin-right: 5px;
    box-shadow: 2px 2px 130px bisque;
    text-shadow: black 2px 2px;    
}
.dropbtn:hover, .dropbtn:focus {
    background-color: #795d5d;;
    transform: scale(1.05);
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    z-index: 1;
    border-radius: 15px;
    overflow: hidden;
    top: 60px;
    right: 0;
    backdrop-filter: blur(5px) brightness(366%);
    -webkit-backdrop-filter: blur(5px) brightness(366%);
    background: #170b0b99;
    border: antiquewhite 4px solid;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.5s;
    font-weight: bold;
    text-shadow: 2px 2px 2px #4f2727;
    font-size: larger;
    
}
.dropdown-content a i {
    margin-right: 10px;
    font-size: 20px;
}
.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.07);
    transform: translateX(10px);
    border-bottom: #f0f8ff30 solid 1px;
}
.show {
    display: block;
    animation: bounceIn 0.5s;
}
@keyframes bounceIn {
    0% {opacity: 0; transform: scale(0.8);}
    50% {transform: scale(1);}
    100% {opacity: 1; transform:  scale(1);}
}

/* Hero styles */
.hero {
            position: relative;
            height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: black;
        }

        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('img/background.jpg');
            background-size: cover;
            background-position: center;
            opacity: 0;
            animation: fadeInBg 2s forwards, zoomBg 20s infinite alternate;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: var(--text);
            padding: 3rem;
            border-radius: 20px;
            max-width: 800px;
            opacity: 0;
            overflow: hidden;
            background: rgba(12, 35, 79, 0.38);
            backdrop-filter: blur(2px) grayscale(50%) invert(30%);
            box-shadow: 4px 4px 20px rgba(0, 0, 0, 1);
            transition: opacity 2s ease-in-out;
            border: #fff 4px solid;
            margin: 0px 10px;
        }

        .hero-content::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            right: -50%;
            bottom: -50%;
            background: linear-gradient(
                to bottom right,
                rgba(255, 255, 255, 0.2) 0%,
                rgba(255, 255, 255, 0.05) 40%,
                rgba(255, 255, 255, 0) 50%,
                rgba(255, 255, 255, 0.05) 60%,
                rgba(255, 255, 255, 0.2) 100%
            );
            transform: rotate(45deg);
            pointer-events: none;
        }

        .hero-content h1 {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            position: relative;
            text-shadow: 2px 2px 4px rgba(0,0,0,1);
            font-weight: 700;
        }

        .foreground-image {
            position: absolute;
            bottom: -100px;
            left: 50%;
            transform: translateX(-50%);
            max-width: 80%;
            max-height: 80%;
            z-index: 1;
            opacity: 0;
        }

        #particles-js {
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        @keyframes fadeInBg {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes zoomBg {
            0% { transform: scale(1); }
            100% { transform: scale(1.1); }
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes riseCar {
            from { bottom: -100px; opacity: 0; }
            to { bottom: 0; opacity: 1; }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .cta-button {
            position: relative;
            z-index: 3;
        }

        @media (max-width: 768px) {
            .hero-content h1 {
                font-size: 2rem;
            }
        }

/* Poboljšani stilovi za kartice */
.article-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.article-card {
    flex: 0 1 350px;
    background-color: var(--card-background);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 1;
    transform: translateY(0);
}

.article-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover img {
    transform: scale(1.1);
}

.article-card-content {
    padding: 1.5rem;
}

.article-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 1px 1px 12px #1e146a;
}

/* Centriranje gumba */
.cta-button-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button {
    background-color: #000;
    color: var(--text);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    border: 2px solid #fff;
    font-weight: bold;
}

.cta-button:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Animacija za gumb */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

.cta-button:hover {
    animation: pulse 1.5s infinite;
}

/* Form styles */
#contact-form {
    background-color: var(--card-background);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 4rem;
}

#contact-form h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

form {
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

form input,
form select,
form button {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid transparent;
    background-color: var(--background);
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

form input:focus,
form select:focus {
    outline: none;
    border-color: yellow;
    box-shadow: 0 0 0 3px rgba(255, 255, 0, 0.3);
    transform: translateY(-3px);
}

form input::placeholder,
form select::placeholder {
    color: rgba(247, 255, 247, 0.5);
}

form button {
    background-color: var(--primary);
    color: var(--text);
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

form button:hover {
    background-color: red;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text);
}

form input[type="checkbox"] {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
}

/* Animation for form fields */
@keyframes fieldFocus {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

form input:focus,
form select:focus {
    animation: fieldFocus 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #contact-form {
        padding: 2rem;
    }

    form {
        gap: 1rem;
    }

    form input,
    form select,
    form button {
        padding: 0.8rem;
    }
}

input[type="file"] {
    display: block;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text);
}

/* Stilovi za pregled slika */
input[type="file"] {
    display: block;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text);
}

/* Stilovi za pregled slika */
#imagePreviewContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.image-preview {
    position: relative;
    width: 100px;
    height: 130px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 70px;
    object-fit: cover;
}

.file-size {
    font-size: 0.8rem;
    color: var(--text);
    margin: 5px 0;
}

.delete-image {
    background-color: #000;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 3px 6px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 0;
}

.delete-image i {
    font-size: 1rem;
}

/* Responzivnost za mobilne uređaje */
@media (max-width: 768px) {
    #contact-form {
        padding: 2rem;
    }

    .image-preview {
        width: 80px;
        height: 110px;
    }

    .delete-image {
        font-size: 0.7rem;
        padding: 2px 4px;
    }
}
/* Footer styles */
footer {
    background-color: var(--card-background);
    color: var(--text);
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    margin-bottom: 2rem;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style-type: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--text);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary);
}

/* GDPR Dialog styles */
.gdpr-dialog {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2b3a42; /* Tamno plava pozadina */
    color: #ffffff;
    padding: 20px;
    display: flex; /* Koristimo flexbox */
    flex-direction: column; /* Zadano je da je u koloni za mobilne uređaje */
    align-items: center;
    justify-content: center;
    z-index: 1001;
    box-shadow: 0 -20px 20px rgba(0, 0, 0, 1);
    border-top: 3px solid #FFB473; /* Zlatna boja za border */
    transition: all 0.3s ease; /* Glatka tranzicija */
}

.gdpr-dialog.show {
    display: flex;
}

.gdpr-dialog .gdpr-content {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Razmak između teksta i gumba */
}

.gdpr-dialog .gdpr-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
}

.gdpr-dialog .gdpr-buttons {
    display: flex;
    gap: 10px; /* Razmak između gumba */
}

.gdpr-dialog .gdpr-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
}

.gdpr-dialog .gdpr-accept {
    background-color: #FFB473;
    color: #2b3a42;
}

.gdpr-dialog .gdpr-decline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #FFB473;
}

.gdpr-dialog .gdpr-accept:hover {
    background-color: #ffc681;
}

.gdpr-dialog .gdpr-decline:hover {
    background-color: #FFB473;
    color: #2b3a42;
}

.gdpr-icon
{
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #FFB473;
}

@media (min-width: 768px) {
    .gdpr-dialog {
        flex-direction: row; /* Na desktopu elementi će biti u redu */
        padding: 10px 30px; /* Dodaj malo paddinga za desktop */
        justify-content: space-between;
    }

    .gdpr-dialog .gdpr-content {
        margin-bottom: 0; /* Uklanja se razmak između teksta i gumba na desktopu */
        margin-right: 20px; /* Dodajte malo razmaka između teksta i gumba */
    }

    .gdpr-dialog .gdpr-buttons {
        gap: 15px; /* Povećava razmak između gumba na desktopu */
    }

}



@media (max-width: 768px) {
    .contact-buttons {
        display: none;
    }

    .dropdown {
        display: block;
        //backdrop-filter: blur(50px) brightness(1.8);
        //border-radius: 10px;
        //padding-right: 1rem;
    }

    .footer-content {
        flex-direction: column;
    }
}



/* Styles for form fields and validation */
.form-field {
    position: relative;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--text);
    background-color: var(--card-background);
    color: var(--text);
    transition: 0.3s all;
}

.form-field.focused input,
.form-field.focused select {
    border-color: yellow;
}

.form-field.valid input,
.form-field.valid select {
    border-color: green;
}

.form-field.error input,
.form-field.error select {
    border-color: red;
}

.form-field label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    padding: 0 0.5rem;
    color: var(--text);
    transition: 0.3s all;
    pointer-events: none;
    background-color: var(--card-background);
}

.form-field.focused label,
.form-field.valid label {
    color: var(--text);
}

.form-field.focused label {
    top: -0.5rem;
    left: 1.8rem;
    font-size: 0.8rem;
}

.form-field.valid label {
    top: -0.5rem;
    left: 1.8rem;
    font-size: 0.8rem;
}

.error-message {
    color: white;
    font-size: 0.85rem;
    position: absolute;
    bottom: -1.2rem;
    left: 0;
    background-color: red;
    border-radius: 5px;
    padding: 0;
    font-weight: bold;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
}

.checkbox-group > div {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 1rem;
}

    ::-webkit-input-placeholder {
        color: rgba(247, 255, 247, 0.5);
    }

    :-ms-input-placeholder {
        color: rgba(247, 255, 247, 0.5);
    }

    ::placeholder {
        color: rgba(247, 255, 247, 0.5);
    }

    datalist {
        display: none;
    }

    input::-webkit-calendar-picker-indicator {
        display: none;
    }

    input[type="text"]::after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        pointer-events: none;
    }

    input[type="text"]:focus + datalist {
        display: block;
        position: absolute;
        max-height: 200px;
        overflow-y: auto;
        background-color: var(--card-background);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        z-index: 1000;
    }

    datalist option {
        padding: 0.5rem;
        font-size: 1.2rem;
        background-color: var(--card-background);
        color: var(--text);
        cursor: pointer;
    }

    datalist option:hover {
        background-color: var(--secondary);
    }
    .suggestions {
        position: absolute;
        background-color: var(--card-background);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        z-index: 1000;
        max-height: 200px;
        overflow-y: auto;
        width: 100%;
        display: none;
    }

    .suggestions.visible {
        display: block;
    }

    .suggestions div {
        padding: 0.5rem;
        font-size: 1.2rem;
        cursor: pointer;
        color: var(--text);
    }

    .suggestions div:hover {
        background-color: #ffb473;
        color:#000;
    }

    @media (max-width: 768px) {
        .suggestions div {
            font-size: 1rem;
        }
    }
 /* Stilovi za slike koje nisu u karticama */
 .image-container {
    position: relative;
    margin: 3rem 0;
    padding: 1.3rem;
    background-color: var(--card-background);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.image-container::before {
    content: '';
    position: relative;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 107, 107, 0.1),
        rgba(78, 205, 196, 0.1)
    );
    transform: rotate(30deg);
    z-index: 1;
}

.responsive-image {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.image-container:hover .responsive-image {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Novi stilovi za centrirani tekst preko slike */
.centered-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.8rem;
    border-radius: 10px;
    z-index: 3;
}

/* Responzivnost */
@media (max-width: 768px) {
    .image-container {
        margin: 2rem 0;
        padding: 1rem;
    }
    .centered-text {
        position: relative;
        top: 30px;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 1.4rem;
        font-weight: 700;
        text-align: center;
        background: rgba(0, 0, 0, 0.7);
        margin-top:-1rem;
        //padding: 1rem;
        //border-radius: 10px;
        z-index: 3;
        text-shadow: -4px -4px 0 #000, 4px -4px 0 #000, -4px 4px 0 #000, 4px 4px 0 #000; /* Dodaje crni rub oko teksta */
    }
    .centered-text h2 {
    margin-top: 1rem;
    }
    
    
}


.box {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.box.show {
    opacity: 1;
    transform: translateY(0);
}

.box:nth-of-type(even) {
    //transform: translateX(-400%);
}

.hero .box {
    transform: none;
    opacity: 1;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 20px;
    justify-items: center;
    align-items: start;
    margin-bottom: 2rem;
}

.brand-item {
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.brand-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    padding: 5px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text);
}

@media (max-width: 768px) {
    .brand-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 15px;
    }

    .brand-item {
        padding: 8px;
    }

    .brand-logo {
        width: 50px;
        height: 50px;
    }

    .brand-item p {
        font-size: 0.8rem;
    }
}
h2 {
    text-align: center;
    padding: 2rem 0 0.1rem 0;
    text-shadow: 2px 2px #000;
}


@keyframes sinusoidal {
    0% {
        transform: translateX(-50%) translateX(-25px) translateY(-10px);
    }
    25% {
        transform: translateX(-50%) translateX(-12.5px) translateY(5px);
    }
    50% {
        transform: translateX(-50%) translateX(25px) translateY(10px);
    }
    75% {
        transform: translateX(-50%) translateX(12.5px) translateY(5px);
    }
    100% {
        transform: translateX(-50%) translateX(-25px) translateY(-10px);
    }
}
footer {
    background-color: ##272C33;
    color: var(--text);
    padding: 0;
    margin-top: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-section {
    flex: 1;
    margin-bottom: 2rem;
    min-width: 200px;
}

.about-section {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 90px;
    height: auto;
    margin-right: 0;
}

footer {
    position: relative;
    color: var(--text);
    margin-top: 3rem;
    text-align: center;
}

.contact-section {
    position: relative;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 8px var(--shadow-color);
    text-align: center;
    z-index: 2;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: 1;
    border-radius: 15px;
}

.contact-section h2 {
    position: relative;
    font-size: 2.5rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px var(--shadow-color);
    z-index: 3;
    margin-bottom: 2rem;
}

.contact-info {
    position: relative;
    z-index: 3;
}

.footer-bottom {
    background-color: var(--card-background);
    padding: 1rem 0;
    color: var(--text);
    font-size: 0.9rem;
    margin-top: 2rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-image {
    display: block;
    margin: 0 auto 1.5rem auto; /* Centriranje slike i dodavanje margine ispod */
    max-width: 100%;
    height: auto;
}

.contact-section {
    background: linear-gradient(135deg, var(--elegant-blue), var(--elegant-gray));
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 8px var(--shadow-color);
    margin-top: 3rem;
    text-align: center;
    color: var(--text);
}

.contact-section h2 {
    font-size: 2.5rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px var(--shadow-color);
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-info a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: #000 2px 2px 3px;
}

.contact-info a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.contact-info i {
    font-size: 1.5rem;
}

.cta-button-container {
    margin-top: 2rem;
}

.cta-button {
    background-color: var(--gold);
    color: var(--elegant-blue);
    border: #ece1c9 solid 2px;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.5s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

.cta-button:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .contact-section {
        padding: 2rem;
    }

    .contact-section h2 {
        font-size: 2rem;
    }

    .contact-info p {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.8rem 1.6rem;
        margin-top: 1rem;
    }
}
#shader {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.9); /* Početni scale */
    animation: sinusoidal 20s infinite ease-in-out;
}
.article-card-content a {
    color: var(--secondary); /* Postavite boju linka */
    text-decoration: none; /* Uklonite podcrtavanje */
    font-weight: bold; /* Podebljajte tekst */
    border-bottom: 2px solid transparent; /* Dodajte prozirni border za efekt pri hoveru */
    transition: color 0.3s ease, border-color 0.3s ease; /* Glatka tranzicija boja */
}

.article-card-content a:hover {
    color: var(--primary); /* Promijenite boju prilikom hovera */
    border-bottom-color: var(--primary); /* Promijenite boju border-a pri hoveru */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3); /* Dodajte sjenku tekstu */
}

.article-card-content a:active {
    color: var(--tertiary); /* Boja kada je link pritisnut */
    border-bottom-color: var(--tertiary); /* Border boja prilikom klika */
}

.article-card-content a:focus {
    outline: 2px dashed var(--secondary); /* Prikaz obruba kada je fokusirano */
    outline-offset: 2px;
}
.gdpr-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem; /* Razmak između checkbox + label i gumba */
}

.gdpr-content {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Razmak između checkbox-a i teksta */
}

.gdpr-content label {
    margin: 0;
}

.cta-button {
    align-self: flex-start; /* Poravnava gumb na lijevu stranu */
    margin-top: 1rem; /* Razmak između sadržaja i gumba */
}
/* Dodaj ovu animaciju u svoj CSS */
@keyframes slideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Stiliziraj element za početak animacije */
.gdpr-dialog.slide-out {
    animation: slideOut 0.5s forwards;
}

.blend_mode {
    mix-blend-mode: color-dodge;
}
/* Specific styling for the file input label to always be above the input */
#images + label {
    position: absolute;
    top: -0.5rem;
    left: 1.8rem;
    font-size: 0.8rem;
    background-color: var(--card-background);
    padding: 0 0.5rem;
    color: var(--text);
    z-index: 1;
    transition: 0.3s all;
}

/* Adjust the container to ensure proper layout */


.form-field label[for="images"] {
    top: -0.5rem;
    left: 1.8rem;
    font-size: 0.8rem;
    background-color: var(--card-background);
    padding: 0 0.5rem;
    color: var(--text);
    z-index: 1;
    transition: 0.3s all;
}
.contract{
    position: relative;
}
/* Ensure the dialog is hidden by default */
#gdprDialog {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Show dialog when the show class is added */
#gdprDialog.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Slide-out animation */
#gdprDialog.slide-out {
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
dialog {
    border: none;
    background: none;
    padding: 0;
    border-radius: 10px;
    max-width: 90%;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.dialog-content {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
}

.dialog-image {
    width: 100px;
    height: auto;
    margin-bottom: 1rem;
}

.dialog-message {
    color: var(--text);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.dialog-button {
    background-color: var(--primary);
    color: var(--text);
    border: none;
    padding: 0.7rem 2rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.dialog-button:hover {
    background-color: var(--secondary);
}

.dialog-close-button {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
