@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');


@font-face {
    font-family: 'Nexa Heavy';
    src: url('fonts/Nexa-Heavy.woff2') format('woff2'),
         url('fonts/Nexa-Heavy.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* da se tekst prikaže odmah i zamijeni font kad se učita */
}



/* Opšti stilovi */
body {
    margin: 0;
    font-family: 'Nexa Heavy', sans-serif;
    background-color: #ffffff;
}

/* Navigacija */
header {
    background-color: #3A0959;
    padding: 10px 0;
    text-align: center;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center; /* centriramo navigaciju na desktopu */
    position: relative;
    padding: 0 20px;
}

/* Logo – desktop prikaz: lijevo uz ivicu */
.logo {
    width: 80px;
    position: absolute;
    left: 0;
    top: 2px;
    transform: none;
}

/* Hamburger dugme – biće vidljivo samo na manjim ekranima */
.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

/* Responsive stilovi */
@media (max-width: 768px) {
    /* Hamburger dugme postaje vidljivo */
    .hamburger {
        display: block;
        z-index: 20;
    }

    /* Promijenimo layout da logo i hamburger budu u suprotnim krajevima */
    nav {
        justify-content: space-between;
        padding: 0 10px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #444;
        width: 100%;
        text-align: right;
        padding: 1rem;
        z-index: 15;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    /* Logo mobilno/tablet: u liniji s hamburgerom, lijevo */
    .logo {
        position: static;
        left: auto;
        top: auto;
        transform: none;
    }
}

.language-toggle {
  position: absolute;
  padding: 8px 12px;
  background-color: transparent;
  border: 2px solid #fff;
  color: white;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Desktop - ikonica na desnoj strani */
@media (min-width: 1025px) {
  .language-toggle {
    top: -10px;
    right: 20px;
  }
}

/* Tablet i telefon - ikonica na levoj strani */
@media (max-width: 1024px) {
  .language-toggle {
    top: 20px;
    left: 20px;
  }
}



/* POČETNA sekcija */
#section1 {
    position: relative;
    width: 100%;
    height: 100vh; /* Cela visina ekrana */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.video-wrapper {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  position: absolute;
  top: 0; left: 0;
}

/* Po defaultu prikazujemo desktop */
.desktop-video {
  display: block;
}

/* Tablet prikaz */
@media (max-width: 1024px) and (min-width: 768px) {
  .desktop-video { display: none; }
  .tablet-video { display: block; }
}

/* Mobilni prikaz */
@media (max-width: 767px) {
  .desktop-video, .tablet-video { display: none; }
  .mobile-video { display: block; }
}


/* Efekat zatamnjenja slike */
#section1:hover .main-image {
    filter: brightness(70%);
}

/* Overlay tekst preko slike */
.overlay {
    position: relative;
    z-index: 2;
}

.main-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.sub-title {
    font-size: 18px;
    font-weight: normal;
}

/* Klijenti (brojač) */
.clients-container {
    margin-top: 30px;
    text-align: center;
}

.clients {
    font-size: 40px;
    font-weight: bold;
    color: #F3CFF9;
    text-align: center;
}

.client-text {
    font-size: 20px;
    color: white;
}

/* EKSPERTI ZA sekcija */
#section2 {
    text-align: left;
    padding: 50px 20px;
}

.expertise {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
	position: relative;
}

.circle {
    width: 120px;
    height: 120px;
    background-color: #3A0959;
    color: white;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-align: center;
    overflow: hidden;
    padding: 10px;
    line-height: 1.1;
    
    box-sizing: border-box;
}


.extra-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #5A0F7A;
    color: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 10;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    line-height: 1.2;
    
    white-space: normal;
}


@media screen and (max-width: 1024px) {
    .expertise {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .circle,
    .extra-circle {
        width: 100px;
        height: 100px;
        font-size: 10px;
        padding: 8px;
    }
}

/* O NAMA sekcija */
#section3 {
    position: relative;
    background-color: #3b1d5e; /* Tamno ljubičasta pozadina */
    color: white;
    padding: 50px;
    overflow: hidden;
}

.o-nama-content {
    font-family: Poppins;
    max-width: 60%;
    border: 2px solid white;
    border-radius: 40px;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.o-nama-slika {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    opacity: 0.8;
    z-index: 1;
}

/* Početno stanje */
.bio-mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  .bio-desktop {
    display: none;
  }

  .bio-mobile {
    display: block;
  }

  #section3 {
    position: relative;
    padding-bottom: 350px; /* Rezervisan prostor za sliku */
  }

  .o-nama-content {
    max-width: 100%;
    z-index: 2;
  }

  .o-nama-slika {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 350px;
    opacity: 1;
    z-index: 1;
  }
}




/* Klijenti sekcija */
#klijenti {
    display: flex;
    flex-direction: column;
    
    background-color: #201233;
    color: white;
    padding: 50px;
    position: relative;
}

.klijenti-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

/* Karta BiH */
.mapa {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mapa img {
    width: 90%;
    max-width: 500px;
}

.grad {
    width: 20px;
    height: 20px;
    background-color: red;
    border-radius: 50%;
    position: absolute;
    opacity: 0;  /* Sakrij na početku */
    transform: scale(0.5);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

#banjaluka {
    top: 25%;
    left: 40%;
    transition: opacity 1s, transform 1s;
}

#sarajevo {
    top: 60%;
    left: 57%;
    transition: opacity 1s, transform 1s;
}

#tuzla {
    top: 30%;
    left: 67%;
    transition: opacity 1s, transform 1s;
}

#bijeljina {
    top: 21%;
    left: 75%;
    transition: opacity 1s, transform 1s;
}

#zvornik {
    top: 35%;
    left: 75%;
    transition: opacity 1s, transform 1s;
}


/* Stil za tekst iznad kružića */
.grad::after {
    content: attr(id);
    position: absolute;
    font-size: 14px;
    color: white;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}


/* Iskustva klijenata */
.klijenti-ispovesti {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    overflow: hidden;
}

.ispovest {
    display: flex;
    align-items: center;
    background: white;
    color: black;
    padding: 15px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    animation: slideIn 0.8s forwards;

}
.ispovest {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ispovest-tekst-blok {
  display: flex;
  flex-direction: column;
}

.ispovjest-ime {
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  margin: 0;
  color: #555;
}




/* Animacija kašnjenja između svake poruke */
.ispovest:nth-child(1) { animation-delay: 0.5s; }
.ispovest:nth-child(2) { animation-delay: 1s; }
.ispovest:nth-child(3) { animation-delay: 1.5s; }
.ispovest:nth-child(4) { animation-delay: 2s; }

@keyframes slideIn {
    from{
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Klijent slike */
.klijent-slika {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}
/* Prilagođavanje za mobilne telefone i tablete */
@media screen and (max-width: 1024px) {
  .klijenti-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .mapa {
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
  }

  .mapa img {
    width: 90%;
    max-width: 400px;
  }

  .klijenti-ispovesti {
    width: 100%;
    align-items: center;
  }

  .ispovest {
    width: 90%;
    max-width: 90%;
    font-size: 15px;
  }
}

/* REZULTATI sekcija - stilizacija */
.rezultati-section {
    background-color: #3E0951;
    color: white;
    padding: 50px;
    position: relative;
    text-align: left;
}
.rezultati-wrapper {
    display: flex;
    align-items: flex-start;
}
.rezultativeliki {
    width: 250px; /* Duplo manje */
    margin-right: 30px;
}
/* Glavni kontejner */
.circles-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Glavni krug ORGANSKI REACH */
.organski-reach-circle {
    width: 120px;
    height: 120px;
    border: 2px solid white;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    position: relative;
    cursor: pointer;
}

/* Linija od ORGANSKI REACH do KONVERZIJA */
#line-to-konverzija {
    position: absolute;
    height: 2px;
    background-color: white;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    width: 0; /* Početno stanje */
    transition: width 0.5s ease-in-out;
}

/* Krug KONVERZIJA */
#konverzija {
    width: 120px;
    height: 120px;
    border: 2px solid white;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    position: absolute;
    left: 275px; /* Pozicioniranje desno */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Linija od KONVERZIJA do PRODAJA */
#line-to-prodaja {
    position: absolute;
    height: 2px;
    background-color: white;
    top: 50%;
    left:400px; /* Početak kod KONVERZIJA */
    transform: translateY(-50%);
    width: 0; /* Početno stanje */
    transition: width 0.5s ease-in-out 0.3s; /* Pauza da prvo ide prva linija */
}

/* Krug PRODAJA */
#prodaja {
    width: 120px;
    height: 120px;
    border: 2px solid white;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    position: absolute;
    left: 550px; /* Pozicioniranje još desno */
    opacity: 0;
    transition: opacity 0.5s ease-in-out 0.3s;
}

/* Kada se hoveruje na ORGANSKI REACH, animira se prva linija */
.organski-reach-circle:hover ~ #line-to-konverzija {
    width: 150px; /* Linija se produžava do KONVERZIJA */
}

/* Kada se linija pojavi, prikazuje se KONVERZIJA */
.organski-reach-circle:hover ~ #konverzija {
    opacity: 1;
}

/* Kada je KONVERZIJA vidljiva, pojavljuje se linija do PRODAJA */
.organski-reach-circle:hover ~ #line-to-prodaja {
    width: 150px;
}

/* Kada se linija do PRODAJA pojavi, prikazuje se PRODAJA */
.organski-reach-circle:hover ~ #prodaja {
    opacity: 1;
}





.rezultati-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 150px;
	margin-left: -100px;
}
.rezultat-item {
    width: 100px;
    transition: transform 0.3s;
}
.rezultat-item:hover {
    transform: scale(1.3);
}

@media screen and (max-width: 1024px) {
  .rezultati-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .rezultativeliki {
    margin: 20px 0;
  }

  .circles-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 30px;
    gap: 10px;
    position: relative;
  }

  .organski-reach-circle,
  #konverzija,
  #prodaja {
    width: 80px;
    height: 80px;
    font-size: 10px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    position: static;
    transition: none;
  }

  

  .rezultati-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 0;
    margin-top: 50px;
  }

  .rezultat-item {
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
  }
 
     .organski-reach-circle,
#konverzija,
#prodaja {
    width: 80px;
    height: auto;
    aspect-ratio: 1 / 1;
    font-size: 10px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    position: static;
    transition: none;
    padding: 0;
    box-sizing: border-box;
}


  .organski-reach-circle:hover ~ #line-to-konverzija,
  .organski-reach-circle:hover ~ #konverzija,
  .organski-reach-circle:hover ~ #line-to-prodaja,
  .organski-reach-circle:hover ~ #prodaja {
    opacity: 1 !important;
    width: auto !important;
  }
}






/* PNG slika koja iskače */
.promo-image {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px; /* Prilagodi veličinu po potrebi */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(50px); /* Početni položaj ispod ekrana */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}


/* RESPONSIVE DIZAJN */
@media (max-width: 768px) {
    /* Navigacija prilagođena mobilnim */
    nav {
        flex-direction: column;
    }
    
    .logo {
        position: static;
        margin-bottom: 10px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    /* POČETNA sekcija prilagođena mobilnim */
    .overlay {
        padding: 0 20px;
    }

    .main-title {
        font-size: 28px;
    }

    .sub-title {
        font-size: 16px;
    }

    .clients {
        font-size: 30px;
    }

    /* EKSPERTI ZA sekcija */
    .expertise {
        flex-direction: column;
        align-items: center;
    }

    .circle {
        margin: 10px 0;
        width: 100px;
        height: 100px;
    }
}
.extra-circle {
    width: 120px;
    height: 120px;
    background-color: #5A0F7A; /* Boja za nove kružiće */
    color: white;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-align: center;
    position: absolute;
}


/* Pozicioniranje novih kružića */
.extra-circle:nth-child(2) { /* Facebook */
    left: +50px;
}

.extra-circle:nth-child(3) { /* TikTok */
    right: -50px;
}
.extra-circle {
    font-size: 12px; /* Smanjeni font za dodatne kružiće */
}

.circle[data-original-text="GRAFIČKI DIZAJN"],
.circle[data-original-text="OGLAŠAVANJE"] {
    font-size: 14px; /* Smanjeni font za glavni kružić "OGLAŠAVANJE" */
}
/* KONTAKT sekcija */
#contact {
    background: linear-gradient(to bottom, #260330, #530869);
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Dodato za pozicioniranje slike */
    
}

/* Kontejner koji sadrži formu */
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

/* Stilizacija kontakt forme */
.contact-form {
    width: 100%;
    max-width: 500px;
}

/* Naslov kontakt forme */
#contact h2 {
    color: #BE3AEF;
    font-size: 28px;
    margin-bottom: 20px;
}

/* Forma */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

label {
    color: white;
    font-weight: bold;
}

input, textarea {
    width: 80%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #3A0959;
    border-radius: 5px;
    font-size: 16px;
}

button {
    background-color: #9B33CC;
    font-family: 'Nexa Heavy', sans-serif;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #C14DF7;
}

/* Društvene mreže */
.social-icons {
    margin-top: 20px;
}

.social-icons a {
    margin: 0 10px;
    display: inline-block;
}

.social-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.1);
}

/* Stilizacija slike */
.contact-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%; /* Prilagođavanje veličine slike */
    max-width: 320px; /* Ograničenje veličine */
    border-radius: 10px;
}
/* Mobilna i tablet optimizacija */
@media (max-width: 1024px) {
    #contact .contact-image {
        display: none;
    }

    #contact .contact-form,
    #contact .social-icons {
        position: relative;
        z-index: 2; /* Da budu iznad svega unutar kontakta */
    }

    #contact input,
    #contact textarea,
    #contact button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    #contact form {
        width: 100%;
        padding: 0 10px;
    }

    #contact .contact-container {
        padding: 20px;
    }
}
.site-footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  width: 120px;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 14px;
  color: #ccc;
}

.footer-nav h4,
.footer-contact h4 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #fff;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a,
.footer-contact a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-social a img {
  width: 24px;
  margin-right: 10px;
  transition: transform 0.3s;
}

.footer-social a:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  color: #888;
  border-top: 1px solid #333;
  margin-top: 30px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav ul,
  .footer-contact {
    padding: 0;
  }

  .footer-social {
    justify-content: center;
  }
}
