@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, #dfe9f3, #f7faff);
  background-attachment: fixed;
  color: #1e1e1e;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.03);
}

.text-box,
.form,
.reviews,
.services,
.why-item {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  background: #fff;
}

header {
  background: rgba(0, 34, 68, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

/* Logo + 3D */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  height: auto;
  line-height: 1;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
}

.logo span {
  font-size: 1rem;
  color: #fff;
  font-weight: bold;
  line-height: 1;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  position: relative;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 6px 10px;
  transition: all 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #ffd500;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

nav a:hover::after {
  transform: scaleX(1);
}

nav a:hover {
  color: #ffd500;
  transform: translateY(-2px);
}


.impressum-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  background-color: #ffffff;
  padding: 60px 20px;
}

.impressum-box {
  font-family: 'Lato', sans-serif;
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.impressum-box h1 {
  font-size: 2.5em;
  margin-bottom: 25px;
  color: #222;
}

.impressum-box p {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 14px;
}

.impressum-box a {
  color: #007BFF;
  text-decoration: none;
}
.impressum-box a:hover {
  text-decoration: underline;
}


footer {
  background: #002244;
  color: #fff;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

.footer-left {
  display: flex;
  gap: 20px;
}

.footer-left a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-left a:hover {
  text-decoration: underline;
}

footer p {
  flex: 1;
  text-align: center;
  font-size: 14px;
  margin: 10px 0;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* bijele ikone */
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}
/* Mobilni meni dugme */
.mobile-menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #fff;
}

/* Sidebar meni */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  right: -100%;
  width: 80%;
  max-width: 280px;
  height: 35%;
  background: #002244;
  color: #fff;
  padding: 40px 20px;
  transition: right 0.3s ease;
  z-index: 999;
  box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  transition: right 0.3s ease, border-radius 0.3s ease;
  flex-direction: column;
  align-items: center;   /* horizontalno centriranje */
  justify-content: center; /* vertikalno centriranje ako želiš */
  text-align: center; /* centriraj tekst */
}

.mobile-menu.open {
  display: block;
  right: 0;
}

.mobile-menu .close-btn {
  font-size: 30px;
  position: absolute;
  top: 4px;
  right: 15px;
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 60px;
}

.mobile-menu ul li {
  margin: 20px 0;
}

.mobile-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}
.mobile-menu a {
  position: relative;
}

.mobile-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #ffd500;
  transition: width 0.3s ease;
}

.mobile-menu a:hover::after {
  width: 60%;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 6px;
    right: 25px;
    z-index: 1000;
  }

  .logo {
    margin-right: auto;
  }
}


/* ========== RESPONSIVE ZA TABLETE (do 1024px) ========== */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
  }

  .hero-text, .hero-img {
    width: 100%;
    padding: 10px 0;
  }

  .info {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 40px 20px;
  }

  .text-box, .form {
    max-width: 90%;
  }

  .why-list {
    flex-direction: column;
    align-items: center;
  }

  .review-list {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    gap: 15px;
  }
}

/* ========== MOBILNI (do 768px) – dodatna podešavanja ========== */
@media (max-width: 768px) {
  .text-box h2, .form h2,
  .why-us h3, .reviews h3, .services h3 {
    font-size: 22px;
  }

  .cta-btn {
    padding: 10px 16px;
    font-size: 16px;
  }

  footer {
    font-size: 14px;
    padding: 15px;
  }
}

@media (max-width: 1024px) {
  .text-box, .form {
    width: 90%;
    max-width: 600px;
  }
}