* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
  text-align: center;
}

/* HEADER */
header {
  background: #0a2540;
  color: white;
  padding: 2rem 1rem;
}

.logo {
  max-width: 640px;
  width: 100%;
  height: auto;
}

/* STICKY MENU */
.main-nav {
  position: sticky;
  top: 0;
  background: #0a2540;
  z-index: 1000;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 15px;
  padding-bottom: 20px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.main-nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 80%;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.3s ease;
}

.main-nav ul li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.main-nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* HAMBURGER dugme */
.nav-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* MOBILNA VERZIJA */
@media (max-width: 768px) {
  .main-nav {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 1rem;
  }

  .nav-toggle {
    display: block;
    margin-bottom: 1rem;
  }

  #nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1rem;
  }

  #nav-links.show {
    display: flex;
  }

  #nav-links li {
    width: 100%;
    text-align: center;
  }

  #nav-links li a {
    display: block;
    width: 100%;
  }
}

/* CONTENT */
main {
    text-align: left;
  padding: 2rem 1rem;
  max-width: 800px;
  margin: auto;
  margin-top: 50px; /* razmak ispod sticky menija */
}

h1 {
  color: #0a2540;
  font-size: 2rem;
  margin-bottom: 1rem;
}
main h1 {
  text-align: center;
}

p {
  font-size: 1rem;
  line-height: 1.6;
}

.contact-box {
  margin-top: 2rem;
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-box h2 {
  color: #0a2540;
  margin-bottom: 1rem;
}

.contact-item {
  margin: 1rem 0;
  font-size: 1.05rem;
}
.service-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: justify;
}

.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.service-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.service-item h3 {
  font-size: 1.5rem;
  color: #0a2540;
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

.service-item h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 30%;
  background: linear-gradient(90deg, #ff7a00, #ffb347);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.service-item:hover h3::after {
  width: 80%;
}

.faq-wrapper {
  max-width: 1000px;
  margin: auto;
  padding: 3rem 1rem;
}

.faq-title {
  text-align: center;
  font-size: 2.2rem;
  color: #0a2540;
  margin-bottom: 2rem;
}

.faq-item {
  background: #f0f5ff; /* svetlo plava pozadina */
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #0a2540;
  font-weight: 600;
  padding-left: 3rem;
}

.faq-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-left: 3rem;
}

.faq-icon {
  position: absolute;
  left: 1.5rem;
  top: 1.7rem;
  font-size: 1.5rem;
  color: #0a2540;
  opacity: 0.8;
}

.privacy-wrapper {
  max-width: 900px;
  margin: auto;
  padding: 3rem 1rem;
}

.privacy-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #0a2540;
}

.privacy-section {
  background: #fdfdfd;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.terms-wrapper {
  max-width: 1000px;
  margin: auto;
  padding: 3rem 1rem;
}

.terms-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #0a2540;
}

.terms-section {
  background: #f9f9f9;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.cta-buttons a {
  background: #ff7a00;
  color: white;
  padding: 1rem 2rem;
  margin: 0.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cta-buttons a:hover {
  background-color: #d96b00;
}

.big-cta {
  background: #ff7a00;
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.big-cta:hover {
  background-color: #d96b00;
}

.carousel-footer-cta {
  text-align: center;
  margin-top: 2rem;
}

.carousel-footer-cta a {
  background: #ff7a00;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.carousel-footer-cta a:hover {
  background-color: #d96b00;
}

.gray-section {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 2rem;
}

.checklist {
  font-size: 1rem;
  color: #ccc;
  margin-top: -1rem;
}

.lista_offer ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.lista_offer ul li {
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lista_offer li::before {
  content: "✔ ";
  color: green;
  font-weight: bold;
}
.details {
  display: none;
  color: #555;
}

li.open .details {
  display: block;
  margin-top: 0.3rem;
}
.form-section {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 4rem;
}

form label {
  display: block;
  margin-top: 1rem;
}

form input, form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form button {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #0a2540;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  width: 100%;
  cursor: pointer;
}

form button:hover {
  background-color: #0d1a2b;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 1.8rem;
  }

  header p {
    font-size: 1rem;
  }

  .logo {
    max-width: 80%;
  }

  .cta-buttons a {
    padding: 1rem;
    font-size: 1rem;
    display: block;
    width: 80%;
    margin: 1rem auto;
    text-align: center;
  }

  .big-cta {
    display: block;
    font-size: 1rem;
    padding: 1rem;
    width: 80%;
    margin: 1.5rem auto 0 auto;
    text-align: center;
  }

  section {
    padding: 1.5rem;
  }
}

.special-offer-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #ff7a00;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.special-offer-btn:hover {
  background-color: #d96b00;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .special-offer-btn {
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
    width: 80%;
    margin: 1rem auto;
    display: block;
  }
}

.animated-text {
  font-size: 1rem;
  margin-top: 1rem;
  color: #333;
  height: 1.5rem;
}
.animated-text::after {
  content: '|';
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 3rem 1rem;
  max-width: 900px;
  margin: auto;
}
.flip-card {
  background-color: transparent;
  width: 100%;
  height: 280px;
  perspective: 1000px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s;
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  backface-visibility: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.flip-card-front { background: white; }
.flip-card-back {
  transform: rotateY(180deg);
  background: #0a2540;
  color: white;
  text-align: center;
  font-size: 0.95rem;
}
.flip-card-front img {
  width: 50px;
  margin-bottom: 1rem;
}

.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.popup-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  position: relative;
}
.popup-content h2 { color: #0a2540; margin-bottom: 1rem; }
.popup-content p { color: #444; margin-bottom: 1.5rem; }
.popup-content a {
  background: #ff7a00;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}
.popup-close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
}

  .accessibility-page {
    max-width: 900px;
    margin: auto;
    padding: 2rem 1rem;
  }
  .accessibility-block {
    background: #ffffff;
    border-left: 6px solid #0a2540;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  }
  .accessibility-block h1,
  .accessibility-block h2 {
    color: #0a2540;
    margin-bottom: 1rem;
  }
  .accessibility-block ul {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
  }
  .accessibility-block ul li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
    color: #333;
  }
  .accessibility-block p,
  .accessibility-block a {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
  }
  .accessibility-block a {
    color: #0a2540;
    text-decoration: underline;
  }

/* FOOTER */
footer {
  text-align: center;
  font-size: 0.85rem;
  padding: 2rem 1rem;
  color: #777;
}

footer a {
  color: #777;
  text-decoration: none;
  margin: 0 0.5rem;
}
    #cookie-banner {
      position: fixed;
      bottom: 0;
      width: 100%;
      background: #0a2540;
      color: white;
      padding: 1rem;
      text-align: center;
      z-index: 1000;
      display: none;
    }
    #cookie-banner button {
      margin-left: 1rem;
      padding: 0.5rem 1rem;
      background: #ff7a00;
      color: white;
      border: none;
      border-radius: 10px;
    }

.cookie-banner button:hover {
  background: #f1f1f1;
}

@media (min-width: 600px) {
  .cookie-banner {
    flex-direction: row;
    justify-content: center;
  }
}
