* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url('/images/background.webp') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    line-height: 1.6;
}


/* Stilovi za glavni sadržaj */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #ADD8E6;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.top-banner {
    background-color: #ffffff;
    color: #1a73e8;
    text-align: center;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: bold;
    position: relative;
    z-index: 101;
}

.top-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to left, #1a73e8, #b3e0ff);
    color: #FFF;
    height: 80px;
    padding: 0 20px;
    position: relative;
    z-index: 100;
}

.logo {
    max-width: 50%;
    height: auto;
    max-height:70px;
    position: relative;
    left: 20px;
}



.menu {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    position: relative;
    z-index: 101;
}

.menu > li {
    margin: 0 15px;
}

.menu > li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.menu > li a:hover {
    color: #000;
}

.menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-toggle {
    display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: white;
    position: absolute;
    height: 4px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.menu-button::before {
    content: '';
    margin-top: -8px;
}

.menu-button::after {
    content: '';
    margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}

@media (max-width: 768px) {
    .menu-button-container {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 103; /* Povećan z-index da bude iznad menija */
        height: 50px;
        width: 50px;
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 75%;
        max-width: 300px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: linear-gradient(to top, #80c0f0, #135ba1);
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 102;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.3);
    }

    #menu-toggle:checked ~ .menu {
        transform: translateX(0);
    }

    .menu > li {
        width: 100%;
        text-align: center;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .menu > li a {
        font-size: 1.5rem;
    }

    body.menu-open {
        overflow: hidden;
    }
}



@media (max-width: 768px) {
    .slider {
        position: relative;
        width: 100%;
        height: 70vh;
        overflow: hidden;
        z-index: 1;
    }
}
@media (min-width: 768px) {
    .slider {
        position: relative;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        z-index: 1;
    }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}



.button {
    display: inline-block;
    padding: 1vw 2vw;
    font-size: 2vw;
    color: #fff;
    background-color: #1a73e8;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.button:hover {
    background-color: #80c0f0;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.button::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: rgba(26, 115, 232, 0.7);
    filter: blur(30px);
    border-radius: 20px;
    z-index: -1;
    opacity: 1;
}

.button:hover {
    background-color: #1a73e8;
    transform: scale(1.1);
    box-shadow: 0px 0px 40px rgba(26, 115, 232, 0.8);
}

.button:hover::before {
    background: rgba(26, 115, 232, 0.8);
    filter: blur(40px);
    opacity: 1;
}

@media (max-width: 768px) {
    .button {
        padding: 5% 8%;
        font-size: 5vw;
    }

    .button:hover {
        transform: none;
    }
}

.navbar {
    position: fixed;
    right: 0;
    top: 0;
    padding: 10px;
    z-index: 1000;
}

.center-text {
    text-align: center;
    font-size: 2vw;
    font-weight: bold;
    margin-top: 20px;
}

footer {
    background: linear-gradient(to top, #80c0f0, #135ba1);
    color: white;
    padding: 4% 5%;
    font-size: 1.5vw;
    width: 100%;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2%;
    flex-wrap: wrap;
    width: 100%;
}

.footer-left {
    flex: 1;
    text-align: left;
}

.footer-center {
    flex: 1;
    text-align: center;
}

.footer-right {
    flex: 1;
    text-align: right;
}

.footer-center iframe {
    width: 100%;
    height: 20vw;
    border: 0;
    transition: transform 0.3s ease-in-out;
}

.footer-center iframe:hover {
    transform: scale(1.1);
}

.contact-buttons {
    text-align: center;
    margin-bottom: 4%;
}

.contact-buttons .button {
    display: inline-block;
    margin: 1% 2%;
    padding: 0.8vw 1.5vw;
    font-size: 1.3vw;
    background-color: #1a73e8;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, font-weight 0.3s ease;
}

.contact-buttons {
    margin-bottom: 5%;
}

.contact-buttons .button:hover {
    transform: scale(1.1);
    background-color: #1a73e8;
    color: white;
}

@media (max-width: 768px) {
    
    @media (max-width: 768px) {
        .button {
            padding: 5% 8%;
            font-size: 5vw;
        }
    
        .contact-buttons .button:hover {
            transform: none;
        }
    }

    .footer-flex {
        flex-direction: column;
        text-align: center;
        gap: 4%;
    }

    .footer-left, .footer-center, .footer-right {
        text-align: center;
        flex: 1;
        width: 100%;
    }

    .footer-left, .footer-center, .footer-right, footer p.copy {
        font-size: 3.5vw;
    }

    .contact-buttons .button {
        padding: 3% 6%;
        font-size: 4vw;
    }

    footer {
        padding: 5% 5%;
    }

    .footer-flex {
        gap: 5%;
    }

    .footer-center {
        margin-top: 20px;
    }

    .button:hover {
        transform: none;
    }
}

footer p.copy {
    text-align: center;
    margin-top: 2%;
    font-size: 1.5vw;
}

footer {
    text-align: center;
    font-size: 1.2rem;
}

.linkovi {
    color: white; /* Beli tekst */
    text-decoration: none; /* Bez podvlačenja */
    transition: font-size 0.3s ease; /* Glatka animacija za povećanje teksta */
}

.linkovi:hover {
    font-size: 1.1rem; /* Povećanje teksta kada se pređe mišem */
}


/* Globalni stilovi */





/* Sekcija 'O nama' */
.about {
    text-align: center;
    padding: 20px;
    background: #081B35;
}

.about h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
}

.about h2 {
    font-size: 1.8rem;
    color: #80c0f0;
    margin-top: 30px;
}

.about p {
    font-size: 1.1rem;
    margin: 15px 0;
    text-align: justify;
    padding: 0 20px;
    color:white;
}

/* Stilovi za slike */
.about-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive dizajn */
@media (max-width: 768px) {
    main {
        padding: 10px;
        margin: 10px;
    }

    .about h1 {
        font-size: 2rem;
    }

    .about h2 {
        font-size: 1.5rem;
    }

    .about p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .about-image {
        max-width: 100%;
    }
}

















/* Glavni kontejner za usluge */
.usluge-kontejner {
    max-width: 900px;
    width: 100%;
    margin: 40px auto;
    padding: 10px;
    background: #081B35;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Naslov usluga */
.usluge-kontejner h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
}

/* Stilovi za slider */
.usluge-klizac {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

/* Omotac za slajdove */
.usluge-omotac {
    width: 100%;
    overflow: hidden;
}

/* Traka sa slajdovima */
.usluge-staza {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Stil za svaki slajd */
.usluge-slajd {
    min-width: 100%;
    position: relative;
    text-align: center;
    padding: 0;
}

/* Stilovi za slike i video sa odnosom 16:9 */
.usluge-slajd img, 
.usluge-slajd video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    margin: 0;
}

/* VIDEO - automatsko ponavljanje i bez kontrola */
.usluge-slajd video {
    pointer-events: none;
}

/* Tekst unutar slajda */
.sadrzaj-slajda {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 8px;
    width: 90%;
    color: white;
    box-sizing: border-box;
}

.sadrzaj-slajda h2 {
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.sadrzaj-slajda p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.dugme-ponuda {
    display: inline-block;
    padding: 12px 20px; /* Povećana veličina dugmeta */
    background: #007bff;
    color: white !important; /* Osigurava da tekst bude beo */
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    text-transform: uppercase;
    text-decoration: none !important;
}

/* Ovim stilom osiguravamo da čak i ako je dugme unutar <a> tag, nema podvlačenja i plave boje */
.dugme-ponuda:link,
.dugme-ponuda:visited {
    color: white !important;
    text-decoration: none !important;
}

.dugme-ponuda:hover {
    background: #0056b3;
    color: white !important;
    text-decoration: none !important;
}



/* Strelice za navigaciju - ista boja kao dugme */
.prethodni-dugme, .sledeci-dugme {
    background: #007bff;
    color: white;
    border: none;
    padding: 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: background 0.3s;
}

.prethodni-dugme { left: 10px; }
.sledeci-dugme { right: 10px; }

.prethodni-dugme:hover, .sledeci-dugme:hover {
    background: #0056b3;
}

/* Responsive dizajn */
@media (max-width: 768px) {
    /* Glavni kontejner */
    .usluge-kontejner {
        padding: 10px;
    }

    .usluge-kontejner h1 {
        font-size: 2rem;
    }

    /* Slike i video u odnosu 16:9 */
    .usluge-slajd img, 
    .usluge-slajd video {
        height: auto;
        max-height: 50vh;
    }

    /* Tekst unutar slajda */
    .sadrzaj-slajda {
        width: 95%;
        padding: 8px 10px;
        font-size: 1rem;
    }

    .sadrzaj-slajda h2 {
        font-size: 1.4rem;
    }

    .sadrzaj-slajda p {
        font-size: 0.9rem;
    }

    .dugme-ponuda {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .prethodni-dugme, .sledeci-dugme {
        padding: 10px;
        font-size: 20px;
    }
}



















/* Kontejner za ponudu */
.offer-container {
    max-width: 700px;
    margin: 40px auto;
    background: #081B35;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    text-align: center;
}

.offer-container:hover {
    transform: translateY(-5px);
}

/* Naslov */
.offer-container h1 {
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
}

/* Stilizacija formi */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
}

/* Kontejner za polja */
.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 90%;
    max-width: 600px;
}

/* Labela */
label {
    font-weight: bold;
    color: #80c0f0;
    font-size: 1rem;
    margin-bottom: 5px;
    width: 100%;
    text-align: left;
}

/* Input polja i select dropdown */
input, select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease-in-out;
    width: 100%;
    margin-bottom: 15px;
}

input:focus, select:focus {
    border-color: #80c0f0;
}

/* Dugme za slanje */
.ponuda {
    background: #80c0f0;
    color: #081B35;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    width: 90%;
    max-width: 600px;
}

/* Efekat na hover */
.ponuda:hover {
    background: #5aa8db;
    transform: scale(1.05);
}

/* Skriveni delovi forme */
.user-form {
    display: none;
}

/* Odvojeni sekcije */
h3 {
    margin-top: 20px;
    color: #80c0f0;
    font-size: 1.5rem;
    padding-bottom: 5px;
}

/* Responsivnost */
@media (max-width: 768px) {
    .offer-container {
        width: 90%;
        padding: 20px;
    }

    .offer-container h1 {
        font-size: 1.8rem;
    }

    .form-group {
        width: 100%;
    }

    label {
        width: 100%;
        margin-bottom: 5px;
    }

    input, select {
        width: 100%;
    }

    .ponuda {
        font-size: 1rem;
        width: 100%;
    }
}