/*
Theme Name: stitnjaca
Template: kadence
Version: 1.0.0
*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Raleway", sans-serif !important;
}
/* home */
#masthead,
.k-header-sticky #masthead {
    background: #3b083b !important;
    transition: none !important; /* sprečava fade ili promenu boje */
    position: sticky !important;
    top: 0;
    z-index: 999 !important;
}
.section-title, .post-title a{
    color: #4a1143 !important;
}
.hero-section {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  width: 100%;
  height: 85vh; /* visina hero sekcije */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

/* Tamna providna pozadina preko slike */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tekstualni sadržaj */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.title-specific h5 {
    color: #952487;
    font-family: "Franklin Gothic Medium Cond", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    font-size: 14px ;
}

/* COOL WHITE GRADIENT SEPARATOR */
.white-gradient-separator {
    width: 100%;
    height: 4px;
    margin: 25px 0 40px 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 10px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* Dugme */
.hero-button {
  background: #fcb900;
  color: #000;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background: #fff;
  color: #d1540;
}

.hero-overlay {
  background: rgba(0, 57, 107, 0.45);
}

.hero-button {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.9);
}

.usluge-wrapper {
  width: 100%;
  position:relative;
}

.usluga-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  height: 250px;
  cursor: pointer;
  background: #f6f6f6;
}

.usluga-card a {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.usluga-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .45s ease;
}
.usluga-text{
font-size: 14px;
}

/* Donji bar */
.usluga-title-bar {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #94258c;
  color: #fff;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: 600;
  transition: transform .45s ease, opacity .45s ease;
}

/* Hover overlay */
.usluga-hover {
  position: absolute;
  inset: 0;
  background: #94258c;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  opacity: 0;
  transform: translateY(20%);
  transition: all .45s ease;
}

.usluga-price {
  font-size: 22px;
  font-weight: 700;
}

.more-btn {
  font-weight: 600;
  text-decoration: underline;
  margin-top: 10px;
}

/* Hover efekti */
.usluga-card:hover .usluga-bg {
  transform: scale(1.12);
}

.usluga-card:hover .usluga-title-bar {
  transform: translateY(-100%);
  opacity: 0;
}

.usluga-card:hover .usluga-hover {
  opacity: 0.9;
  transform: translateY(0);
}



/*slider*/


/* Na manjim ekranima (ispod 768px) */
/* MOBILNI */
@media (max-width: 768px) {

    .swiper-container {
        height: 250px;
        margin: 0 20px;
    }
    .thyroid-post-card {
        height: 250px;
        margin: 0 20px;
    }
    .thyroid-swiper-slide {
            width: 100%; /* jedno po jedno */
            margin: 0;
        }

    .usluga-card {
        width: 100%; /* jedno po jedno */
        margin: 0;
    }

    .swiper-button-next, .swiper-button-prev {
        display: block !important;
        color: #94258c !important;
    }
}

/* DESKTOP */
@media (min-width: 768px) {

    .swiper-wrapper {
        display: flex;
        gap: 20px;
        justify-content: center;
    }

    .swiper-slide {
        flex: 0 0 calc(20% - 30px) !important; /* 5 u redu */
           height: auto;
    }

    .swiper-button-next, .swiper-button-prev {
        display: none !important;
    }
    .usluga-card{
    height: 250px !important;}
}







/* GRID SEKCIJA */
.post-grid-section {
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: #00396B;
}

/* GRID SEKCIJA */
.post-grid-section {
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: #00396B;
}

/* GRID */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.related-posts-grid{
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) !important;
}

/* KARTICA - PREMIUM STYLE */
.post-card {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;

  overflow: hidden;
  display: flex;
  flex-direction: column;

  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.15);
}

/* SLIKA sa FANCY hover efektom */
.post-thumb {
  overflow: hidden;
}

.post-thumb img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.post-card:hover .post-thumb img {
  transform: scale(1.06);
}

/* SADRŽAJ */
.post-content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* NASLOV – jednake visine */
.post-title {
  font-size: 1.28rem;
  font-weight: 600;
  margin-bottom: 14px;
  min-height: 60px;
  color: #00396B;
}

.post-title a {
  color: inherit;
  text-decoration: none;
}

/* TEKST – isto visina */
.post-excerpt {
  color: #444;
  line-height: 1.55;
  margin-bottom: 22px;
  flex-grow: 1;
}

.post-button {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  background: #94258c;
  color: #fff;
  transition: all 0.3s ease;
  text-align: center;
  margin-top: auto;
  box-shadow: 0 4px 14px rgba(148, 37, 140, 0.25);
}

.post-button:hover {
  background: #fece86;
  color: #000;
  box-shadow: 0 6px 20px rgba(254, 206, 134, 0.45);
}
/*slider stitnjaca*/




/* social bar */
.social-bar {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.social-bar {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.social-bar a, button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #b37bbf;
  color: #3b083b;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.social-bar a:nth-child(1):hover {
  background: #92278f;
  border-color: #92278f;
  color: #fff;
  box-shadow: 0 4px 12px rgba(146, 39, 143, 0.4);
}

.social-bar a:nth-child(2):hover {
  background: #d18cc0;
  border-color: #d18cc0;
  color: #fff;
  box-shadow: 0 4px 12px rgba(209, 140, 192, 0.4);
}

.social-bar a:nth-child(3):hover {
  background: #a42b49;
  border-color: #a42b49;
  color: #fff;
  box-shadow: 0 4px 12px rgba(164, 43, 73, 0.4);
}

/* Responsive: sakrij na malim ekranima */
@media (max-width: 768px) {
  .social-bar {
    display: none;
  }
}
/* kontakt */
.contact-colored {
  background: #fff;
  padding: 80px 20px;
  font-family: "Raleway", sans-serif;
}

.contact-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 3px solid var(--global-palette3, #0077b6);
  display: inline-block;
  margin: 0 auto 50px;
  padding-bottom: 10px;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch;
}

.contact-form-box {
  flex: 1 1 400px;
  background: #94258c;
  color: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.contact-form-box h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-align: center;
  color: #fff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 10px;
  font-family: "Raleway", sans-serif;
  font-size: 0.95rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666;
}

.contact-form button {
  background: #fff;
  color: var(--global-palette3, #0077b6);
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.contact-form button:hover {
  background: #4a1143;
  color: #fff;
}

.contact-map {
  flex: 1 1 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

@media (max-width: 900px) {
  .contact-content {
    flex-direction: column;
  }
}
/* Full width wrapper */
.kc-my-thyroid-related.full-width {
    width: 100vw; /* viewport width */
    margin-left: calc(-50vw + 50%); /* izbaci default margine container-a */
    padding: 40px 20px; /* možeš prilagoditi */
    background-color: #f8f9fb; /* opcionalno pozadinu za isticanje */
    box-sizing: border-box;
}

/* Grid i kartice ostaju isti */
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* footer */

.site-footer {
  background-color: #3b083b;
  color: #fff;
  padding: 60px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 20% 1fr 20%; /* Prva i poslednja kolona 20%, srednja se širi */
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.center{
display: block !important;
text-align: center !important;}

.footer-col h3,
.footer-col h4 {
  color: #ffd18c;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-col p {
  color: #f3e9f6;
  line-height: 1.6;
  font-size: 12px;
}

.footer-col ul {
  list-style: none;
  font-size: 12px;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #d18cc0;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #ffd18c;
}

.footer-socials {
  margin-top: 15px;
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #d18cc0;
  color: #fff;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: #d18cc0;
  color: #3b083b;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 10px;
  color: #cdaee3;
  margin-top: 30px;
}
.footer-bottom {
    text-align: center;
    padding: 25px 0;
    color: #ffffff;
    font-size: 10px;
    opacity: 0.9;
}

.footer-image img {
    display: block;
    margin: 0 auto 15px auto;
    max-width: 180px; /* promijeni ako želiš manju/veću sliku */
    height: auto;
    opacity: 0.95;
}


.contact-list {
    list-style: none;
    padding: 0;
    max-width: 400px;
    margin: 20px auto;
  }

  .contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 16px;
    border: 2px solid #fece86;

  }

  .contact-text {
    flex: 1;
    font-size: 12px;
    line-height: 1.4;
  }

  .contact-list li:hover .contact-icon {
    background-color: #94258c;
    color: #fff;
  }

  .hours-card {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px 25px;
    background-color: #f9f9f9;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    transition: transform 0.2s;
  }

  .hours-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  }

  .hours-card i {
    font-size: 26px;
    color: #94258c;
    margin-right: 15px;
    transition: transform 0.3s, color 0.3s;
  }

  .hours-card:hover i {
    transform: rotate(-20deg) scale(1.2);
    color: #fece86;
  }

  .hours-text {
    font-size: 14px;
    font-weight: bold;
    color: #333;
  }

  footer h5 {
      color: white;
      text-transform: uppercase;
      margin-bottom: 25px;
      letter-spacing: 1px;
      display: inline-block;
      position: relative;
  }

  /* Animirani underline */
  footer h5::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -5px; /* razmak od teksta */
      width: 0;
      height: 3px;
      background-color: #fece86;
      transition: width 0.4s ease-in-out;
  }

  /* Efekt: pri hoveru ili animaciji širina raste */
  footer h5:hover::after,
  footer h5.animate::after {
      width: 100%;
  }

  .odjel-stitnjace {
    column-count: 2;      /* 2 kolone */
    column-gap: 30px;     /* razmak između kolona */
  }
  .footer-about{
  text-align: justify;}

  @media (max-width: 768px) {
    .odjel-stitnjace {
      column-count: 1;    /* na mobilnom postaje jedna kolona */
      column-gap: 0;
    }
  }
  /* Media query za mobilne uređaje */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr; /* Jedna kolona, sve ispod jedne druge */
    gap: 20px;
  }

  /* Ako želiš, možeš postaviti margine ili padding za mobilne uređaje */
  .footer-col {
    padding: 10px 0;
  }
}






  /* search */
/* Glassy / futuristički search u meniju */
.menu-search .search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.1); /* lagano prozirno */
  border-radius: 50px;
  padding: 5px 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.menu-search .search-form input {
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  padding: 8px 12px;
  border-radius: 50px;
  width: 180px;
  transition: all 0.3s ease;
}

.menu-search .search-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.menu-search .search-form input:focus {
  width: 250px;
  box-shadow: 0 0 20px rgba(0, 150, 255, 0.5);
}

.menu-search .search-form button {
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  transition: all 0.3s ease;
}

.menu-search .search-form button svg {
  stroke: #00f; /* plava futuristička boja, možeš promijeniti */
  transition: all 0.3s ease;
}

.menu-search .search-form button:hover svg {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px rgba(0,150,255,0.7));
}

/* Responsive */
@media (max-width: 768px) {
  .menu-search .search-form {
    width: 100%;
    justify-content: flex-start;
  }

  .menu-search .search-form input {
    width: 100%;
  }
}

  /* remove extra data from post */

  .entry-meta,
  .post-author,
  .byline,
  .single .meta,
  .posted-by {
    display: none !important;
  }


/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    text-align: center;
  }
}


[id]::before {
  content: "";
  display: block;
  height: 80px; /* visina sticky headera */
  margin-top: -80px;
  visibility: hidden;
}




/* RESPONSIVE */
@media (max-width: 600px) {
  .section-title {
    font-size: 1.6rem;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .hero-section {
    height: 120vh;
  }
}
