body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #222222;
  background-color: #F7F7F7;
}

/* HEADER */
header {
  background: #0E3B43; /* tamno plavo-zelena */
  color: #F5F5F5; /* svijetla siva */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 40px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid #E3B341; /* nova zlatna */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  height: 70px;
}






.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-container img {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  
  border: 2px solid #E3B341; /* nova zlatna */
}



.title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #E3B341;
}

.title h1, .title p {
  margin: 0;
  color: #F1C46C;
}

.title h1 {
  font-size: 22px;
}

.title p {
  font-size: 14px;
}


/* ===== Navigation Base ===== */
.nav-header {
  background: #0E3B43;
  border-bottom: 2px solid #E3B341;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.nav-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 15px 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.nav-logo img {
  height: 70px;
  width: auto;
}

/* Desktop Menu */
.nav-menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-menu a {
  color: #E3B341;
  font-weight: 600;
  text-decoration: none;
  padding: 8px;
  transition: .25s;
  position: relative;
}

.nav-menu a:hover {
  color: #fff;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #E3B341;
  transition: .3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Contact Button */
.nav-btn {
  border: 2px solid #E3B341;
  padding: 8px 18px;
  border-radius: 8px;
}
.nav-btn:hover {
  background: #E3B341;
  color: #0E3B43;
}

/* ===== Mobile ===== */
.nav-toggle {
  display: none;
  font-size: 34px;
  background: none;
  border: none;
  color: #E3B341;
  cursor: pointer;
}

/* Mobile menu styles */
/* MOBILE MENU DROPDOWN — jednostavnije */
.nav-toggle {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  color: #E3B341;
  cursor: pointer;
}

#closeIcon { display: none; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #0E3B43;
    border: 2px solid #E3B341;
    border-top: none;
    width: 200px;
    display: none;
    flex-direction: column;
    padding: 10px 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 15px rgba(0,0,0,.3);
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu a {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(227,179,65,.2);
    font-size: 16px;
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }
}

/* HERO */
.hero {
  position: relative;
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-left,
.hero-right {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.hero-left img,
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* HOVER EFEKTI ZA SLIKE */
.hero-left:hover img,
.hero-right:hover img {
  transform: scale(1.05) rotate(1deg);
}

/* PARALLAX SCROLL EFEKAT */
.hero-left img {
  transform: translateY(0);
}

.hero-right img {
  transform: translateY(0);
}

.hero-paragraph {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 700px;
  text-align: center;
  padding: 30px 40px;
  background-color: rgba(14, 59, 67, 0.85);
  border-radius: 15px;
  border: 2px solid #E3B341;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.hero-paragraph h2 {
  font-size: 48px;
  color: #E3B341; 
  margin-bottom: 20px;
}

.hero-paragraph p {
  font-size: 18px;
  line-height: 1.6;
  color: #F5F5F5;
  margin-bottom: 25px;
}

.hero-paragraph .cta-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #E3B341;
  color: #0E3B43;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.hero-paragraph .cta-btn:hover {
  background-color: #0E3B43;
  color: #E3B341;
  transform: scale(1.05);
}

/* RESPONSIVNOST */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }
  .hero-left,
  .hero-right {
    flex: unset;
    height: 50vh;
  }
  .hero-paragraph {
    max-width: 90%;
    font-size: 16px;
    padding: 20px;
  }
}


/* PROŠIRENI TEKST ISPOD HERO */
.intro {
  padding: 60px 20px;
  text-align: center;
  background-color: #F7F7F7;
}

.intro h2 {
  color: #0B745C;
  margin-bottom: 25px;
  font-size: 32px;
}

.intro p {
  max-width: 800px;
  margin: 15px auto;
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  background-color: #F1C46C;
  color: #0B745C;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.cta-btn:hover {
  background-color: #0B745C;
  color: #F1C46C;
}

/* USLUGE */
.services {
  position: relative;
  padding: 100px 40px;
  text-align: center;
  background: linear-gradient(rgba(14,59,67,0.96), rgba(14,59,67,0.96)),
              url("bg-pattern.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(227,179,65,0.35), transparent 60%);
  pointer-events: none;
}
.card {
  background: rgba(14,59,67,0.75);
  backdrop-filter: blur(8px);
}


.services-subtitle {
  font-size: 18px;
  color: #ffffffcc;
  margin-bottom: 50px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  position: relative;
  z-index: 1;
}

.card {
  background-color: #0E3B43;
  border: 2px solid #E3B341;
  color: #E3B341;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  animation: fadeUp 0.8s forwards;
}

/* Stagger animacija za kartice */
.card:nth-child(1){animation-delay:.1s}
.card:nth-child(2){animation-delay:.2s}
.card:nth-child(3){animation-delay:.3s}
.card:nth-child(4){animation-delay:.4s}
.card:nth-child(5){animation-delay:.5s}
.card:nth-child(6){animation-delay:.6s}
.card:nth-child(7){animation-delay:.7s}
.card:nth-child(8){animation-delay:.8s}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 32px rgba(0,0,0,0.4);
  border-color: #ffcf4f;
}

.card:hover img {
  transform: scale(1.06);
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: 0.4s ease;
  border-bottom: 2px solid #E3B341;
}

.card h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #E3B341;
}

.card p {
  font-size: 15px;
  color: #F5F5F5;
  padding: 0 10px;
  text-align: center;
  line-height: 1.5;
}

/* Fade + slide animacija */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* FOOTER */
.site-footer {
  background: #0E3B43; /* tamno plavo-zelena, ista kao header */
  color: #F5F5F5; /* svijetla siva, ista kao header */
  padding: 40px 20px;
  text-align: center;
  border-top: 3px solid #E3B341; /* zlatna, slično border-bottom na header-u */
  box-shadow: 0 -4px 12px rgba(0,0,0,0.2); /* suptilni shadow gore */
}

.footer-logo {
  text-align: center;
  margin-bottom: 25px;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  border: 2px solid #E3B341; /* zlatna ista kao header border */
  border-radius: 8px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #E3B341; /* zlatna, istaknuti kontakti */
}

.footer-icon {
  width: 20px;
  height: 20px;
}

.footer-contact-item a {
  color: #E3B341; /* linkovi zlatni, kao akcent */
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.footer-contact-item a:hover {
  color: #F5F5F5; /* hover svijetla siva, kao tekst u header-u */
}

.footer-copyright {
  font-size: 12px;
  margin: 0;
  color: #E8D89A;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-contact {
    gap: 12px;
  }
  .footer-contact-item {
    font-size: 13px;
  }
  .footer-icon {
    width: 18px;
    height: 18px;
  }
  .footer-logo-img {
    height: 40px;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 10px 20px;
    text-align: center;
  }

  .logo-container {
    flex-direction: column;
    gap: 5px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .title {
    flex-direction: column;
  }
}

/* USLUGE – POGLEDAJ VIŠE */
.service-text {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s ease;
  margin-top: 10px;
}

.toggle-btn {
  margin-top: 15px;
  padding: 10px 20px;
  border-radius: 25px;
  background-color: #E3B341; /* zlatno dugme */
  color: #0E3B43;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-btn:hover {
  background-color: #146B63; /* elegantna zelena hover */
  color: #F5F5F5; /* svijetli tekst */
  transform: scale(1.05);
}


.card.show-text .service-text {
  max-height: 200px;
  opacity: 1;
}

/* FAQ SECTION */
.faq-section {
  padding: 120px 40px;
  background: linear-gradient(135deg, #0E3B43, #062b30);
  text-align: center;
}

.faq-title {
  font-size: 42px;
  color: #E3B341;
  font-weight: 800;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 4px 14px rgba(0,0,0,0.5);
}

/* CARD */
.faq-card {
  max-width: 850px;
  margin: 20px auto;
  padding: 28px 32px;
  background: rgba(255,255,255,0.07);
  border: 2px solid rgba(227,179,65,0.9);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  cursor: pointer;
  transition: all .35s ease;
  overflow: hidden;
  position: relative;
}

/* Gloss Swipe */
.faq-card::after {
  content: "";
  position: absolute;
  top:0; left:-150%;
  width: 120%;
  height:100%;
  background: linear-gradient(120deg, rgba(227,179,65,0.35), transparent);
  transform: skewX(-20deg);
  transition: .5s ease;
}
.faq-card:hover::after { left:150%; }

.faq-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}

/* QUESTION */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  color: #F5F5F5;
}

/* ARROW */
.faq-card .arrow {
  border: solid #E3B341;
  border-width: 0 4px 4px 0;
  padding: 8px;
  transform: rotate(45deg);
  transition: .3s;
}
.faq-card.active .arrow {
  transform: rotate(-135deg);
}

/* ANSWER */
.faq-answer {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  font-size: 18px;
  color: #ffffffd5;
  line-height: 1.7;
  transition: all .4s ease;
}

.faq-card.active .faq-answer {
  max-height: 260px;
  opacity: 1;
  margin-top: 18px;
}



.about-section {
  padding: 120px 40px;
  background: linear-gradient(135deg, #0E3B43, #062b30);
  display: flex;
  justify-content: center;
  color: #F5F5F5;
}

.about-wrapper {
  max-width: 1200px;
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
}

.about-image img {
  width: 480px;
  border-radius: 16px;
  border: 2px solid #E3B341;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  object-fit: cover;
  filter: contrast(1.1) saturate(1.1);
}

.about-content h2 {
  font-size: 42px;
  font-weight: 800;
  color: #E3B341;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0,0,0,0.5);
}

.about-subtitle {
  font-size: 20px;
  color: #e7d39b;
  margin-bottom: 25px;
  font-weight: 600;
}

.about-content p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #EDEDED;
}

.about-benefits {
  margin: 20px 0 35px;
  padding: 0;
  list-style: none;
  font-size: 18px;
}

.about-benefits li {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #F5F5F5;
  font-weight: 500;
}

.about-benefits span {
  color: #E3B341;
  font-size: 22px;
  font-weight: 900;
}

.about-btn {
  display: inline-block;
  padding: 14px 34px;
  background: #E3B341;
  color: #0E3B43;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: .3s;
  font-size: 17px;
  box-shadow: 0 6px 18px rgba(227,179,65,0.4);
}

.about-btn:hover {
  background: #0E3B43;
  color: #E3B341;
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.45);
}

/* Responsive */
@media(max-width: 900px){
  .about-wrapper {flex-direction: column;}
  .about-image img {width: 100%; max-width: 500px;}
}


.taxcalc {
  padding: 120px 40px;
  background: linear-gradient(135deg,#0E3B43,#062b30);
  color: #F5F5F5;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.taxcalc-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.taxcalc-head h2 {
  color: #E3B341;
  font-size: 42px;
  margin: 0 0 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 6px 18px rgba(0,0,0,.45);
}
.taxcalc-head p { margin: 0 0 28px; color: #e7d39b; }

.taxcalc-form {
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(227,179,65,.85);
  border-radius: 16px;
  padding: 22px;
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 28px rgba(0,0,0,.35);
  animation: cardIn .6s ease both;
}
.taxcalc-form label { display:block; font-weight:600; margin-bottom:8px; color:#E3B341; }
.input-row { display:flex; gap:12px; align-items:center; }
#gross {
  flex:1;
  padding:14px 16px;
  border-radius:10px;
  border:2px solid #E3B341;
  background: rgba(255,255,255,.12);
  color:#fff;
  font-size:18px;
  outline:none;
  transition: .25s;
}
#gross:focus { box-shadow: 0 0 0 3px rgba(227,179,65,.25); }
#calcBtn {
  padding:14px 20px;
  border:none;
  border-radius:12px;
  background:#E3B341;
  color:#0E3B43;
  font-weight:800;
  cursor:pointer;
  transition:.25s;
}
#calcBtn:hover { transform: translateY(-2px); box-shadow:0 10px 22px rgba(0,0,0,.35); }

.note { display:block; margin-top:10px; color:#d6c48a; }

.taxcalc-results {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:22px;
  margin-top:24px;
}
.result-card {
  background: rgba(255,255,255,.07);
  border: 2px solid rgba(227,179,65,.85);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 16px 32px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  transform: translateY(30px) scale(.98);
  opacity: 0;
  animation: fadeUp .7s .1s ease forwards;
  position: relative;
  overflow: hidden;
}
.result-card::after{
  content:"";
  position:absolute; left:-140%; top:0; width:120%; height:100%;
  background: linear-gradient(120deg, rgba(227,179,65,.28), transparent);
  transform: skewX(-20deg);
  transition:.6s;
}
.result-card:hover::after { left:140%; }

.result-card h3 {
  margin:0 0 12px; font-size:20px; color:#E3B341; letter-spacing:.5px;
}
.row {
  display:flex; justify-content:space-between; align-items:center;
  padding:8px 0; border-bottom:1px dashed rgba(227,179,65,.35);
}
.row.sub { padding:6px 0 6px 14px; font-size:14px; opacity:.9; }
.row.total { border-bottom:0; font-size:18px; font-weight:800; color:#fff; }
.row span { opacity:.95; }

.taxcalc-foot {
  margin-top:18px; display:flex; gap:16px; align-items:center; flex-wrap:wrap;
}
.ghost {
  background: transparent; border:2px solid #E3B341; color:#E3B341; 
  padding:10px 16px; border-radius:10px; cursor:pointer; transition:.25s;
}
.ghost:hover { background:#E3B341; color:#0E3B43; transform: translateY(-2px); }
.legal { margin:0; color:#cdb776; font-size:12.5px; }

/* Animations */
@keyframes cardIn { from {opacity:0; transform: translateY(12px)} to {opacity:1; transform:none} }
@keyframes fadeUp { to { opacity:1; transform: translateY(0) scale(1); } }

/* Responsive */
@media (max-width: 720px){
  .taxcalc { padding: 90px 20px; }
  .taxcalc-head h2 { font-size: 34px; }
}


/* Responsive fix for calculator input + button */
@media (max-width: 600px) {
  .taxcalc-form .input-row {
    flex-direction: column;
    gap: 12px;
  }

  .taxcalc-form input#gross {
    width: 100%;
    font-size: 16px;
  }

  .taxcalc-form button#calcBtn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
  }
}

