/* ============================================================
   🌐 Globalni stilovi za cijelu stranicu
============================================================ */
html {
    font-size: 16px; /* baza za rem jedinice */
}

body, html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background: linear-gradient(to right, rgb(93, 209, 248) 15%, white 40%, white 60%, lightgreen 90%);
    font-family: 'Poppins', sans-serif;
}

/* 🎯 Održavanje Font Awesome ikona (verzija 5.15.4) */
.fas {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.far {
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
}

.fab {
  font-family: "Font Awesome 5 Brands";
  font-weight: 400;
}

/* ============================================================
   🏠 Header i Navigacija
============================================================ */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 204, 255, 0.8);
    padding: 10px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo img {
    max-height: 70px;
    width: auto;
    display: block;
    margin: 0;
}

.nav-items {
    flex: 1;
}

.nav-items ul {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.nav-items ul li {
    margin: 0 10px;
}

.nav-items ul li a {
    color: #073f51;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-items ul li a.active {
    color: #003459;
    font-weight: 700;
}

.nav-items ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.03);
}

.request-demo-button {
    margin-left: auto;
    padding-left: 1.25rem;     /* 20px */
    display: flex;
    align-items: center;
}

.request-demo-button a {
    background-color: #0077a3;
    color: white;
    padding: 0.625rem 1.125rem;    /* 10px 18px */
    text-decoration: none;
    border-radius: 0.375rem;       /* 6px */
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.request-demo-button a:hover {
    background-color: #005f80;
    transform: scale(1.05);
}


/* ============================================================
   📄 Glavni sadržaj
============================================================ */
main {
    padding-top: 80px;
}

/* ============================================================
   🧩 Sekcije i Segmenti
============================================================ */
.segment {
    padding: 3.75rem 1.25rem;       /* 60px 20px */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80vw;
    margin: 10vh auto;
    background: rgba(255, 255, 255, 0.61);
    border-radius: 1rem;            /* 16px */
    box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,0.2);  /* 10px 20px */
    opacity: 0;
    transform: translateY(3.125rem); /* 50px */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.segment.in-view {
    opacity: 1;
    transform: translateY(0);
}

.segment-header {
    text-align: center;
    margin-bottom: 2.5rem;         /* 40px */
    font-size: 1.5rem;             /* 24px */
    color: #333;
}

.segment-content {
    display: flex;
    justify-content: space-between;
    align-items: center; /* <-- pozicionira sliku u sredini  */
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
}

/* ============================================================
   🎨 Slika + opis ispod
============================================================ */
.image {
    flex: 1;
    text-align: center;
}

.image img {
    max-width: 100%;
    max-height: 300px;
    height: auto;

}

.image-description {
    font-size: 14px;
    color: #333;
    margin-top: 15px;
    line-height: 1.6;
    text-align: left;
    padding: 0 10px;
    max-width: 90%;
}

/* ============================================================
   ✅ Tekst (bullet lista)
============================================================ */
.text {
    flex: 1;
    padding: 10px;
    text-align: left;
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-list li {
    background: linear-gradient(100deg, #50c9c3 0%, #96deda 100%);
    padding: 0.75rem 1.25rem;           /* 12px 20px */
    margin: 0.625rem 0;                 /* 10px 0 */
    border-radius: 0.625rem;            /* 10px */
    box-shadow: 0.125rem 0.125rem 0.375rem rgba(0,0,0,0.1);  /* 2px 2px 6px */
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.625rem;                      /* 10px */
    cursor: pointer;
}

.highlight-list li:hover {
    background: linear-gradient(100deg, #81ecec 0%, #b9fbc0 100%);
    transform: scale(1.02);
}

/* ============================================================
   🔷 Ikone u bulletima (ako ih koristiš)
============================================================ */
.new-icons i {
    color: #f7fafa;
    font-size: 18px;
    flex-shrink: 0;
}

/* ============================================================
   📱 Responzivno ponašanje
============================================================ */


    .image,
    .text {
        max-width: 100%;
    }

    .image-description {
        text-align: center;
    }




/* ============================================================
   💡 Ikonirane liste (moderni dizajn)
============================================================ */
.highlight-list.new-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.highlight-list.new-icons li {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: white;
    background: linear-gradient(to right, #88c8f4, #99e2b4);
    padding: 12px 20px;
    margin: 10px 0;
    border-radius: 10px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    transition: transform 0.3s, background 0.3s;
    cursor: pointer;
}

.highlight-list.new-icons li:nth-child(even) {
    background: linear-gradient(to right, #99e2b4, #88c8f4);
}

.highlight-list.new-icons li:hover {
    transform: scale(1.03);
}

.highlight-list.new-icons li i {
    margin-right: 12px;
    font-size: 20px;
    flex-shrink: 0;
}

/* ============================================================
   📌 Standardne liste
============================================================ */
.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bullet-list li {
    margin: 10px 0;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.bullet-list li:hover {
    background-color: #eee;
}

.bullet-list li img {
    max-width: 80%;
    border-radius: 8px;
    margin-right: 10px;
}

.highlight-list li {
    background: linear-gradient(100deg, #50c9c3 0%, #96deda 100%);
    padding: 12px 20px;
    margin: 10px 0;
    border-radius: 10px;
    box-shadow: 2px 2px 6px rgba(255, 46, 46, 0.1);
    font-weight: 500;
    transition: background-color 0.6s ease;
    cursor: pointer;
    text-align: left;
}

.highlight-list li:hover {
    background: linear-gradient(100deg, #81ecec 0%, #b9fbc0 100%);
    transform: scale(1.02);
}
/* ============================================================
   📝 Moderni opis ispod slike (About sekcija - modern-description)
============================================================ */
.modern-description {
  margin-top: 20px;
  padding: 16px 20px;
  border-left: 4px solid #00a8e8;
  background: transparent;
  backdrop-filter: blur(5px);
  font-size: 15.5px;
  font-weight: 500;
  color: #2c3e50;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  line-height: 1.6;
  text-align: left;
  transition: all 0.3s ease;
}



/* ============================================================
   🤝 Partneri i Korisnici
============================================================ */
.partners-container, .users-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.partner-card, .user-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    text-align: center;
    padding: 15px;
    transition: transform 0.3s;
    cursor: pointer;
    flex: 1 1 150px;
    max-width: 150px;
}

.partner-card:hover, .user-card:hover {
    transform: scale(1.15);
}

.partner-card img, .user-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 5px;
    margin-bottom: 10px;
}

.partner-name, .user-name {
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

@media (max-width: 600px) {
    .partner-card, .user-card {
        flex: 1 1 100px;
        max-width: 100px;
    }

    .partner-card img, .user-card img {
        width: 80px;
    }
}

/* ============================================================
   📝 Kontakt Forma
============================================================ */
.contact-form {
    margin-top: 1.25rem;                /* 20px */
    padding: 1.875rem;                  /* 30px */
    border: 1px solid #ccc;
    background-color: #ffffff;
    border-radius: 0.625rem;            /* 10px */
    box-shadow: 0 0 0.9375rem rgba(0,0,0,0.05); /* 15px */
    max-width: 37.5rem;                 /* 600px */
    margin-left: auto;
    margin-right: auto;
}

.contact-form h3 {
    margin-bottom: 0.9375rem;           /* 15px */
    color: #0077a3;
}

.contact-form label {
    display: block;
    margin-bottom: 0.3125rem;           /* 5px */
    text-align: left;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;                   /* 12px */
    margin-bottom: 0.9375rem;           /* 15px */
    border: 1px solid #ccc;
    border-radius: 0.375rem;            /* 6px */
}

.contact-form button {
    background-color: #0077a3;
    color: white;
    padding: 0.75rem 1.25rem;           /* 12px 20px */
    border: none;
    border-radius: 0.375rem;            /* 6px */
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
}

.contact-form button:hover {
    background-color: #005f80;
}


/* ============================================================
   🌍 Footer
============================================================ */
.custom-footer {
    background: linear-gradient(to right, lightgreen 15%, white 40%, white 60%, rgb(93, 209, 248) 90%);
    padding: 50px 20px 30px;
    color: #333;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.footer-column h4 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #007b5e;
}

.social-column .social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-column .social-icons a img {
    width: 24px;
    height: 24px;
    filter: grayscale(100%) brightness(0.5);
    transition: filter 0.3s, transform 0.3s;
}

.social-column .social-icons a:hover img {
    filter: none;
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
}

.footer-bottom a {
    color: #333;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}


/* ============================================================
   🧭 Gumbi u top desnom kutu: Demo + Jezični gumb (EN/HR)
============================================================ */
.top-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 20px;
    position: relative;
    right: 10px;
}

.demo-btn {
    background-color: #0077a3;
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.demo-btn:hover {
    background-color: #005f80;
    transform: scale(1.05);
}

#lang-switcher {
    padding: 8px 14px;
    background-color: #ffffff;
    border: 2px solid #0077a3;
    border-radius: 6px;
    color: #0077a3;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#lang-switcher:hover {
    background-color: #0077a3;
    color: white;
}

/* ============================================================
   📱 Responzivno ponašanje za male ekrane (max-width: 768px)
============================================================ */
@media (max-width: 768px) {

  /* Sekcije */
  .segment-content {
    flex-direction: column;
    align-items: center;
  }

  .image,
  .text {
    max-width: 100%;
  }

  .image-description {
    text-align: center;
  }

  /* Top buttons (Request Demo + Language Switcher) */
  .top-buttons {
    display: none;
  }

  /* Navigacija */
  .nav-items {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 204, 255, 0.95);
    flex-direction: column;
    display: none;
    z-index: 999;
  }

  .nav-items.active {
    display: flex;
  }

  .nav-items ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .nav-items ul li {
    margin: 10px 0;
  }
}


/* ============================================================
   🍔 Hamburger meni za mobilne uređaje
============================================================ */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    background-color: transparent;
    border: none;
    padding: 10px;
    z-index: 1001;
}

/* Prikazuje se samo na manjim ekranima */
@media (max-width: 768px) {

  .hamburger {
    display: block;
    position: absolute;
    top: 18px;
    right: 40px;
    font-size: 28px;
    cursor: pointer;
    color: white;
    background-color: transparent;
    border: none;
    padding: 10px;
    z-index: 1001;
  }

  .top-buttons {
    display: none;
  }

  .nav-items {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 204, 255, 0.95);
    flex-direction: column;
    display: none;
    z-index: 999;
  }

  .nav-items.active {
    display: flex;
  }

  .nav-items ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
    display: flex; /* <- OVO NEDOSTAJE AKO NIJE DODANO */
    padding: 0;
    margin: 0;
  }

  .nav-items ul li {
    margin: 10px 0;
  }
}

