
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f7f8fa;
  padding-top: 100px; /* offset zbog fixed header-a */
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Zalando Sans Expanded', sans-serif;
}

/*header*/
header {
  background-color: #e3e3e3;
  color: #00264d;
  padding: 15px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: #02315f;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 25px;
}

nav a {
  color: #003366;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: #ffcc00;
  font-weight: 600;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #00264d, #004080);
  color: #fff;
  text-align: center;
  padding: 120px 20px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #ffcc00;
  color: #003366;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s;
}

.btn:hover {
  background: #ffd633;
  transform: translateY(-2px);
}


section {
  scroll-margin-top: 100px;
}

/* Services */
.services {
  padding: 80px 0;
  background: #fff;
  text-align: center;
}

.services h2 {
  color: #003366;
  margin-bottom: 50px;
  font-size: 2rem;
  position: relative;
}

.services h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ffcc00;
  margin: 15px auto 0;
  border-radius: 2px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-items: center;
  margin-top: 20px;
}

.service-item {
  background: #f0f8ff;
  padding: 25px 20px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 320px;
  width: 100%;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-item h3 {
  color: #003366;
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.service-item p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* About */
.about {
  padding: 80px 20px 150px 20px;
  text-align: center;
}

.about h2 {
  color: #003366;
  margin-bottom: 25px;
  font-size: 2rem;
}

.about p {
  max-width: 700px;
  margin: auto;
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
}

/* Prices */
.prices {
  background: #fff;
  padding: 60px 0;
}

.prices h2 {
  text-align: center;
  color: #003366;
  margin-bottom: 20px;
  font-size: 2rem;
}

.prices h2::after{
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ffcc00;
  margin: 15px auto 0;
  border-radius: 2px;
}

.prices .intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
  font-size: 1rem;
  color: #555;
}

.price-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.price-list li {
  background: #f0f8ff;
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.price-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.price-list strong {
  display: block;
  color: #003366;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.price-list p {
  color: #444;
  margin-left: 10px;
  line-height: 1.5;
}

.price-list .price {
  color: #003366;
  font-weight: 700;
}

/* References */
.references {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.references h2 {
  color: #003366;
  margin-bottom: 25px;
  font-size: 2rem;
  position: relative;
}

.references h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ffcc00;
  margin: 15px auto 0;
  border-radius: 2px;
}

.references p {
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

.client-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  font-weight: 500;
  color: #003366;
}

.client-list li {
  background: #f0f8ff;
  border-radius: 8px;
  padding: 10px 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.references .disclaimer {
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
}

/* kontakt */
.contact {
  background-color: #e6eef5;
  padding: 80px 20px;
  text-align: center;
}

.contact h2::after{
content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ffcc00;
  margin: 15px auto 0;
  border-radius: 2px;
}
.contact h2 {
  color: #003366;
  margin-bottom: 30px;
  font-size: 2rem;
}

.contact ul {
  list-style: none;
  margin-bottom: 40px;
  padding: 0;
}

.contact li {
  margin: 12px 0;
  font-size: 1rem;
  color: #333;
}

.contact a {
  color: #003366;
  text-decoration: none;
  font-weight: 500;
}

.contact a:hover {
  text-decoration: underline;
}

.contact i {
  color: #003366;
  margin-right: 8px;
  font-size: 1.1rem;
}

/* futer */
footer {
  background-color: #003366;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .btn {
    padding: 10px 25px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .client-list {
    gap: 10px;
  }

  .client-list li {
    padding: 8px 14px;
    font-size: 0.95rem;
  }

  .prices h2 {
    font-size: 1.6rem;
  }

  .price-list li {
    padding: 18px;
  }
}



.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 3px;
  background-color: #003366;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav ul {
    display: none;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #e3e3e3;
    padding: 20px 0;
    text-align: center;
  }

  nav ul.active {
    display: flex;
  }
}

/* HAMBURGER MENI - osnovni stil */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #003366;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Aktivni hamburger (kad se meni otvori) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* NAVIGACIJA NA TELEFONU */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav ul {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #e3e3e3;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 25px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 12px 0;
  }
}
