html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #f4f6fa;
  color: #2d2d2d;
}
/* ANIMACIJA sekcija pri scrollu */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.5,0,0.1,1), transform 0.8s cubic-bezier(0.5,0,0.1,1);
  will-change: opacity, transform;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
/* HEADER: Sticky, baby plava na vrhu, providna na scroll */
header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(145, 200, 246, 0.97);
  color: #222;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.35s, box-shadow 0.35s;
  backdrop-filter: none;
}
header.scrolled {
  background: rgba(145, 200, 246, 0.78);
  box-shadow: 0 4px 24px #91c8f655;
  backdrop-filter: blur(8px);
}
.logo {
  font-size: 2rem;
  font-weight: 600;
  margin-left: 40px;
  color: #2d2d2d;
}
nav {
  margin-right: 40px;
  display: flex;
}
nav a {
  color: #222;
  margin-left: 25px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  border-radius: 6px;
  padding: 4px 12px;
}
nav a:hover {
  color: #fff;
  background: #63aeea;
}
/* HERO sekcija - levo tekst, desno veća slika */
.hero {
  background: none !important;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px 30px 10px;
}
.hero-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
  gap: 40px;
}
.hero-text {
  flex: 1.2;
  text-align: left;
}
.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0;
  color: #111;
  text-shadow: none;
  font-weight: 700;
  line-height: 1.18;
  display: block;
  text-align: left;
}
.hero-underline {
  width: 100%;
  max-width: 480px;
  height: 4px;
  background: #111;
  margin-top: 8px;
  margin-bottom: 32px;
  border-radius: 2px;
}
.hero-text p {
  color: #111;
  font-size: 1.15rem;
  line-height: 1.6;
  text-shadow: none;
  margin-top: 0;
}
.hero-img {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-img img {
  max-width: 440px;
  width: 100%;
  min-width: 260px;
  border-radius: 18px;
  box-shadow: 0 4px 32px #a8d8f766;
  object-fit: cover;
}
/* O NAMA sekcija (Vaš pouzdan partner) */
.about-section {
  max-width: 1050px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}
.about-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.about-img {
  flex: 1;
  min-width: 250px;
  display: flex;
  justify-content: flex-start;
}
.about-img img {
  max-width: 320px;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 4px 24px #a8d8f744;
  object-fit: cover;
}
.about-text {
  flex: 1.2;
  text-align: left;
}
.about-title {
  color: #111;
  font-size: 2rem;
  margin-bottom: 0px;
  font-weight: 700;
  display: inline-block;
  border-bottom: 3px solid #111;
  padding-bottom: 8px;
  margin-top: 0;
}
.about-underline {
  display: none;
}
.about-text h2.about-h2 {
  color: #111;
  font-size: 1.25rem;
  margin-bottom: 6px;
  margin-top: 30px;
  font-weight: 700;
  border: none;
  padding-bottom: 0;
}
.about-text h3 {
  color: #111;
  margin-top: 28px;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}
.about-text p {
  font-size: 1.08rem;
  color: #222;
  line-height: 1.65;
  margin: 0 0 12px 0;
}
/* Responsive */
@media (max-width: 900px) {
  .hero-flex {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .hero-text {
    text-align: center;
  }
  .hero-underline {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-img {
    justify-content: center;
  }
  .hero-img img {
    max-width: 290px;
    min-width: 140px;
  }
  .about-flex {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
  .about-img {
    justify-content: center;
  }
  .about-img img {
    max-width: 220px;
  }
  .about-text {
    text-align: center;
  }
}
/* Sekcije centrirane */
.about-section,
.prednosti,
.iskustva,
#kontakt,
#usluge {
  max-width: 1000px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}
/* GRID sekcija */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
}
@media (max-width: 950px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.grid > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px #91c8f655;
  padding: 24px;
  min-width: 0;
  width: 100%;
  max-width: 300px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.grid > div:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 36px #91c8f677;
}
.grid h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: #256bb2;
}
.grid img {
  margin-bottom: 10px;
  width: 100%;
  border-radius: 8px;
  display: block;
}
/* Prednosti */
.prednosti ul {
  list-style: disc inside;
  padding-left: 0;
}
/* Testimonijali */
.iskustva blockquote {
  background: #eaf6fd;
  border-left: 4px solid #91c8f6;
  padding: 18px 24px;
  margin: 24px 0;
  border-radius: 8px;
  font-style: italic;
}
/* Kontakt sekcija (informacija iznad forme) */
.kontakt-info {
  font-size: 1.15rem;
  background: #eaf6fd;
  border-left: 4px solid #91c8f6;
  padding: 18px 20px;
  margin: 20px 0 32px 0;
  border-radius: 8px;
  color: #256bb2;
}
/* Forma */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  margin: auto;
}
input, textarea, button {
  font-size: 1rem;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #cfd8dc;
}
input:focus, textarea:focus {
  outline: 2px solid #91c8f6;
}
button {
  background: #91c8f6;
  color: #256bb2;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
button:hover {
  background: #63aeea;
  color: #fff;
}
textarea {
  min-height: 80px;
  resize: vertical;
}
/* FOOTER crna slova i bez "kontakt 1/2" */
footer, .footer-main, .footer-contact, .footer-links, .footer-copy {
  color: #111 !important;
}
footer {
  background: #91c8f6;
  padding: 32px 10px 14px 10px;
  margin-top: 60px;
  font-size: 1rem;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 18px auto;
  gap: 30px;
}
.footer-contact {
  display: flex;
  gap: 36px;
}
.footer-contact div {
  line-height: 1.5;
}
.footer-contact a,
.footer-links a {
  color: #111 !important;
  text-decoration: none;
  font-weight: 500;
  display: block;
  margin-top: 3px;
  margin-bottom: 3px;
}
.footer-contact a:hover,
.footer-links a:hover {
  color: #256bb2 !important;
  text-decoration: underline;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-links a {
  font-size: 1rem;
  margin-bottom: 3px;
  transition: color 0.2s;
}
.footer-copy {
  text-align: center;
  font-size: 0.98rem;
  margin: 22px 0 0 0;
}
/* Responsive za footer */
@media (max-width: 800px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  .footer-contact {
    flex-direction: column;
    gap: 12px;
  }
  .footer-links {
    align-items: center;
  }
}
/* blog */
.blog-list-section {
  max-width: 900px;
  margin: 40px auto 60px auto;
  padding: 0 20px;
}
.blog-title {
  color: #256bb2;
  margin-bottom: 28px;
  font-size: 2.1rem;
  border-bottom: 3px solid #256bb2;
  display: inline-block;
  padding-bottom: 8px;
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px #91c8f655;
  padding: 30px 24px 22px 24px;
  transition: box-shadow 0.25s, transform 0.18s;
  border-left: 5px solid #91c8f6;
  position: relative;
}
.blog-card:hover {
  box-shadow: 0 8px 36px #91c8f677;
  transform: translateY(-3px) scale(1.01);
}
.blog-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.blog-card h2 {
  margin: 0 0 0 0;
  font-size: 1.28rem;
  color: #256bb2;
  font-weight: 600;
}
.blog-card h2 a {
  color: #256bb2;
  text-decoration: none;
  transition: color 0.2s;
}
.blog-card h2 a:hover {
  text-decoration: underline;
  color: #063164;
}
.blog-date {
  font-size: 0.98rem;
  color: #888;
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
}
.blog-card p {
  color: #111;
  font-size: 1.08rem;
  margin: 8px 0 20px 0;
}
.blog-readmore {
  display: inline-block;
  padding: 7px 22px;
  background: #91c8f6;
  color: #256bb2;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.22s, color 0.22s;
  border: none;
}
.blog-readmore:hover {
  background: #256bb2;
  color: #fff;
}
@media (max-width: 700px) {
  .blog-list-section {
    padding: 0 8px;
  }
  .blog-card {
    padding: 18px 8px 14px 8px;
  }
  .blog-title {
    font-size: 1.3rem;
    padding-bottom: 5px;
  }
  .blog-thumb {
    width: 100%;
    max-width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    float: left;
    margin-right: 24px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px #91c8f655;
    background: #f4f6fa;
  }
  .blog-card {
    overflow: hidden;
  }
}
@media (max-width: 700px) {
  .blog-thumb {
    float: none;
    display: block;
    margin: 0 auto 14px auto;
    max-width: 100%;
    height: 140px;
  }
}
/* --- HAMBURGER MENI ZA MOBILNI --- */
.menu-toggle {
  display: none;
  font-size: 2.1rem;
  cursor: pointer;
  margin-right: 28px;
  background: none;
  border: none;
  color: #256bb2;
  z-index: 130;
}
@media (max-width: 700px) {
  header {
    flex-direction: row;
    align-items: center;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 120;
  }
  .logo {
    margin-left: 18px;
  }
  .menu-toggle {
    display: block;
  }
  nav {
    display: none;
    flex-direction: column;
    background: rgba(145, 200, 246, 0.98);
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    margin: 0;
    padding: 0 0 18px 0;
    box-shadow: 0 8px 32px #91c8f644;
    z-index: 120;
    width: 100vw;
  }
  nav.open {
    display: flex;
  }
  nav a {
    margin: 12px 0 0 0;
    font-size: 1.16rem;
    padding: 10px 0;
    border-radius: 8px;
    background: none;
    width: 88%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}
/* Desktop: uvek vidiš meni, nema hamburgera */
@media (min-width: 701px) {
  nav {
    display: flex !important;
    position: static;
    background: none;
    flex-direction: row;
    align-items: center;
    box-shadow: none;
    width: auto;
    margin-right: 40px;
    padding: 0;
  }
  .menu-toggle {
    display: none !important;
  }
  nav a {
    margin-left: 25px;
    margin-right: 0;
    font-size: 1rem;
    background: none;
    padding: 4px 12px;
    width: auto;
  }
}
