body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
   
   
}
header {
    background-image: url("baner.jpg");
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-size: cover;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3); /* Senka ispod zaglavlja */
}

header .logo img {
    max-height: 50px;
}
.main-content{
    background: linear-gradient(45deg,#eeeff0, #bdc0c4);
    
}
.main-content h1{
    color: #001b44;
    font-weight: bold;
}
.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: none; /* Prikazuje se samo na manjim ekranima */
}

nav {
    display: none;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.sidebar, .main-content {
    padding: 15px;
    background-color: #f1f1f1;
    
}

.sidebar h2, .main-content h2 {
    font-size: 120%;
    margin-bottom: 10px;
   
}

.sidebar ul {
    list-style: none;
    padding: 0;
    
}

.sidebar ul li{
    margin: 10px 0;
   
}

.sidebar ul li a{
    text-decoration: none;
    color: white;
}
article h2 
{
    color: #001b44;
}

footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    position: relative;
    bottom: 0;
    width: 100%;
    opacity: 0.98;
    justify-content: space-between;
}

/* BOČNI MENI ZA TELEFONE */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px; /* Sakriveno izvan ekrana */
    width: 250px;
    height: 100%;
    background-color: #003366;
    color: #fff;
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.close-sidebar {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}


/* RESPONSIVE PRILAGODBA TELEFON*/
@media (max-width: 768px) 
{
  
    #bg-video {
        display: none; /* Video neće biti prikazan na mobilnim uređajima */
      }
    body{
        background-image: url("pozadinatel.jpg");
        background-size: cover;
    }
    .menu-toggle 
    {
        display: block;

    }
   nav {
        display: none; /* Sakrivamo navigaciju na telefonima */
    }
    header{
        margin-bottom: 3%;
    }
    .container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }
    .main-content{
        width: 85%;
        margin: auto;
        border: 1px solid rgb(188, 185, 185);
        border-radius: 7px;
    }
    .sidebar h2 {
        font-size: 120%;
        margin-bottom: 10px;
        border-bottom:3px solid #f1f1f1;
    }
    .sidebar
    {
        border-right: 1px solid rgb(142, 170, 239);
        width: 52%;
        opacity: 0.99;
        background: linear-gradient(-45deg,#02BAF8, #010A4F);
    }
    .sidebar ul li:nth-child(4)::after {
        content: "";
        display: block;
        width: 85%; /* Širina linije */
        height: 3px; /* Debljina linije */
        background-color: white; /* Boja linije */
        margin-top: 10px; /* Razmak ispod teksta */
        margin-bottom: 10px;
    }
    .right-sidebar
    {
        width: 92%;
        margin-left: 4%;
    }
    .right-sidebar img:active {
        transform: scale(1.03);
      }
    .slajd
    {
        margin-left: 1%;
    }
    footer{
        font-size: 70%;
        opacity: 0.97;
        margin-top: 30px;
    }
    
    .footer-right img {
        display: none; /* Sakrij slike na ekranima manjim od 768px */
    }
    /*KONTAKT*/
    .kontakt1 {
        font-size: 23px; /* Podesi veličinu po želji */
    }
    
    h2.kontakt{
        font-size: 15px;
    }
   
}
/* ZA DESKTOP 1920x1080 I VECI */
@media screen and (min-width: 1900px) 
{
    .slideshow-container {
        position: relative;
        max-width: 400px !important;
        margin-left: 4% !important;
        width: 90%;
        overflow: hidden;
        cursor: pointer;
        border-radius: 10px;
    }
    .right-sidebar img 
    {
    width: 90% !important;
    height: 260px !important;
    margin-left: 6%;
    margin-bottom: 5%;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    }
    
}
/* ZA DESKTOP MANJI OD 1920 */
@media (min-width: 768px) 
{
    nav {
        display: block; /* Navigacija vidljiva na desktopu */
    }

    .menu-toggle {
        display: none; /* Dugme za meni sakriveno na desktopu */
    }
    .main-content{
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    }
    .container {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr; /* Sidebar, Main Content, Right Sidebar */
        gap: 20px;
        padding: 20px;
        
    }
    .sidebar ul li a{
        text-decoration: none;
        color: rgb(20, 48, 140);
    }
    .sidebar ul li a[href="redvoznje.html"],
    .sidebar ul li a[href="agencija.html"],
    .sidebar ul li a[href="kontakt.html"] {
        display: none;
    }
    .sidebar {
        position: static;
        width: 90%;
        height: 25%;
        background-color: #f1f1f1;
        color: #333;
        padding: 15px;
        transition: none;
       border-radius: 5%;
       margin-bottom: 10%;
       box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    }

    .main-content {
        font-size: 1rem; /* Proporcionalna veličina teksta */
        border-radius: 2%;
    }


    .nav-button {
        width: 64%; /* Na telefonima dugme zauzima 80% širine ekrana */
        height: auto;
        font-size: 1rem; /* Smanjujemo tekst na manjim ekranima */
      }
    .logo{
        margin-left: 2.5%;
        
    }
    .logo img{
        width: 110%;
    }
    .video-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%; /* Uveravamo se da div sa video pozadinom prekriva ceo ekran */
        overflow: hidden;
        z-index: -1; /* Postavljamo video ispod sadržaja */
      }
      #bg-video {
        position: fixed; /* Fiksirajte video u pozadini */
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; /* Postavite visinu videa na visinu ekrana */
        object-fit: cover; /* Video će se prilagoditi bez deformacija */
        z-index: -1; /* Postavite video ispod sadržaja */
      }
      footer{
        align-items: flex-start;
      }
      
      footer {
        background-color: #003366;
        color: white;
        font-size: 14px;
        padding: 10px 0;
        opacity: 0.98;
        display: flex;
        justify-content: space-between;
        width: 100%;
        
    }
    
    .footer-left {
        text-align: left;
        margin-left: 25%;
    }
    
    .footer-right {
        text-align: right;
        margin-right: 25%;
    }
    .sidebar {
        width: 78%; /* Veličina ostala kao u tvom kodu */
        height: 330px;
        background: linear-gradient(-45deg,#02BAF8, #010A4F);
        color: white;
        padding: 20px;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        border-radius: 10px; /* Zadržan border-radius */
        margin-left: 5%;
    }

    .sidebar h2 {
        text-align: center;
        font-size: 20px;
        margin-bottom: 15px;
        
    }

    .sidebar ul {
        list-style: none;
        padding: 0;
    }

    .sidebar ul li {
        margin: 0;
        padding: 0;
       
    }

    .sidebar ul li:last-child {
        border-bottom: none; /* Uklanja liniju ispod poslednje stavke */
    }

    .sidebar ul li a {
        text-decoration: none;
        color: white;
        font-size: 16px;
        display: flex;
        align-items: center;
        padding: 12px 20px;
        border-radius: 5px;
        transition: background 0.2s;
        transition: transform 0.3s ease-in-out;
    }
    .sidebar ul li a:hover, .active {
        background: #3c78b5;
        transform: translateX(5px); /* Pomak teksta udesno */
    }

    .sidebar ul li a i {
        margin-right: 10px;
    }

    .content {
        flex: 1;
        padding: 20px;
    }
    
}
/*BUTTON U NAVIGACIJI*/
.nav-button {
    margin-left: -40%;
    background: linear-gradient(45deg, #1776b5, #002766); /* Plava boja pozadine */
    color: #ffffff; /* Bela boja teksta */
    text-decoration: none; /* Uklanja podvlačenje teksta */
    border-radius: 8px; /* Zaobljeni uglovi */
    padding: 10px 20px; /* Unutrašnji razmak */
    font-size: 16px; /* Veličina teksta */
    display: inline-block; /* Omogućava dimenzionisanje kao dugme */
    margin-right: 7px; /* Razmak između dugmadi */
    cursor: pointer; /* Kursor "ruka" pri prelasku mišem */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Animacija */
    text-align: center;
    
  }
  
  
  /* Hover efekat */
  .nav-button:hover {
    background: linear-gradient(90deg, #1a82d2, #001b44); /* Svetloplava boja na hover */
    transform: scale(1.05); /* Blago povećanje */
  }
  
  /* Fokus efekat */
  .nav-button:focus {
    outline: 2px solid #87CEFA; /* Svetloplavi okvir kod fokusa */
    outline-offset: 2px;
  }


/*BUTTON ZA TRANSLATE*/
  .translate-btn {
    background: linear-gradient(45deg, #1776b5, #002766);
    transition: background-color 0.3s ease, transform 0.2s ease;
    color: white; /* Belo slovo */
    font-size: 15px; /* Manja veličina fonta */
    padding: 8px 14px; /* Manji padding */
    border: none; /* Bez ivice */
    border-radius: 5px; /* Zaobljeni uglovi */
    cursor: pointer; /* Kursorski pokazivač kada prelazite preko dugmeta */
    position: fixed; /* Fiksirana pozicija */
    bottom: 35px; /* Udaljenost od donje ivice */
    right: 20px; /* Udaljenost od desne ivice */
    z-index: 1000; /* Osigurava da dugme bude iznad drugih elemenata */
    height: 40px;
    width: 100px;
  }
  .translate-btn:hover {
    background: linear-gradient(90deg, #1a82d2, #001b44); /* Svetloplava boja na hover */
    transform: scale(1.05); /* Blago povećanje */
  }
  
  /* Fokus efekat */
  .translate-btn:focus {
    outline: 2px solid #87CEFA; /* Svetloplavi okvir kod fokusa */
    outline-offset: 2px;
  }
  
  /* Stilizovanje Google Translate widgeta */
  #google_translate_element {
    display: inline-block;
    font-family: Arial, sans-serif;
    background-color: #f1f1f1;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 200px;
    position: fixed;
    bottom: 80px; /* Postavlja translate widget iznad dugmeta */
    right: 20px;
    z-index: 999;
  }
  
  /* Stilizovanje padajućeg menija unutar Google Translate widgeta */
  .goog-te-combo {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    color: #333;
    font-size: 14px;
  }
  
  /* Sakrij dugme za prevođenje unutar Google Translate widgeta */
  .goog-te-button {
    display: none !important;
  }

.right-sidebar img 
{
    width: 100%;
    height: 230px;
    margin-bottom: 5%;
    border-radius: 5px;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}
.right-sidebar img:hover {
    transform: scale(1.03); /* Uvećanje slike za 10% */
  }
.slideshow-container {
    position: relative;
    max-width: 350px;
    margin-left: 5%;
    width: 90%;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
}
.slide {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.active {
    display: block;
    opacity: 1;
}
.slideshow-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.fullscreen img {
    max-width: 90%;
    max-height: 90%;
}
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    display: none;
    font-size: 15px;
}
.fullscreen .prev, .fullscreen .next {
    display: block;
}
.prev { left: 10%; }
.next { right: 10%; }




/*KONTAKT*/
.kontakt {
    color: rgb(0, 0, 0);
}
.kontakt a{
    color:rgb(12, 28, 118); 
}
