/* --- GLOBALNI STILOVI --- */
:root {
  --color-primary: #2a4a6e; /* Plava */
  --color-accent: #f7a625; /* Narandžasta */
  --color-dark: #333333;
  --color-light: #f8f9fa;
  --color-white: #ffffff;
  --font-main: "Roboto", sans-serif;
  --container-width: 1400px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--color-dark);
  line-height: 1.7;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--color-light);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.btn {
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover {
  background-color: #e0931f;
  transform: translateY(-2px);
}

.header-top-bar {
  background: var(--color-light);
  padding: 8px 0;
  font-size: 0.85rem;
  color: #666;
}
.header-top-bar a {
  color: #666;
}
.header-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* === LOGO I TEKST === */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo {
  height: 80px;
  width: auto;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

/* === MOBILNA VERZIJA === */
@media (max-width: 768px) {
  .site-logo {
    height: 80px;
  }
  .logo-text {
    display: inline; /* ✅ obavezno vidljivo */
    font-size: 1.1rem;
    color: #111; /* ili var(--color-primary) ako koristiš varijablu */
  }
}

.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}
/* Video pozadina */
.hero-section video.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
/* Tamni sloj preko videa */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 30, 40, 0.55);
  z-index: 2;
}
/* Kontejner i tekstualni sadržaj */
.hero-section .container {
  margin: 0;
  padding: 10px;
  max-width: none;
  width: 100%;
}
.hero-content {
  position: relative;
  z-index: 3;
}
.hero-text-box {
  max-width: 650px;
  padding: 0 80px;
  text-align: left;
}
.hero-text-box h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 5px;
  color: var(--color-white);
}
.hero-text-box .hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(200, 200, 200, 0.75);
  margin-bottom: 20px;
  line-height: 1.4;
}
.hero-text-box p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}
/* Dugmad */
.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
}
.hero-buttons .btn {
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-primary {
  background-color: #c9b48a; /* topla bež nijansa */
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #b49e72; /* malo tamnija nijansa bež */
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid #b5b5b5; /* elegantno sivi okvir */
  color: #fff; /* bijeli tekst */
}

.btn-outline:hover {
  background: #b5b5b5; /* sivo ispunjenje na hover */
  color: #222; /* tamni tekst */
}

.feature-section {
  padding: 100px 0;
  position: relative;
  color: var(--color-white);
  margin-bottom: 100px;
}
.feature-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/backgroundfuture.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
  z-index: 1;
}
.feature-section .container {
  position: relative;
  z-index: 2;
}
.feature-frame {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 60px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}
.feature-text h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2.8rem;
  color: var(--color-primary);
  margin-bottom: 25px;
}
.feature-text p {
  margin-bottom: 25px;
  font-size: 1.1rem;
  opacity: 0.9;
}
.feature-list {
  list-style: none;
  margin-bottom: 30px;
}
.feature-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 15px;
  font-weight: 500;
}
.feature-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}
.feature-text blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 25px;
  font-style: italic;
  font-size: 1rem;
  opacity: 0.95;
  margin-top: 40px;
}
.feature-image img {
  width: 100%;
  border-radius: 12px;
}

.testimonials-section {
  padding: 120px 0;
  background: var(--color-white);
  margin-top: 1000x !important;
}

.testimonial-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: flex-start; /* Poravnavamo elemente po vrhu */
}

.testimonial-intro {
  text-align: left;
}
.testimonial-intro .quote-icon {
  font-size: 8rem;
  font-family: serif;
  color: var(--color-accent);
  line-height: 0.8;
}
.testimonial-intro h2 {
  font-size: 2.8rem;
  color: var(--color-primary);
  margin: -20px 0 10px 0;
}
.testimonial-intro .stars {
  color: var(--color-accent);
  font-size: 1.2rem;
}
.testimonial-intro .review-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-dark);
}
.testimonial-intro .review-link:hover {
  text-decoration: none;
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* Kontejner za kartice sa desne strane */
.testimonial-cards-wrapper {
  display: grid;
  /* 1. KREIRAMO MREŽU OD 2 KOLONE ZA KARTICE */
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.testimonial-cards-wrapper .testimonial-card:nth-child(3) {
  grid-column: 1 / -1; /* Proširi se od prve do zadnje linije */
}

/* Osnovni stil za SVE kartice recenzija */
.testimonial-card {
  background: var(--color-light);
  padding: 35px;
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.testimonial-card p {
  margin-bottom: 25px;
}
.testimonial-card hr {
  border: none;
  height: 1px;
  background-color: #ddd;
  margin: 0 0 20px 0;
}
.testimonial-card span {
  font-weight: 600;
}
.testimonial-card::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(
    circle,
    var(--color-primary) 1.5px,
    transparent 1.5px
  );
  background-size: 10px 10px;
  transform: rotate(45deg);
  opacity: 0.2;
}

/* Boje za različite kartice */
.testimonial-card.accent-card {
  background: #ffedd5;
  color: #444;
}
.testimonial-card.accent-card hr {
  background-color: rgba(0, 0, 0, 0.2);
}
.testimonial-card.card-accent-blue {
  background-color: #e0f2f1;
  color: #333;
}
.testimonial-card.card-accent-blue hr {
  background-color: rgba(0, 0, 0, 0.15);
}

/* Responsive pravilo */
@media (max-width: 900px) {
  .testimonial-content-wrapper {
    grid-template-columns: 1fr;
  }
  .testimonial-intro {
    text-align: center;
    margin-bottom: 40px;
  }
  .testimonial-cards-wrapper {
    grid-template-columns: 1fr;
  }
  .testimonial-cards-wrapper .testimonial-card:nth-child(3) {
    grid-column: auto; /* Resetujemo na manjim ekranima */
  }
}

/* --- FOOTER --- */
.main-footer {
  background: var(--color-light);
  padding: 80px 0 30px 0;
  margin-top: 100px;
  border-top: 1px solid #ddd;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* <<<< KLJUČNA LINIJA ZA DESKTOP */
  gap: 40px;
  margin-bottom: 60px;
}
.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}
.footer-col p,
.footer-col ul {
  font-size: 0.95rem;
}
.contact-list {
  list-style: none;
}
.contact-list li {
  margin-bottom: 10px;
}
.contact-list a {
  color: var(--color-dark);
}
.footer-nav-list {
  list-style: none;
}
.footer-nav-list li {
  margin-bottom: 8px;
}
.footer-nav-list a {
  color: var(--color-dark);
  transition: color 0.3s ease;
}
.footer-nav-list a:hover {
  color: var(--color-accent);
  text-decoration: none;
}
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #888;
}

/* --- RESPONSIVE PRAVILA --- */
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-frame {
    padding: 40px;
  }
  .testimonial-content-wrapper {
    grid-template-columns: 1fr;
  }
  .testimonial-intro {
    text-align: center;
    margin-bottom: 40px;
  }
}

/* --- STILOVI ZA NASLOVE POD-STRANICA (AŽURIRANO) --- */
/* --- STILOVI ZA NASLOVE POD-STRANICA (FINALNA VERZIJA) --- */
.page-title-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  color: var(--color-white); /* Osnovna boja teksta je bijela */
}

/* Postavljamo istu pozadinsku sliku kao na feature-section */
.page-title-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/backgroundfuture.png");
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  z-index: 1;
}

.page-title-section .container {
  position: relative;
  z-index: 2; /* Osiguravamo da je tekst iznad slike */
}

/* Naslov i podnaslov na bež pozadini – čitljivije i toplije */
.page-title-section h1,
.page-title-section p {
  color: #2e2e2e; /* tamnosiva umjesto bijele */
}

.page-title-section h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-title-section p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto;
}

.about-page-content {
  padding: 100px 0;
}
/* --- index video iskustvo pacijenta --- */
.video-testimonial-section {
  background: url("../images/pozadina2.jpg") no-repeat center center/cover;
  padding: 100px 0;
  margin-top: 60px; /* ✅ razmak od recenzija iznad */
  color: #fff;
}

.video-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.video-wrapper video {
  width: 100%;
  max-width: 380px;
  height: 600px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
  background: #000;
  cursor: pointer;
  aspect-ratio: 9 / 16; /* >>> ovo osigurava vertikalni format <<< */
}

.testimonial-text h2 {
  color: var(--color-primary);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.testimonial-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #f8f8f8;
  max-width: 500px;
}

/* Responsivnost */
@media (max-width: 900px) {
  .video-testimonial-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .testimonial-text {
    margin-top: 40px;
  }

  .testimonial-text p {
    margin: 0 auto 30px auto;
  }

  .video-wrapper video {
    max-width: 280px;
  }
}

/* --- AŽURIRANI STILOVI ZA TIM SEKCIJU --- */
.team-section-full {
  padding: 100px 0;
  background-image: url("../images/backgroundfuture.jpg"); /* tvoja nova pozadina */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  position: relative;
}

/* Lagani overlay da se tekst i slike bolje vide */
.team-section-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* prozirni tamni sloj preko slike */
  z-index: 1;
}

/* Osiguraj da sadržaj ide iznad overlay sloja */
.team-section-full .container {
  position: relative;
  z-index: 2;
}

.team-text {
  background: rgba(255, 255, 255, 0.15); /* prozirni sloj */
  backdrop-filter: blur(12px); /* zamućena pozadina ispod teksta */
  -webkit-backdrop-filter: blur(12px); /* podrška za Safari */
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 30px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.team-text h2 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
}

.team-text p {
  color: #f1f1f1;
  font-size: 1.1rem;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* --- Stil za Novi Slajder Tima --- */
.team-image-new {
  position: relative;
  width: 100%;
  /* Podesite visinu po potrebi, npr. 450px ili 500px */
  height: 450px;
  border-radius: 12px;
  overflow: hidden; /* Osigurava da slajder ostane zaobljen */
}

.team-swiper {
  width: 100%;
  height: 100%;
}

.team-swiper .swiper-slide {
  background-color: #eee; /* Pozadina dok se slika ne učita */
}

.team-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Slika će uvijek popuniti prostor bez izobličenja */
}

.team-text h2 {
  font-size: 2.8rem;
  color: var(--color-white);
  margin-bottom: 20px;
}

.team-text p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Responsive za novu tim sekciju */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
/* --- SERVICES TEASER SEKCIJA (FINALNA VERZIJA) --- */
.services-teaser-section {
  padding: 120px 0;
  background-color: var(--color-light);
  margin-top: 100px;
}

/* --- ŠIRINA KONTEJNERA --- */
.services-teaser-section .container,
.feature-section .container {
  max-width: 1400px;
}

/* --- NASLOV SEKCIJE --- */
.section-title-center {
  text-align: center;
  margin-bottom: 60px;
}

.section-title-center h2 {
  font-size: 2.5rem;
  color: var(--color-primary);
}

/* --- GRID ZA USLUGE --- */
.services-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* --- POJEDINAČNA KARTICA USLUGE --- */
.service-teaser-card {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.service-teaser-card:hover {
  background: #fff;
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* --- SLIKE NA KARTICAMA --- */
.service-teaser-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

/* --- NASLOV I TEKST --- */
.service-teaser-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-weight: 600;
}

.service-teaser-card p {
  font-size: 1rem;
  flex-grow: 1;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* --- DUGME UNUTAR KARTICE --- */
.service-teaser-card .btn-outline {
  align-self: flex-start;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-teaser-card .btn-outline:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* --- RESPONSIVNOST --- */
@media (max-width: 992px) {
  .services-teaser-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .services-teaser-grid {
    grid-template-columns: 1fr;
  }
}

/* 2. SLOVA "Saznajte Više" crna */
.btn-outline {
  background: transparent;
  border: 2px solid #b5b5b5; /* sivi okvir */
  color: #fff; /* bijeli tekst */
  padding: 10px 25px;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #b5b5b5; /* sivo ispunjenje */
  color: #222; /* tamni tekst */
  text-decoration: none;
  border-color: #b5b5b5;
}

/* Responsive za ovu sekciju */
@media (max-width: 900px) {
  .services-teaser-grid {
    grid-template-columns: 1fr;
  }
}
/* --- SEKCIJA: UPOZNAJTE DOKTORA --- */
.meet-doctor-section {
  padding: 120px 0;
  background-color: var(--bg-color); /* Bijela pozadina */
}

.meet-doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.doctor-image img {
  width: 100%;
  border-radius: 10px;
}

.doctor-text .subtitle {
  font-weight: 700;
  letter-spacing: 2px;
  color: #aaa;
  margin-bottom: 15px;
  display: block;
}

.doctor-text h2 {
  font-size: 3rem;
  margin-bottom: 25px;
  line-height: 1.2;
}

.doctor-text blockquote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  border-left: 3px solid var(--primary-accent);
  padding-left: 25px;
  margin-bottom: 15px;
}

.doctor-text p {
  text-align: right;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* --- SEKCIJA: NAŠ PROSTOR --- */
.our-space-section {
  padding: 120px 0;
  background-color: var(--secondary-accent); /* Bež pozadina */
}

/* --- SEKCIJA: GALERIJA PROSTORA (MASONRY) --- */
.space-gallery-section {
  padding: 100px 0 60px 0;
  background-color: #ffffff;
}

.space-gallery-section .section-title-center {
  margin-bottom: 50px;
}

.space-gallery-section .section-title-center h2,
.space-gallery-section .section-title-center p {
  color: var(--color-primary);
}

.space-gallery-section .subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}

.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 0;
}

.masonry-item {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  aspect-ratio: 4/3;
}

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.masonry-item:hover img {
  transform: scale(1.05);
}

.desktop-gallery {
  display: grid;
}

.mobile-gallery {
  display: none;
  overflow: hidden;
  background: transparent;
}

.mobile-gallery .swiper-slide {
  background: transparent;
}

.mobile-gallery .swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.mobile-gallery .swiper-pagination {
  position: relative;
  margin-top: 10px;
}

@media (max-width: 992px) {
  .masonry-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .desktop-gallery {
    display: none;
  }
  
  .mobile-gallery {
    display: block;
  }
  
  .space-gallery-section {
    padding: 40px 0 30px 0;
    overflow: hidden;
  }
}

/* --- Popravak za "Naš Prostor" sekciju na mobilnom --- */
.our-space-grid {
  grid-template-columns: 1fr; /* Kolona preko cijele širine */
}
.our-space-grid .space-image {
  order: -1; /* Slika ide iznad teksta */
  margin-bottom: 30px;
  width: 100%; /* Slika zauzima 100% širine */
  height: auto; /* Zadržava proporcije */
  max-width: 100%; /* Osigurava da ne prelazi okvir */
  object-fit: cover; /* Pokriva cijeli prostor */
}

/* Obrnut raspored - tekst lijevo, slika desno */
.our-space-grid .space-text {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.our-space-grid .space-image {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.space-text .subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}

.space-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.space-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.space-image img {
  width: 100%;
  border-radius: 10px;
}

/* Responsive za obje sekcije */
@media (max-width: 900px) {
  .meet-doctor-grid,
  .our-space-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .doctor-image {
    order: -1; /* Na mobilnom, slika ide iznad teksta */
  }
}

/* --- MAPA SEKCIJA --- */
.map-section {
  position: relative; /* Potrebno za pozicioniranje krive */
  line-height: 0; /* Uklanja prazan prostor ispod mape */
  margin-top: 100px; /* Odvaja mapu od sekcije iznad */
}

.map-curve {
  position: absolute;
  top: -1px; /* Postavljamo je na sam vrh iframe-a */
  left: 0;
  width: 100%;
  height: 100px; /* Visina krive */
  background-color: var(
    --color-white
  ); /* Mora biti ista kao pozadina sekcije iznad */
  /* Magija za krivu liniju */
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 50% 100%, 0 0);
  transform: scaleX(1.5); /* Malo je širimo da kriva bude blaža */
}

.map-section iframe {
  position: relative;
  z-index: 1; /* Osiguravamo da je mapa ispod krive */
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--color-primary);
}

.social-icon {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.social-link:hover .social-icon {
  filter: none;
  transform: scale(1.1);
}

/* --- STILOVI ZA STRANICU "KONTAKT" --- */
.contact-page-content {
  padding: 100px 0 0 0; /* Samo gornji padding, mapa će napraviti donji */
}

.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.contact-info-block p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.info-item .info-icon {
  font-size: 1.5rem;
  margin-right: 20px;
  color: var(--color-primary);
}

.info-item .info-text {
  display: flex;
  flex-direction: column;
}

.info-item .info-text strong {
  font-weight: 600;
  margin-bottom: 5px;
}
.info-item .info-text span,
.info-item .info-text a {
  font-size: 1rem;
  color: #666;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid-layout {
    grid-template-columns: 1fr;
  }
  .contact-gallery {
    margin-bottom: 40px;
  }
}

/* --- STILOVI ZA GALERIJU NA "O NAMA" STRANICI --- */
.ambience-section-onama {
  padding: 100px 0;
  background-color: var(--color-light); /* Svijetlo siva pozadina */
}

.ambience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
}

.ambience-grid-item {
  border-radius: 12px;
  overflow: hidden;
  height: 350px;
}

.ambience-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ambience-grid-item:hover img {
  transform: scale(1.05);
}

/* Responsive za ovu galeriju */
@media (max-width: 768px) {
  .ambience-grid {
    grid-template-columns: 1fr;
  }
  .ambience-grid-item {
    height: 300px;
  }
}
/* ======== VIDEO SEKCIJA: KAKO DO NAS ======== */
.how-to-find-us {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.how-to-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* Tekst */
.how-to-text h2 {
  font-size: 2.3rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.how-to-text p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 500px;
}

.how-to-text .btn {
  padding: 10px 24px;
  font-weight: 600;
}

/* Video container */
.video-container {
  position: relative;
  display: inline-block;
}

.how-to-video {
  width: 320px;
  height: 570px;
  border-radius: 16px;
  object-fit: cover;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Overlay fade efekt */
.video-overlay {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: fadeOverlay 2.5s ease forwards;
}

@keyframes fadeOverlay {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .how-to-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .how-to-video {
    width: 90%;
    height: auto;
  }

  .how-to-text {
    margin-bottom: 40px;
  }

  .how-to-text p {
    margin: 0 auto 25px auto;
  }
}
/* --- STILOVI ZA onama video USLUGE --- */
.about-intro-video {
  padding: 100px 0;
  background: linear-gradient(135deg, #e8f1f9, #ffffff);
  text-align: center;
}

.about-intro-video h2 {
  font-size: 2.6rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.about-intro-video p {
  font-size: 1.1rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.about-video-wrapper {
  width: 100%;
  max-width: none; /* uklanja ograničenje container-a */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0;
  padding: 0;
}

.about-video {
  width: 100vw;
  height: 90vh;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
  background: #000;
}

/* Dodaj lagani sjaj iza videa */
.about-video-wrapper::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 640px;
  border-radius: 24px;
  background: radial-gradient(
    circle at center,
    rgba(0, 128, 255, 0.08),
    transparent 70%
  );
  z-index: 0;
}
.about-video {
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .about-intro-video .container {
    flex-direction: column;
    text-align: center;
  }
  .about-intro-video video {
    width: 85% !important;
    max-width: 450px;
  }
}

/* --- STILOVI ZA STRANICU POJEDINAČNE USLUGE --- */
.service-detail-section {
  padding: 100px 0;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr; /* Sadržaj je duplo širi od sidebar-a */
  gap: 60px;
}

.service-detail-content h2 {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  margin-top: 40px;
}
.service-detail-content h2:first-child {
  margin-top: 0;
}
.service-detail-content h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-top: 30px;
  margin-bottom: 15px;
}

.service-inline-image {
  width: 100%;
  border-radius: 16px;
  margin: 25px 0 35px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 4px solid var(--color-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-inline-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.service-section-block {
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.service-section-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-detail-sidebar .sidebar-widget {
  background: var(--color-light);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
}
.sidebar-widget h4 {
  color: var(--color-primary);
  margin-bottom: 15px;
}
.sidebar-widget.cta-widget {
  background: var(--color-primary);
  color: var(--color-white);
}
.sidebar-widget.cta-widget h4,
.sidebar-widget.cta-widget a {
  color: var(--color-white);
}
.sidebar-widget.cta-widget .btn-primary {
  margin-top: 20px;
}

.widget-service-list {
  list-style: none;
}
.widget-service-list li a {
  display: block;
  padding: 10px 0;
  font-weight: 500;
  color: var(--color-dark);
  border-bottom: 1px solid #eee;
}
.widget-service-list li:last-child a {
  border-bottom: none;
}
.widget-service-list li a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* --- STILOVI ZA SEKCIJU "KAKO FUNKCIONIŠE" (SA POZADINOM) --- */
.how-it-works-section {
  padding-right: 60px;
  padding-left: 40px;
  padding: 60px 0;
  margin-top: 60px;
  position: absolute; /* Potrebno za pozadinsku sliku */
}

/* Dodajemo pozadinsku sliku i filter preko nje */
.how-it-works-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0.8)
    ),
    url("../images/pozadina2.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Osiguravamo da je sav sadržaj (kontejner) IZNAD pozadine */
.how-it-works-section .container {
  position: relative;
  z-index: 2;
}
.how-it-works-section .works-item {
  padding: 40px 25px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.section-title-left {
  text-align: left;
  margin-bottom: 60px;
  padding-left: 15px;
}
.section-title-left h2 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.section-title-left p {
  font-size: 1.1rem;
  color: #666;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.works-item {
  text-align: center;
  background-color: var(--color-white);
  padding: 35px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-top: 4px solid var(--color-primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.works-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.works-item img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 8px;
}

.works-item h4 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  text-align: center;
  width: 100%;
}

.works-item p {
  font-size: 0.95rem;
  color: #666;
  text-align: center;
  width: 100%;
  line-height: 1.6;
}


/* --- STILOVI ZA STRANICU "GALERIJA" --- */
.gallery-page-section {
  padding: 80px 0;
}
.gallery-filters {
  text-align: center;
  margin-bottom: 50px;
}
.filter-btn {
  background: transparent;
  border: 1px solid #ddd;
  color: var(--color-dark);
  padding: 10px 25px;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 500;
  transition: all 0.3s ease;
}
.filter-btn:hover {
  background-color: var(--color-light);
}
.filter-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}
.gallery-item {
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item::after {
  /* Dodaje suptilni overlay na hover */
  content: "POGLEDAJ VEĆE";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 74, 110, 0.7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after {
  opacity: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Stilovi za Lightbox (uvećanu sliku) */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}
.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 900px;
}
.close-btn,
.prev-btn,
.next-btn {
  position: absolute;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  user-select: none;
}
.close-btn {
  top: 15px;
  right: 35px;
}
.prev-btn,
.next-btn {
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
}
.prev-btn {
  left: 0;
}
.next-btn {
  right: 0;
}
.close-btn:hover,
.prev-btn:hover,
.next-btn:hover {
  color: #ccc;
}

/* --- INFO BANNER SEKCIJA (ISPRAVLJENA POZADINA) --- */
.info-banner-section {
  padding: 80px 0;
  margin: 80px 0;
  position: relative;
  color: var(--color-white);
}

.info-banner-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/backgroundfuture.png"); /* samo slika */
  background-size: cover;
  background-position: center;
  filter: brightness(0.6); /* potamnjuje sliku bez boje */
  z-index: 1;
}

/* Osiguravamo da je sav sadržaj (kontejner) IZNAD pozadine */
.info-banner-section .container {
  position: relative;
  z-index: 2;
}

.info-banner-section h2 {
  text-align: center;
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.info-banner-section p {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
  color: rgba(255, 255, 255, 0.9);
}

.info-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.feature-list.inverted li {
  color: var(--color-white);
  font-weight: 400;
}

.feature-list.inverted li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .info-banner-grid {
    grid-template-columns: 1fr;
  }
}
/* --- RESPONSIVE STILOVI ZA MOBILNE UREĐAJE --- */

/* Prvo, sakrivamo mobilno dugme na desktopu i CTA na mobilnom */
.mobile-menu-toggle {
  display: none;
}

/* --- RESPONSIVE STILOVI ZA MOBILNE UREĐAJE (FINALNA VERZIJA) --- */
@media (max-width: 900px) {
  body {
    /* Dodajemo prostor na dnu da fiksna traka ne prekrije sadržaj */
    padding-bottom: 60px;
  }

  /* --- OPŠTI POPRAVCI --- */
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }

  /* Svi gridovi sa 2+ kolone prelaze u 1 kolonu */
  .feature-grid,
  .testimonial-content-wrapper,
  .contact-grid-layout,
  .meet-doctor-grid,
  .our-space-grid,
  .service-detail-grid,
  .services-teaser-grid,
  .works-grid,
  .gallery-grid,
  .ambience-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* --- POPRAVAK HEADERA --- */
  .header-top-bar {
    display: auto;
  } /* Sakrivamo "Dobrodošli" traku */
  .main-nav {
    display: none;
  }
  .desktop-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }
  .hamburger-line {
    width: 30px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 10px;
    transition: all 0.3s linear;
  }

  /* Stil za otvoreni meni (dropdown stil) - OSTAJE ISTI KAKO STE ŽELJELI */
  .main-nav.mobile-menu-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    background: var(--color-white);
    padding: 30px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eee;
  }
  .main-nav.mobile-menu-open ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
  }
  .main-nav.mobile-menu-open a {
    color: var(--color-dark);
    font-size: 1.1rem;
  }
  .main-nav.mobile-menu-open .mobile-menu-cta {
    display: block;
    text-align: center;
  }

  /* Animacija za "X" ikonicu */
  .mobile-menu-toggle.open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  .mobile-menu-toggle.open .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* --- POPRAVAK FOOTERA --- */
  .footer-col {
    text-align: center;
  }
  .contact-list {
    display: inline-block;
    text-align: left;
  }

  /* --- POPRAVAK SPECIFIČNIH SEKCIJA --- */
  .testimonial-intro,
  .our-space-grid .space-image {
    margin-bottom: 40px;
    text-align: center;
  }
  .our-space-grid .space-image {
    order: -1;
  }
  .hero-text-box {
    padding: 0 20px;
  }
  .hero-text-box h1 {
    font-size: 2.2rem;
  }
  .hero-text-box .hero-subtitle {
    font-size: 1.2rem;
  }
}

/* Globalno: spriječi horizontalni scroll zbog sub-piksela */
html,
body {
  overflow-x: hidden;
}

/* --- FIKSNA TRAKA NA DNU ZA MOBILNE UREĐAJE --- */
.mobile-sticky-footer {
  display: none; /* desktop: sakrij */
}

@media (max-width: 900px) {
  .mobile-sticky-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;

    /* Umjesto width:100%, koristi lijevo+desno da izbjegneš prelivanje */
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    /* Širinu prepusti left/right, pa ne treba width */
    /* width: 100%;  <-- ukloniti */

    min-height: 60px;
    padding: 10px 12px;

    /* Uključimo iPhone notch/safe-area da ne “gura” širinu/visinu */
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);

    background: var(--color-light);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;

    /* Stabilizacija rendera protiv sub-piksel “treperenja” */
    box-sizing: border-box;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
  }

  .mobile-sticky-footer a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
  }

  /* Da sadržaj ne upada ispod fiksne trake */
  body {
    padding-bottom: 80px;
  }
}

/* === Kompaktniji hamburger meni === */
.main-nav.mobile-menu-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  width: 85%; /* uži meni, ne zauzima cijeli ekran */
  max-width: 320px; /* ograniči širinu */
  position: absolute;
  top: 100%;
  left: 20px; /* prema lijevo */
}

/* Linkovi u meniju */
.main-nav.mobile-menu-open ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

/* CTA dugme (Zakažite Termin) ide na dno */
.main-nav.mobile-menu-open .mobile-menu-cta {
  margin-top: auto; /* gura ga na dno kontejnera */
  align-self: stretch; /* zauzima punu širinu */
  text-align: center;
}

/* Sakrivamo novo dugme na desktopu */
.mobile-menu-cta {
  display: none;
}
@media (max-width: 900px) {
  /* Prikazujemo ga samo na mobilnom unutar otvorenog menija */
  .main-nav.mobile-menu-open .mobile-menu-cta {
    display: block;
  }
}

/* ISPRAVKA BOJE "X" IKONICE */
/* Pronađite i zamijenite pravilo za .mobile-menu-toggle.open .hamburger-line */
.mobile-menu-toggle.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}
.mobile-menu-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
/* Uklonili smo pravilo koje je bojilo "X" u bijelo */

/* === HEADER POPRAVKA – KONAČNA VERZIJA === */

/* Glavni header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Transparentan header samo na početnoj */
.header-transparent {
  background: transparent;
  box-shadow: none;
  position: absolute;
}
.header-transparent.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo i tekst */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Navigacija – desktop */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.main-nav a:hover {
  color: var(--color-accent);
}

/* === HAMBURGER === */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 28px;
  height: 22px;
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 1001;
}
.mobile-menu-toggle span {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s;
}

/* Kad se scrolla (header postane bijel) */
.header-transparent.scrolled .mobile-menu-toggle span {
  background: #333;
}

/* Hamburger kao X */
.mobile-menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === MOBILNI MENI === */
@media (max-width: 992px) {
  .main-nav ul {
    display: none;
  }

  .main-nav.mobile-menu-open ul {
    display: flex;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 25px 20px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .main-nav.mobile-menu-open a {
    color: #333;
    font-size: 1.1rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}
/* === POPRAVKA HEADERA NA MOBILNOM === */
@media (max-width: 901px) {
  .header-main .container {
    padding-left: 20px;
    padding-right: 100px;
    /* padding: 10px 20px; */
  }
  .main-header.header-transparent.scrolled .container {
    padding-left: 20px;
    /* padding-right: 100px; */
  }

  .logo-link {
    gap: 8px;
  }

  .site-logo {
    height: 50px;
    max-width: 150px;
    height: auto;
    width: auto;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  /* Hamburger bolji kontrast */
  .mobile-menu-toggle span {
    background-color: #333; /* tamno vidljivo na bijeloj pozadini */
  }

  /* Na transparentnom headeru (početna) bijeli hamburger */
  .header-transparent .mobile-menu-toggle span {
    background-color: #fff;
  }

  /* Kad se skrola (header postane bijel) */
  .header-transparent.scrolled .mobile-menu-toggle span {
    background-color: #333;
  }
}
/* Samo ako header NIJE transparentan (dakle, nije na index.html) */
body:not(.home) .main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Dodaj padding na body tako da sadržaj ne ide ispod headera */
body:not(.home) {
  padding-top: 120px; /* visina headera (možeš podesiti na 130px ako ima top-bar) */
}

@media (max-width: 900px) {
  body:not(.home) {
    padding-top: 100px;
  }
}
/* === TRANSPARENTAN HEADER SAMO NA POČETNOJ === */
body.home .header-transparent {
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: none;
  z-index: 1000;
}

/* Kad se scrolla početna – header postaje bijel */
body.home .header-transparent.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding-top: 2px; /* Podesite vrijednost (npr. smanjite na 10px) */
  padding-bottom: 2px; /* Podesite vrijednost (npr. smanjite na 10px) */
}

/* === NA OSTALIM STRANICAMA HEADER OSTAVLJA RAZMAK === */
body:not(.home) {
  padding-top: 120px; /* visina headera */
}

@media (max-width: 900px) {
  body:not(.home) {
    padding-top: 100px;
  }
}

/* === HEADER GLOBAL === */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  /* padding-right: 100px; */
}

/* === LOGO === */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo {
  height: 80px;
}
.logo-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* === NAVIGACIJA === */
.main-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  color: #222;
}
.main-nav a:hover,
.main-nav a.active {
  color: #c49e6c; /* zlatna nijansa */
}

/* === DROPDOWN MENU === */
.main-nav .has-dropdown {
  position: relative;
}

.main-nav .has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-arrow {
  font-size: 0.6em;
  transition: transform 0.3s ease;
}

.main-nav .has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 0;
  text-align: left !important;
}

.dropdown-menu li {
  list-style: none;
  width: 100%;
  text-align: left !important;
}

.dropdown-menu li a {
  display: block;
  width: 100%;
  text-align: left !important;
  justify-content: flex-start !important;
}

.main-nav .has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #333 !important;
  font-size: 0.95rem;
  font-weight: 400;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: left !important;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
  color: var(--color-accent) !important;
  text-decoration: none;
}

/* === TRANSPARENTAN HEADER NA INDEXU === */
body.home .header-transparent {
  background: transparent;
  box-shadow: none;
  position: absolute;
}
body.home .header-transparent .logo-text,
body.home .header-transparent .main-nav a {
  color: #fff;
}
body.home .header-transparent.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
body.home .header-transparent.scrolled .logo-text,
body.home .header-transparent.scrolled .main-nav a {
  color: #222;
}

/* === OSTALE STRANICE === */
body:not(.home) {
  padding-top: 100px; /* da sadržaj ne ide ispod headera */
}
body:not(.home) .main-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* === HAMBURGER – SAMO NA MOBILNOM === */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px; /* više prostora između crtica */
  background: transparent;
  border: none;
  cursor: pointer;
}
.mobile-menu-toggle span {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}
body.home .header-transparent.scrolled .mobile-menu-toggle span,
body:not(.home) .mobile-menu-toggle span {
  background: #222;
}

/* Hamburger animacija */
.mobile-menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === MOBILNA VERZIJA === */
@media (max-width: 992px) {
  .main-nav ul {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 25px 20px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }

  .main-nav.mobile-menu-open ul {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav a {
    color: #222;
    font-size: 1.1rem;
  }

  /* Mobile dropdown styles */
  .main-nav .has-dropdown {
    position: relative;
  }

  .main-nav .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: #f8f8f8;
    border-radius: 6px;
    margin-top: 10px;
    padding: 5px 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .main-nav .has-dropdown.mobile-open .dropdown-menu {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    padding: 10px 0;
  }

  .main-nav .has-dropdown:hover .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
  }

  .main-nav .has-dropdown.mobile-open:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
  }

  .dropdown-menu a {
    padding: 8px 15px;
    font-size: 0.95rem;
  }

  .main-nav .has-dropdown.mobile-open .dropdown-arrow {
    transform: rotate(180deg);
  }
}
/* === Popravka: vidljiv meni u mobilnoj verziji kad je header transparentan === */

/* Kada je otvoren meni na početnoj (transparentni header) */
body.home .header-transparent .main-nav.mobile-menu-open a {
  color: #222 !important; /* tamna slova, vidljiva na bijeloj pozadini */
}

/* Da bude konzistentno i kad se skrola */
body.home .header-transparent.scrolled .main-nav.mobile-menu-open a {
  color: #222 !important;
}
.main-nav.mobile-menu-open {
  animation: fadeMenu 0.25s ease;
}

@keyframes fadeMenu {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === ANIMACIJA ZA SEKCIJU ISKUSTAVA PACIJENATA === */
.video-testimonial-section {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s ease-out;
  will-change: opacity, transform;
}

/* Kad se pojavi u viewportu */
.video-testimonial-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === ANIMACIJA NASLOVA NA PODSTRANICAMA === */
.page-title-section h1 {
  position: relative;
  font-size: 3rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

/* mala animirana linija ispod naslova (bež ton umjesto narandžaste) */
.page-title-section h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #c9b48a; /* topla bež nijansa - u skladu sa "Zakažite termin" dugmetom */
  border-radius: 3px;
  animation: underlineGrow 1.2s ease forwards 0.6s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* suptilna sjena za dubinu */
}

/* animacija podnaslova */
.page-title-section p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards 0.8s;
  color: #444;
}

/* keyframes */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes underlineGrow {
  to {
    width: 80px;
  }
}

/* === UNIVERZALNE ANIMACIJE ZA SEKCIJE === */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.9s ease-out;
}
.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.9s ease-out;
}
.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s ease-out;
}
.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

.social-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* === KONTRASTNI HOVER EFEKTI === */
.btn-primary:hover {
  background-color: #2a4a6e; /* tamno plava */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(42, 74, 110, 0.25);
}

.btn-outline:hover {
  background: #2a4a6e;
  color: #fff;
  border-color: #2a4a6e;
  box-shadow: 0 4px 10px rgba(42, 74, 110, 0.25);
}

a:hover {
  color: #2a4a6e;
  transition: color 0.3s ease;
}

/* --- Glavni raspored (60/40) --- */
.implanto-flex {
  display: flex;
  flex-wrap: wrap; /* Za prelamanje na mobitelu */
  align-items: center;
  gap: 40px; /* Razmak između kolona */
}

.slider-column-60 {
  flex: 1 1 55%; /* Zauzima ~60% */
  min-width: 300px; /* Minimalna širina */
}

.info-column-40 {
  flex: 1 1 35%; /* Zauzima ~40% */
  min-width: 300px;
}

/* Na manjim ekranima (npr. mobitel), slaže kolone jednu ispod druge */
@media (max-width: 991px) {
  .implanto-flex {
    flex-direction: column;
  }
  .slider-column-60 {
    width: 100%;
    order: 1; /* Slider prvi */
  }
  .info-column-40 {
    width: 100%;
    order: 2; /* Tekst drugi */
  }
  .social-link1 span {
    display: none;
  }
}

/* --- Stilovi za Swiper Slider --- */

.usluge-swiper {
  width: 100%;
  height: 480px; /* Povećana visina za "vertikalni" osjećaj */

  /* KLJUČNO: Dozvoljava da se susjedni slajdovi vide */
  overflow: visible !important;
}

.swiper-slide {
  background-position: center;
  background-size: cover;

  /* Definišemo "vertikalnu" karticu */
  width: 300px; /* Fiksna širina */
  height: 420px; /* Visina je manja od kontejnera da stane */

  border-radius: 16px;
  overflow: hidden;

  /* Početno stanje (sa strane) */
  opacity: 0.6;
  transform: scale(0.85);
  transition: transform 0.4s ease, opacity 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Aktivni (centralni) slajd */
.swiper-slide-active {
  opacity: 1;
  transform: scale(1); /* Vraća na punu veličinu */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Sadržaj unutar slajda */
.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  box-sizing: border-box; /* Da padding ne utiče na širinu */
  color: #000000;

  /* Bijeli gradijent da tekst bude čitljiv */
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.95) 100%
  );
}

.slide-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

/* --- OVDJE JE TRIK --- */

/* 1. Sakrijemo paragraf (<p>) na SVIM slajdovima */
.slide-content p {
  font-size: 15px;
  line-height: 1.4;
  margin-top: 8px;
  opacity: 0; /* Sakrijemo */
  transform: translateY(10px); /* Blagi efekt */
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
  height: 0; /* Potpuno sakrivanje */
  overflow: hidden;
}

/* 2. Prikazujemo paragraf SAMO na AKTIVNOM slajdu */
.swiper-slide-active .slide-content p {
  opacity: 1;
  transform: translateY(0);
  height: auto; /* Vraćamo visinu (npr. 40px, ili 'auto' ako varira) */
}

/* --- Stilovi za Desnu Kolonu (primjer) --- */
.info-column-40 h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}
.info-column-40 p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.info-column-40 ul {
  list-style: none; /* Uklanja tačkice */
  padding-left: 0;
  margin-bottom: 25px;
}
.info-column-40 ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}
/* Dodaje "kvačicu" */
.info-column-40 ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #c0a071; /* Neka premium boja, npr. zlatna */
}
.info-column-40 {
  /* ... vaši postojeći stilovi ... */

  /* KLJUČNI DODACI: */
  position: relative; /* Obavezno da bi z-index radio */
  z-index: 10; /* Podiže ovu kolonu iznad ostalih elemenata */
  background-color: #ffffff; /* OBAVEZNO: Postavite boju pozadine 
                               (vjerovatno bijelu) da sakrije slajd iza sebe */
}
.slider-column-60 {
  /* ... vaši postojeći stilovi ... */

  /* DODATAK: */
  overflow: hidden; /* Odsijeca sve što prelazi granice ove kolone */
}

/* --- Sekcija sa slajderom usluga --- */
.usluge-slider-section {
  margin-top: 80px; /* <--- OVO JE RAZMAK KOJI STE TRAŽILI */

  /* Možete dodati i razmak ispod sekcije ako želite */
  /* margin-bottom: 80px; */
}

/* ======================================= */
/* ====== Bijeli Kosi Prijelaz (O Nama) === */
/* ======================================= */
.white-diagonal-transition {
  position: relative;
  background-color: #fff; /* Bijela boja prijelaza */
  height: 100px; /* Podesite visinu po potrebi */
  /* Koristimo clip-path za kosi gornji rub */
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
  z-index: 1; /* Da bude iznad tamne sekcije ako je potrebno */
  margin-top: -50px; /* Povucite ga malo gore da se preklopi sa gornjom sekcijom */
}

/* Prilagodbe za sliku koja iskače (unutar about-page-content) */
.about-page-content {
  position: relative; /* Bitno za z-index slike */
  z-index: 2; /* Da bude iznad bijelog prijelaza */
  background-color: var(--color-dark-blue); /* Boja sekcije ispod prijelaza */
  padding-top: 50px; /* Daje prostor ispod prijelaza */
  padding-bottom: 80px; /* Primjer paddinga */
}

.about-page-content .feature-image {
  position: relative;
  z-index: 3; /* Slika iskače iznad svih */
  /* Možda ćete morati prilagoditi marginu za sliku */
  margin-top: -100px; /* Primjer, podesite ovo da slika ulazi u bijeli dio */
  /* Dodajte box-shadow za bolji efekat iskaknjea */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 10px; /* Ako želite zaobljene ivice za sliku */
  overflow: hidden; /* Osigurava da shadow ne ide preko clip-path-a ako je slika veca */
}

.about-page-content .doctor-image img, /* Ako koristite klasu doctor-image */
.about-page-content .feature-image img {
  /* Ako koristite klasu feature-image */
  display: block; /* Da uklonite dodatni prostor ispod slike */
  width: 100%;
  height: auto;
}

/* Prilagodite gornju sekciju ako je potrebno da joj se ne vidi donji rub */
.page-title-section {
  position: relative;
  z-index: 0; /* Da bude ispod prijelaza */
  /* Dajte joj padding-bottom da se bijeli prijelaz može preklopiti */
  padding-bottom: 80px; /* Podesite prema visini prijelaza i margin-top */
  background-color: var(--color-brown); /* Pretpostavljena boja */
}

/* Opcionalno: prilagodba za responsive */
@media (max-width: 768px) {
  .white-diagonal-transition {
    height: 60px; /* Manja visina na mobilnim */
    margin-top: -30px;
  }
  .about-page-content .feature-image {
    margin-top: -60px; /* Prilagodba za sliku */
  }
  .page-title-section {
    padding-bottom: 60px;
  }
}

/* =========================================== */
/* === Bijeli Kosi Prijelaz 2 (Kontra Smer) == */
/* =========================================== */
.white-diagonal-transition_2 {
  position: relative;
  background-color: #fff; /* Bijela boja prijelaza */
  height: 100px; /* Podesite visinu po potrebi, isto kao i prvi */
  /* Novi clip-path za kontra kosi gornji rub */
  /* Počinje od 0% (lijevo) na 0% (vrh) i ide do 100% (desno) na 50% (polovina visine) */
  clip-path: polygon(0 0, 100% 50%, 100% 100%, 0% 100%);
  z-index: 1; /* Da bude iznad tamne sekcije ako je potrebno */
  margin-top: -50px; /* Povucite ga malo gore da se preklopi sa gornjom sekcijom */
}

/* Opcionalno: prilagodba za responsive */
@media (max-width: 768px) {
  .white-diagonal-transition_2 {
    height: 60px; /* Manja visina na mobilnim */
    margin-top: -30px;
  }
}

/* --- STILOVI ZA SOCIAL IKONE U TOP BAR-u --- */

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 20px; /* Razmak između "Instagram" i "Facebook" linka */
}

/* Koristimo postojeće klase iz vašeg footera (.social-link, .social-icon)
  ali ih prilagođavamo za top-bar.
*/

.top-bar-social .social-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #666; /* Boja teksta u top-baru */
  font-weight: 500;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.top-bar-social .social-link:hover {
  color: #000; /* Tamnija boja na hover */
  text-decoration: none;
}

.top-bar-social .social-icon {
  height: 18px;
  width: 18px;
  margin-right: 6px;
  /* --- DODAJ OVO --- */
  vertical-align: middle;
  /* ----------------- */
  filter: grayscale(50%);
  transition: filter 0.3s ease;
}

.top-bar-social .social-link:hover .social-icon {
  filter: none; /* Vraća boju na hover */
}

/* --- STIL ZA RESPONZIVNI VIDEO EMBED --- */

/* Wrapper (omot) oko iframe-a */
.video-embed-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 56.25%; /* Odnos stranica 16:9 (9 / 16 * 100) */
  margin: 30px 0; /* Razmak iznad i ispod videa */
  border-radius: 12px; /* Zaobljeni uglovi kao na slici */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Sam video */
.video-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Stil za stranicu Usluge --- */
.services-teaser-section {
  margin-top: 0;
  background-color: #ffffff; /* Bijela pozadina */
  /* Možda želite malo razmaka, ako je previše zalijepljeno za naslov */
  padding-top: 80px;
}

/* --- Stil za CTA Banner (Poziv na Akciju) --- */
.cta-banner-section {
  padding: 80px 0;
  margin-top: 80px; /* Razmak od sekcije iznad */
  background-color: var(--color-primary); /* Vaša tamno plava */
  color: var(--color-white);
  text-align: center;

  /* Možete dodati i pozadinsku sliku kao na 'feature-section' */
  /*
  position: relative;
  background-image: url('../images/backgroundfuture.jpg');
  background-size: cover;
  background-position: center;
  */
}

.cta-banner-section h2 {
  font-size: 2.5rem;
  color: var(--color-white);
  margin-bottom: 20px;
}

.cta-banner-section p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px auto;
  opacity: 0.9;
}

.cta-banner-section .btn-primary {
  /* Dugme je već stilizirano, ali možemo ga povećati */
  padding: 14px 32px;
  font-size: 1.1rem;
}

/* ======================================= */
/* === Sekcija "Zašto Nas" === */
/* ======================================= */
.why-us-section {
  padding: 100px 0;
  background-color: var(--color-light); /* Svijetla pozadina (npr. #F8F9FA) */
}

/* Naslov sekcije (vjerovatno već imate ovaj stil) */
.section-title-center {
  text-align: center;
  margin-bottom: 60px;
}
.section-title-center h2 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}
.section-title-center p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Mreža sa razlozima */
.why-us-grid {
  display: grid;
  /* 3 kolone na desktopu */
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-us-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  text-align: center;
  border-top: 4px solid var(--color-primary); /* Akcentna linija u boji */
}

.why-us-item img {
  height: 50px; /* Podesite visinu vaše ikonice */
  margin-bottom: 20px;
}

.why-us-item h4 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.why-us-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive za tablete i mobitele */
@media (max-width: 992px) {
  .why-us-grid {
    /* 2 kolone na tabletu */
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-us-grid {
    /* 1 kolona na mobitelu */
    grid-template-columns: 1fr;
  }
}

/* --- Stil za Uvodni Tekst (O Nama stranica) --- */
.about-intro-text {
  padding-top: 80px; /* Razmak od naslova iznad */
  background-color: #fff; /* Bijela pozadina */
}

.about-intro-text .container {
  max-width: 800px; /* Da tekst ne bude preširok */
  margin: 0 auto;
  text-align: center; /* Centriramo sav tekst */
}

.about-intro-text h3 {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  font-weight: 600;
}

.about-intro-text p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ======================================= */
/* === Uređivanje Uvodnog Teksta (O Nama) === */
/* ======================================= */

/* 1. Mijenjamo pozadinu i dodajemo malo više prostora */
.about-intro-text {
  background-color: var(--color-light); /* Vaša svijetlo siva/bež pozadina */
  padding-top: 100px;
  padding-bottom: 80px;
}

/* 2. Poravnavamo tekst i naslov */
.about-intro-text .container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* 3. Stiliziramo naslov H3 */
.about-intro-text h3 {
  font-size: 2.2rem; /* Malo veći naslov */
  color: var(--color-primary);
  margin-bottom: 35px; /* Pravimo prostor za liniju */
  font-weight: 600;
  position: relative; /* Potrebno za liniju */
}

/* 4. Dodajemo ukrasnu liniju (istu kao na naslovu stranice) */
.about-intro-text h3::after {
  content: "";
  position: absolute;
  bottom: -15px; /* Pozicija linije ispod naslova */
  left: 50%;
  transform: translateX(-50%);
  width: 70px; /* Širina linije */
  height: 3px;
  background: #c9b48a; /* Zlatno-bež boja (ista kao 'active' link) */
  border-radius: 3px;
}

.about-intro-text p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}
/* 1. OSNOVNO STANJE (prije skrolanja) */
/* (Selektor je "main-header header-transparent") */

.main-header.header-transparent .logo-scrolled {
  display: none; /* Odmah sakrij skrolani logo */
}

.main-header.header-transparent.scrolled .site-logo {
  display: none;
}
.main-header.header-transparent.scrolled .logo-scrolled {
  display: inline-block;
}

/* podešavanje ikonice  */
.main-header.header-transparent .isntalogo-scrolled {
  display: none;
}
.main-header.header-transparent .insta-scrolled {
  display: none;
}
.main-header.header-transparent.scrolled .social-link1 {
  display: none;
}
.main-header.header-transparent.scrolled .isntalogo-scrolled {
  display: inline-block;
}
.main-header.header-transparent.scrolled .insta-scrolled {
  display: inline-block;
}

/* Glavni kontejner */
.language-switcher {
  position: relative;
  display: inline-block;
  margin-left: 15px; /* Opcionalno: Dodajte malo razmaka od ostalih stavki menija */
}

/* Dugme za trenutni jezik */
.current-language-btn {
  background: transparent;
  border: none; /* Možete staviti '1px solid #ccc' ako želite ivicu */
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-family: inherit;
  font-size: 16px;
  color: inherit; /* Da naslijedi boju teksta iz headera */
}

/* Stil za ikone zastava */
.flag-icon {
  width: 22px;
  height: auto;
  margin-right: 8px;
  border-radius: 3px; /* Zaobljeni rubovi zastava */
}

/* Ikona strelice */
.arrow-icon {
  margin-left: 10px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* Rotacija strelice kada je meni otvoren */
.language-switcher.active .arrow-icon {
  transform: rotate(180deg);
}

/* Padajući meni */
.language-dropdown {
  display: none; /* Sakriven po defaultu */
  position: absolute;
  top: 100%; /* Odmah ispod dugmeta */
  right: -5;
  background-color: white;
  border: 1px solid #eee;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  list-style: none;
  padding: 5px 0;
  margin: 0;
  min-width: 130px; /* Minimalna širina */
  z-index: 1000;
}

/* Pokaži meni kada .language-switcher ima klasu "active" */
.language-switcher.active .language-dropdown {
  display: block;
}

/* Stil za linkove u meniju */
.language-dropdown li a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  text-decoration: none;
  color: #333; /* Boja teksta unutar menija */
  transition: background-color 0.2s ease;
  font-size: 15px;
}

.language-dropdown li a:hover {
  background-color: #f5f5f5; /* Boja pozadine pri prelasku mišem */
}
/* === Pravila za Mobilni Header === */

/* Ova pravila se aktiviraju SAMO na ekranima širine 991px ili manje */
@media (max-width: 991px) {
  /* ▼▼▼ NOVO: Smanjivanje logotipa ▼▼▼ */
  .site-logo {
    max-height: 45px;
    max-width: 150px;
  }

  /* 1. Sakrij desktop navigaciju i dugme */
  .main-nav {
    display: none;
  }
  .desktop-cta {
    display: none;
  }

  /* 2. Pokaži "hamburger" ikonu */
  .mobile-menu-toggle {
    display: auto;
    margin-left: 10px;
  }

  /* 3. Gurni grupu ikona udesno */
  .language-switcher {
    margin-left: auto;
  }

  /* 4. Sakrij tekst na socijalnim ikonama */
  .top-bar-social .social-link span {
    display: none;
  }

  /* 5. Smanji razmak oko socijalnih ikona */
  .top-bar-social .social-link {
    padding: 0 5px;
  }
}
body.home .header-transparent.scrolled a {
  color: #222;
}
.current-language-btn {
  color: #f7f3f3;
}
.current-language-btn .language {
  color: #222;
}
.header-transparent.scrolled .current-language-btn {
  color: #222;
}
.main-header.scrolled .hamburger-line {
  /* Odaberite boju koja vam odgovara */
  background-color: #333; /* Tamno siva */
}
.modal {
  display: none; /* Sakriven po defaultu */
  position: fixed; /* Ostaje na mjestu i kad se skrola */
  z-index: 1001; /* Da bude iznad svega (osim možda headera) */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Omogućava skrolanje ako je sadržaj predug */
  background-color: rgba(0, 0, 0, 0.6); /* Crna prozirna pozadina */

  /* Koristimo Flexbox da centriramo kutiju */
  align-items: center;
  justify-content: center;
}

/* Klasa koju dodaje JavaScript da prikaže modal */
.modal.active {
  display: flex;
}

/* Sadržaj modala (bijela kutija) */
.modal-content {
  background-color: #fff;
  color: #333;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;

  width: 90%; /* Širina na mobilnom */

  /* ▼▼▼ PITANJE 2: PROŠIRENJE PROZORA ▼▼▼ 
    Povećajte ovu vrijednost da proširite prozor na desktopu.
    Bilo je 600px, sada je 800px.
  */
  max-width: 800px;

  /* ▼▼▼ PITANJE 1: DODAVANJE SCROLLA ▼▼▼
    Ova dva reda će automatski dodati scrollbar 
    unutar prozora ako tekst postane predugačak.
  */
  max-height: 80vh; /* Maksimalna visina (80% visine ekrana) */
  overflow-y: auto; /* Dodaj vertikalni scroll samo ako je potrebno */

  /* Animacija za pojavljivanje */
  animation: fadeIn 0.3s ease-out;
}

/* 'X' dugme za zatvaranje */
.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-btn:hover,
.close-btn:focus {
  color: #000;
  text-decoration: none;
}

/* Opcionalna animacija */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* === STIL ZA "PROČITAJ VIŠE" DUGME === */

.btn-procitaj-vise {
  display: inline-block; /* Omogućava da poštuje padding i margin */
  background-color: var(--color-light); /* Vaša narandžasta/zlatna boja */
  color: var(black); /* Bijeli tekst */

  padding: 10px 20px; /* Unutrašnji razmak (visina i širina) */
  border-radius: 5px; /* Zaobljeni ćoškovi */

  border: none; /* Uklanja standardni obrub dugmeta */
  cursor: pointer; /* Mijenja kursor u "ruku" */

  font-family: var(--font-main); /* Koristi vaš glavni font (Poppins) */
  font-size: 1rem; /* Veličina teksta */
  font-weight: 600; /* Malo deblji tekst */

  text-decoration: none; /* Uklanja podvučenu liniju (ako je link) */

  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Efekat kada se pređe mišem preko dugmeta */
.btn-procitaj-vise:hover {
  background-color: #c9b48a; /* Malo tamnija nijansa vaše akcentne boje */
  transform: translateY(-2px); /* Malo "podigne" dugme */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* Unutar @media (max-width: 900px) { ... } */

/* === STILOVI ZA MODAL NA MOBILNOM === */

.modal-content {
  /* 1. Smanjujemo unutrašnji razmak da stane više teksta */
  padding: 20px;
  /* padding-left: 10px; */
  left: 10%;
  position: absolute;

  /* 2. Dozvoljavamo da bude malo viši na mobilnom (90% visine ekrana) */
  max-height: 90vh;

  /* 3. Osiguravamo da je širina 90% ekrana (ovo je već bilo, ali dobro je potvrditi) */
  width: 70%;
}

/* 4. Opcionalno: Smanjimo 'X' dugme i pomjerimo ga bliže ivici */
.close-btn {
  top: 5px;
  right: 10px;
}

/* ... zatvorite } od @media */
/* Sekcija: Vaš Put do Novog Osmijeha */
/* Sekcija "Vaš Put do Novog Osmijeha" */
.how-it-works-section {
  position: relative;
  z-index: 2;
  margin-bottom: 100px;
  background-color: #f8fafc;
}

/* Sekcija "Spremni za Osmijeh Koji Zaslužujete" */
.cta-banner-section {
  position: relative;
  z-index: 1;
  margin-top: 0 !important;
  padding: 100px 0;
  background-color: #12336b; /* tamno plava, elegantna */
  color: #fff;
  text-align: center;
  transition: background-color 0.3s ease-in-out;
}

/* Opcionalno: lagani fade prijelaz između sekcija */
.how-it-works-section::after {
  content: "";
  display: block;
  height: 80px;
  background: linear-gradient(to bottom, #f8fafc 0%, #12336b 100%);
}
.contact-form-section {
  margin: 80px 0;
  text-align: center;
}

.contact-form-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #12336b;
}

.contact-form-section p {
  color: #555;
  margin-bottom: 40px;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #12336b;
  outline: none;
}

.contact-form button {
  margin-top: 20px;
  background-color: #12336b;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #0f2c5c;
}
.inline-zastava {
  height: 1em;
  width: auto;
  vertical-align: middle;
  margin: 0 5px;
}
@media (max-width: 768px) {
  .team-text h2,
  .about-intro-video h2,
  .cta-banner-section h2,
  .how-to-text h2,
  h2 {
    font-size: 28px;
    line-height: 1.25;
  }
  h1 {
    font-size: 32px;
    line-height: 1.25;
  }
  .about-intro-text h3,
  h3 {
    font-size: 24px;
    line-height: 1.25;
  }
  p {
    font-size: 18px;
    line-height: normal;
  }

  .cta-banner-section {
    padding: 10 20px;
    margin-top: 20px; /* Razmak od sekcije iznad */
    background-color: var(--color-primary); /* Vaša tamno plava */
    color: var(--color-white);
    text-align: center;
  }
  .works-item {
    position: left;
  }
  .works-item h4 {
    font-size: 15px;
  }
  .works-item p {
    font-size: 9px;
    text-align: center;
  }
  .work-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolone standardno */
    gap: 30px;
    width: 100%; /* Osigurava da grid ne bude širi od ekrana */
    max-width: 100%; /* Dodatni osigurač za overflow */
    grid-template-columns: 1fr !important;
  }
  .main-nav.mobile-menu-open {
    border-radius: 0 0 0px 0px;
  }
  .doctor-text h2 {
    font-size: 24px;
    line-height: 1.25;
  }
  .doctor-text blockquote {
    font-size: 18px;
  }
  .link-arrow {
    color: #000;
  }
  .feature-text h2 {
    font-size: 24px;
    line-height: 1.25;
  }
  .section-title-center h2 {
    font-size: 24px;
    line-height: 1.25;
  }
  .space-text h2 {
    font-size: 24px;
    line-height: 1.25;
  }
  .testimonial-intro h2 {
    font-size: 24px;
    line-height: 1.25;
  }
  .top-bar-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 40px;
  }
  .top-bar-social .social-icon {
    height: 24px;
    width: 24px;
  }
}

/* === BIOGRAFIJA PAGE STYLES === */

/* Bio Intro Section */
.bio-intro {
  padding: 80px 0;
  background: #fff;
}

.bio-intro-content {
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
}

.bio-intro-text {
  flex: 1 1 500px;
}

.bio-intro-text h2 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.bio-intro-text h3 {
  font-size: 1.3rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 25px;
}

.bio-intro-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.bio-intro-image {
  flex: 1 1 350px;
  max-width: 400px;
}

.bio-intro-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Timeline Section */
.timeline-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f6f3 0%, #fff 100%);
}

.timeline-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 60px;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-primary));
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-item:nth-child(even) {
  text-align: left;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.timeline-year {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 5px 20px rgba(196, 158, 108, 0.4);
}

.timeline-content {
  width: 45%;
  background: #fff;
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
  margin-left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 55%;
}

.timeline-content h3 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* Expertise Section */
.expertise-section {
  padding: 100px 0;
  background: #fff;
}

.expertise-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 60px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.expertise-card {
  background: linear-gradient(135deg, #f8f6f3 0%, #fff 100%);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.expertise-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.expertise-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.expertise-card h3 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.expertise-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* Education Section */
.education-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f6f3 0%, #fff 100%);
}

.education-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 50px;
}

.education-timeline {
  max-width: 900px;
  margin: 0 auto;
}

.education-year-group {
  margin-bottom: 40px;
  background: #fff;
  padding: 30px 40px;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.05);
  border-left: 4px solid var(--color-accent);
}

.education-year {
  font-size: 1.4rem;
  color: var(--color-accent);
  margin-bottom: 20px;
  font-weight: 700;
}

.education-list {
  list-style: none;
  padding: 0;
}

.education-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.education-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: var(--color-primary);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .bio-intro-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .bio-intro-image {
    max-width: 300px;
  }
  
  .bio-intro-text h2 {
    font-size: 2rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: column;
    text-align: left;
  }
  
  .timeline-marker {
    position: relative;
    left: 0;
    transform: none;
    margin-bottom: 15px;
  }
  
  .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    width: 100%;
    margin-left: 40px;
    margin-right: 0;
  }
  
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .education-year-group {
    padding: 20px 25px;
  }
}

@media (max-width: 480px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-title,
  .expertise-section h2,
  .education-section h2 {
    font-size: 1.8rem;
  }
}

/* Country flag icons in education list */
.education-list li .country-flag {
  width: 20px;
  height: 14px;
  margin-left: 6px;
  vertical-align: middle;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
