@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Raleway:wght@300;400;500;600&family=Lora:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Note: Using Lora as a Droid Serif alternative if Droid Serif is not easily available on Google Fonts standard API, but both work well */

:root {
  --primary-color: #f29c89;
  --primary-hover: #e08b78;
  --text-main: #4a4a4a;
  --heading-font: 'Raleway', sans-serif;
  --body-font: 'Lora', serif;
  --cursive-font: 'Great Vibes', cursive;
}

html,
body {
  scroll-behavior: smooth;
  font-size: 18px;
  font-family: var(--body-font) !important;
  color: var(--text-main);
  font-weight: 400;
  overflow-x: hidden;
  width: 100%;
  /* Jacqueling body weight */
}

/* Accessibility: Global Focus States */
:focus-visible {
  outline: 2px solid var(--primary-color) !important;
  outline-offset: 4px !important;
  border-radius: 2px;
}

/* Fix anchor scroll offset for fixed navbar */
section[id],
div[id] {
  scroll-margin-top: 80px;
}

/* Scroll indicator (homepage hero) */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
}

.hero-scroll-indicator span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.7));
  animation: scrollLine 1.8s ease-in-out infinite;
}

/* Pulse ring around scroll chevron */
.hero-scroll-indicator svg {
  color: rgba(255, 255, 255, 0.9);
  animation: scrollBounce 1.8s ease-in-out infinite;
  position: relative;
}

.hero-scroll-indicator::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
  0% {
    transform: translateX(-50%) scale(0.8);
    opacity: 0.8;
  }

  80%,
  100% {
    transform: translateX(-50%) scale(1.6);
    opacity: 0;
  }
}

@keyframes scrollLine {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.8);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }

  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}


.cursive-subtitle {
  font-family: var(--cursive-font) !important;
  font-size: 48px !important;
  color: var(--primary-color) !important;
  margin-bottom: 28px;
  line-height: 1;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  position: relative;
  display: inline-block;
}

/* Decorative divider below cursive titles */
.cursive-subtitle::after {
  content: '';
  display: block;
  margin: 14px auto 0;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-primary-hover:hover {
  background-color: var(--primary-hover) !important;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

/* Base Animations */
.animate-fade-up {
  animation: fadeUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.animate-delay-1 {
  animation-delay: 0.3s;
}

.animate-delay-2 {
  animation-delay: 0.6s;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font) !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Force override any tailwind serif/sans usages */
.font-sans,
.font-serif {
  font-family: inherit !important;
}

p,
span,
li,
a {
  font-family: var(--body-font) !important;
}

p {
  font-size: 16px;
  line-height: 28px;
  margin-top: 15px;
  color: var(--text-main);
}

.social {
  background-color: #222a3e;
}


.blue-color {
  color: #222a3e;
}

.about-title {
  color: #222a3e;
  font-size: 59px;
  font-weight: 700;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  fill: #fa5079;
}

.massage-card {
  transition: all 0.5s ease;
  border: 1px solid #eaeaea;
  border-radius: 0;
  position: relative;
  z-index: 1;
}

.massage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border: 1px solid var(--primary-color);
  z-index: -1;
  opacity: 0;
  transition: all 0.4s ease;
}

.massage-card:hover::before {
  opacity: 1;
  top: -10px;
  left: -10px;
  bottom: -10px;
  right: -10px;
}

.massage-card:hover {
  transform: translateY(-5px);
  box-shadow: none;
  background-color: #fff;
  border-color: transparent;
}

.massage-card:hover .feature-icon svg {
  fill: var(--primary-color);
}

.massage-card .card-title {
  transition: all 0.3s;
}

.massage-card:hover .card-title {
  color: var(--primary-color);
}

.massage-card .card-subtitle {
  color: var(--text-main);
}

.appointment-button {
  font-size: 0.611em;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2em;
  letter-spacing: 2.2px;
  color: #FFFFFF;
  background-color: #ff9bb3;
  border: 1px solid #ff9bb3;
  border-radius: 0px 0px 0px 0px;
  padding: 24px 87px 24px 87px;
  transition: all 0.7s;
  outline: none;
}

.appointment-button:hover {
  color: #ff9bb3;
  background-color: transparent;
  border-color: #ffff;
}

.blog-section {
  background-color: #F8F8F8;
}

.blog-title {
  font-family: 'Dancing Script', Georgia, Times, serif;
}


.checklist p.checklist-item:before {
  content: "";
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: 50%;
  position: absolute;
  top: 5px;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.25 7.105a.14.14 0 01-.193 0L2.459 3.6 0 5.999l3.597 3.508L6.154 12 16 2.397 13.539 0 6.25 7.105z' fill='%2355B891' fill-rule='evenodd'/%3E%3C/svg%3E");

}


/* ================================================
   TRANSPARENT NAVBAR — Flexora-style
   ================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 0;
  background-color: transparent;
}

.site-nav.scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.35s ease;
}

.site-nav.scrolled .nav-logo {
  filter: none;
}

/* Desktop nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-family: var(--heading-font) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.3s ease, background-color 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.1);
}

.site-nav.scrolled .nav-link {
  color: #323232 !important;
}

.site-nav.scrolled .nav-link:hover {
  color: var(--primary-color) !important;
  background-color: transparent;
}

/* CTA button */
.nav-cta {
  font-family: var(--heading-font) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 10px 24px;
  border-radius: 40px;
  margin-left: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.site-nav.scrolled .nav-cta {
  color: #323232 !important;
  border-color: #e5e5e5;
}

.site-nav.scrolled .nav-cta:hover {
  background-color: var(--primary-color);
  color: #ffffff !important;
  border-color: var(--primary-color);
}


/* Language switcher */
.nav-lang-switcher {
  position: relative;
  margin-left: 16px;
}

.lang-btn {
  display: flex;
  align-items: center;
  font-family: var(--heading-font) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.9);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.lang-btn:hover {
  color: #ffffff;
}

.site-nav.scrolled .lang-btn {
  color: #323232;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  min-width: 130px;
  z-index: 100;
}

.lang-option {
  display: block;
  padding: 10px 16px;
  font-family: var(--heading-font) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #323232 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.2s ease;
}

.lang-option:hover {
  background-color: #f7f7f7;
  color: var(--primary-color) !important;
}

/* Mobile toggle button */
.nav-mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

@media (min-width: 768px) {
  .nav-mobile-toggle {
    display: none;
  }
}

.nav-mobile-toggle span {
  display: block;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.site-nav.scrolled .nav-mobile-toggle span {
  background-color: #323232;
}

.nav-mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav panel */
@media (max-width: 767px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid #eee;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-link,
  .nav-links.mobile-open .nav-link {
    color: #323232 !important;
    padding: 12px 16px;
    width: 100%;
    border-radius: 8px;
  }

  .nav-cta {
    color: #323232 !important;
    border-color: #e5e5e5;
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 8px;
    padding: 12px 24px;
  }

  .nav-lang-switcher {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
  }

  .lang-btn {
    color: #323232;
    padding: 12px 16px;
  }
}

img.alignnone {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.line-ef {
  max-width: 280px;
  position: relative;
  margin: 0 auto;
  margin-bottom: 0;
}

.line-ef:before {
  position: absolute;
  content: " ";
  width: 100px;
  height: 1px;
  background-color: #c1bfda;
  left: 0px;
  top: 61%;
}

.line-ef:after {
  position: absolute;
  content: " ";
  width: 100px;
  height: 1px;
  background-color: #c1bfda;
  top: 61%;
}

.line-ef:after {
  right: 0;
}


.about-section {
  background-color: #fff8f5;
  background-image: url('/img/about_cvece.png');
  background-position: center center;
  background-repeat: no-repeat;
}

.testemonials {
  background-image: url('/img/fizioterapija_klijenti.jpg') !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;

}

.gallery-images {
  margin-top: -110px;
}

.pink-wrapper {
  background-color: #fc84b4;
}

.color-pink {
  color: #fb4d77;
}

.subheading {
  font-weight: 300;
  color: #fff;
  font-size: 1.5em;
}

.contact {
  background-image: url('/img/h1-parallax-3.jpg');
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}


.bg-image {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

@media (min-width: 1024px) {
  .top-navbar {
    display: inline-flex !important;
  }
}

.height-250 {
  height: 250px;
  overflow: visible;
  background-color: #fff;
  /* display: block; */
}

.slika {
  opacity: 1;
  transition: transform 5s cubic-bezier(0, 1, .3, 1),
    opacity .5s ease-out;
}

@media screen and (min-device-width: 480px) {
  .slika {
    min-height: 400px;
  }

  .slika.is-visible {
    opacity: 0;
    transform: translateY(4em) rotateZ(-5deg);
  }
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
}

.carousel-holder {
  width: 100%;
  display: flex;
  overflow-x: auto;
  -ms-scroll-snap-type: x mandatory;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

blockquote {
  width: 100%;
  flex-shrink: 0;
  height: 50%;
  scroll-snap-align: start;

}

@keyframes moveSlideshow {
  100% {
    transform: translateX(-66.6666%);
  }
}


.modal {
  display: none;
  visibility: hidden;
  opacity: 0;
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 200px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
  transition: visibility 0s, opacity 0.5s linear;
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
  text-align: center;
  color: #fff;
  margin-top: 10px;
  font-weight: 300;
  letter-spacing: 1px;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

.close {
  position: absolute;
  top: 70px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}


/***** Slider **/


.mySlider {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 450px;
  max-height: 100%;
  margin: 0 auto;
}

.slider {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  z-index: 0;
  transition: transform 1600ms;
  transform: scale(1);
}


.slide_img_01 {
  left: 0;
}

.slide_img_02 {
  left: 100%
}


.control {
  position: absolute;
  top: 50%;
  margin-top: -24px;
  z-index: 55;
}

.control label svg {
  width: 48px;
  height: 48px;
  fill: #fff;
  stroke: currentColor;
  stroke-width: 0;
}

.control label svg:hover {
  transition: all .2s ease;
  fill: #000;
}

.control label {
  z-index: 0;
  display: none;
  cursor: pointer;
  opacity: 0.5;
}

.control label:hover {
  opacity: 1.0;
}

.next {
  right: 1%;
}

.previous {
  left: 1%;
}


.slider-pagination {
  position: absolute;
  bottom: 0px;
  width: 100%;
  left: 0;
  text-align: center;
  z-index: 1000;
}

.slider-pagination label {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 2px;
  border: solid 1px rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.slide-radio1:checked~.next .numb2,
.slide-radio2:checked~.next .numb1,
.slide-radio2:checked~.previous .numb1,
.slide-radio1:checked~.previous .numb2 {
  display: block;
  z-index: 1
}

.slide-radio1:checked~.slider-pagination .page1,
.slide-radio2:checked~.slider-pagination .page2 {
  background: rgba(255, 255, 255, 1)
}


.slide-radio1:checked~.slider {
  transform: translateX(0%);
}

.slide-radio2:checked~.slider {
  transform: translateX(-100%);
}

@media only screen and (max-width: 767px) {

  .mySlider {
    position: relative;
    width: 100%;
    height: 550px;
  }

  .slider>div {
    padding: 0 2%
  }

  .control {
    position: absolute;
    top: 60%;
    margin-top: -24px;
    z-index: 55;
  }

  .control label svg {
    width: 32px;
    height: 32px;
    fill: #fff;
    stroke: currentColor;
    stroke-width: 0;
  }
}

#slider_1 {
  visibility: hidden;
}

#slider_2 {
  visibility: hidden;
}


/*** Articles **/



.markdown>p {
  font-weight: 300;
  padding: 1em 0;
  line-height: 1.5;
}

#main-header {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 40%, transparent 70%),
    url('/img/header_image_massage.jpg');
  color: black;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  #main-header {
    background-attachment: scroll;
  }
}

.hero-header {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-subtitle {
  font-family: var(--cursive-font) !important;
  font-size: 48px !important;
  color: #ffffff !important;
  margin-bottom: 20px;
  line-height: 1;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.hero-title {
  font-family: var(--heading-font) !important;
  font-size: 68px !important;
  font-weight: 300 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  line-height: 1.1 !important;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 42px !important;
  }
}


.hero-title span {
  font-weight: 500 !important;
}

.hero-desc {
  font-family: var(--body-font) !important;
  font-size: 17px !important;
  line-height: 27px !important;
  color: #ffffff !important;
  font-weight: 400 !important;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}

.hero-btn {
  background-color: #f9a392 !important;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 44px;
  height: 54px;
  text-transform: uppercase !important;
  font-size: 0.85em !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  border-radius: 2px !important;
  border: 1.5px solid rgba(249, 163, 146, 0.4) !important;
  margin-top: 44px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(249, 163, 146, 0.35);
}

.hero-btn:hover {
  background-color: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2), 0 8px 32px rgba(249, 163, 146, 0.2) !important;
  transform: translateY(-2px);
  letter-spacing: 4px !important;
}

/* Flexora-style Team Section */
.team-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.team-heading {
  font-family: var(--body-font) !important;
  /* Lora Serif */
  font-size: 64px !important;
  line-height: 1.1 !important;
  color: #323232;
  font-weight: 400 !important;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .team-heading {
    font-size: 40px !important;
  }
}

.team-subtitle {
  font-family: var(--heading-font) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 2px;
  color: #f29c89;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.team-desc {
  font-family: var(--body-font) !important;
  font-size: 16px !important;
  line-height: 26px;
  color: #757575;
  margin-bottom: 40px;
}

.team-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  height: 50px;
  background-color: #f7f7f7;
  color: #323232;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.team-cta-btn:hover {
  background-color: #f29c89;
  color: #ffffff;
}

.therapist-card {
  width: 100%;
  margin-bottom: 30px;
}

.therapist-image-box {
  width: 100%;
  aspect-ratio: 5 / 6;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 15px;
}

.therapist-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.therapist-card:hover .therapist-image-box img {
  transform: scale(1.08);
}

.therapist-name {
  font-family: var(--heading-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #323232;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.therapist-role {
  font-family: var(--heading-font) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #999999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Swiper Pagination Placement Fix */
.mySwiper {
  padding-bottom: 60px !important;
}

.mySwiper .swiper-pagination {
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  background: #f9a392 !important;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: #f9a392 !important;
  opacity: 1;
}

/* Gallery Masonry - Jacqueline Style */
.gallery-masonry {
  columns: 1;
  column-gap: 30px;
}

@media (min-width: 768px) {
  .gallery-masonry {
    columns: 2;
  }
}

@media (min-width: 1024px) {
  .gallery-masonry {
    columns: 3;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  /* Spacing between masonry items */
  break-inside: avoid;
  /* Prevents item from being split across columns */
  display: inline-block;
  /* Required for columns masonry to work well */
  width: 100%;
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.5s ease;
  padding: 30px;
  text-align: center;
  z-index: 10;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-title {
  font-family: 'Raleway', sans-serif !important;
  font-size: 21px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin-bottom: 12px !important;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.gallery-item-category {
  font-family: 'Raleway', sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--primary-color) !important;
  text-transform: uppercase !important;
  letter-spacing: 1.3px !important;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.1s;
}

.gallery-item:hover .gallery-item-title,
.gallery-item:hover .gallery-item-category {
  transform: translateY(0);
}

.gallery-item img {
  transition: transform 0.6s ease;
  display: block;
  width: 100%;
}

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

/* Therapy Section Styles - Jacqueline Style */
.therapy-card {
  background: #f7f7f7;
  padding: 60px 40px;
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  overflow: hidden;
}

/* Top accent bar that slides in on hover */
.therapy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), #f7c5bb);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.therapy-card:hover::before {
  transform: scaleX(1);
}

.therapy-card:hover {
  background: #ffffff;
  transform: translateY(-15px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 10px 20px rgba(0, 0, 0, 0.06),
    0 30px 60px rgba(0, 0, 0, 0.08);
  border-color: #f0f0f0;
}

.therapy-card-icon {
  width: 80px;
  height: 80px;
  color: var(--primary-color);
  margin-bottom: 30px;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.therapy-card-icon svg {
  width: 64px;
  height: 64px;
  stroke-width: 1.2px;
}

.therapy-card:hover .therapy-card-icon {
  transform: scale(1.1);
  color: var(--primary-hover);
}

.therapy-card-title {
  font-size: 24px;
  font-weight: 700 !important;
  color: #323232;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.therapy-card-desc {
  font-size: 15px;
  color: #757575;
  line-height: 1.8;
  margin-top: 0;
  margin-bottom: 30px;
  flex-grow: 1;
  max-width: 280px;
}

.therapy-card-arrow {
  color: #323232;
  transition: transform 0.3s ease;
  font-size: 24px;
  line-height: 1;
}

.therapy-card:hover .therapy-card-arrow {
  transform: translateX(10px);
  color: var(--primary-color);
}

/* Blog Section - Flexora Style */
.blog-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.blog-section-subtitle {
  display: block;
  font-family: var(--heading-font) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #999999;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.blog-section-title {
  font-family: var(--heading-font) !important;
  font-size: 42px !important;
  font-weight: 400 !important;
  color: #323232;
  margin: 0;
}

.blog-read-all {
  font-family: var(--heading-font) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #323232;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 32px;
  border: 1px solid #e5e5e5;
  border-radius: 40px;
  transition: all 0.3s ease;
}

.blog-read-all:hover {
  background-color: #323232;
  color: #ffffff;
  border-color: #323232;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .blog-card.featured {
    grid-column: span 2;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-image-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}

.blog-card.featured .blog-image-box {
  aspect-ratio: 16 / 9;
}

.blog-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover .blog-image-box img {
  transform: scale(1.1);
}

.blog-category {
  display: inline-block;
  font-family: var(--heading-font) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: var(--primary-hover) !important;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 14px;
  padding: 5px 12px;
  background-color: rgba(242, 156, 137, 0.12);
  border: 1px solid rgba(242, 156, 137, 0.3);
  border-radius: 40px;
}

.blog-title {
  font-family: var(--heading-font) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #323232;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.blog-card.featured .blog-title {
  font-size: 28px !important;
}

.blog-card:hover .blog-title {
  color: #9c9258;
}

/* Body Transform Section */
.body-transform-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.body-transform-card {
  background-color: #EFE9E4;
  border-radius: 40px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

@media (min-width: 768px) {
  .body-transform-card {
    padding: 60px;
    gap: 60px;
  }
}

@media (min-width: 1024px) {
  .body-transform-card {
    grid-template-columns: 1fr 1.2fr;
  }
}

.arch-image-box {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px 40px 40px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  justify-self: center;
}

.arch-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.body-transform-content {
  padding-right: 0;
}

@media (min-width: 1024px) {
  .body-transform-content {
    padding-right: 20px;
  }
}

.body-transform-subtitle {
  display: block;
  font-family: var(--heading-font) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #9c9258;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.body-transform-title {
  font-family: var(--heading-font) !important;
  font-size: 48px !important;
  font-weight: 400 !important;
  color: #070807;
  line-height: 1.1;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .body-transform-title {
    font-size: 30px !important;
    margin-bottom: 24px;
  }
}

/* Accordion Styles */
.accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.accordion-header {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
}

.accordion-title {
  font-family: var(--heading-font) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #323232;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-inner {
  padding-bottom: 20px;
  color: #666666;
  font-size: 16px;
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* ================================================
   BLOG LIST PAGE
   ================================================ */
.blog-list-hero {
  position: relative;
  height: 60vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('/img/galerija_masaza.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

@media (max-width: 768px) {
  .blog-list-hero {
    height: 50vh;
    min-height: 300px;
    background-attachment: scroll;
  }
}

.blog-list-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.55));
  z-index: 1;
}

.blog-list-hero-content {
  position: relative;
  z-index: 2;
}

.blog-list-hero .cursive-subtitle {
  font-size: 54px;
  margin-bottom: 12px;
  color: #ffffff;
}

.blog-list-hero .section-title {
  font-family: var(--heading-font) !important;
  font-size: 48px !important;
  font-weight: 300 !important;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .blog-list-hero .section-title {
    font-size: 32px !important;
    letter-spacing: 2px;
  }
}

.blog-list-hero .line-ef:before,
.blog-list-hero .line-ef:after {
  background-color: rgba(255, 255, 255, 0.4);
}

.blog-list-section {
  padding: 40px 0 100px;
  background-color: #ffffff;
}

.blog-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .blog-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-list-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-list-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-list-card:hover {
  transform: translateY(-8px);
}

.blog-list-card .blog-image-box {
  aspect-ratio: 16 / 11;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
}

.blog-list-card .blog-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-list-card:hover .blog-image-box img {
  transform: scale(1.1);
}

.blog-list-card .blog-card-content {
  padding: 0 4px;
}

.blog-list-card .blog-card-date {
  display: block;
  font-family: var(--heading-font) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #999999;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.blog-list-card .blog-card-title {
  font-family: var(--heading-font) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #323232;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.blog-list-card:hover .blog-card-title {
  color: var(--primary-color);
}

.blog-list-card .blog-card-summary {
  font-family: var(--body-font) !important;
  font-size: 15px !important;
  line-height: 1.7;
  color: #757575;
  margin-top: 0;
}

.blog-list-card .blog-card-readmore {
  display: inline-flex;
  align-items: center;
  font-family: var(--heading-font) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #323232;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 16px;
  transition: color 0.3s ease;
}

.blog-list-card .blog-card-readmore:hover {
  color: var(--primary-color);
}

.blog-list-card .blog-card-readmore svg {
  width: 14px;
  height: 14px;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.blog-list-card:hover .blog-card-readmore svg {
  transform: translateX(4px);
}

/* ================================================
   SINGLE BLOG POST PAGE
   ================================================ */
.blog-post-hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

@media (max-width: 768px) {
  .blog-post-hero {
    height: 380px;
    background-attachment: scroll;
  }
}

.blog-post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.blog-post-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.blog-post-hero-category {
  display: inline-block;
  font-family: var(--heading-font) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.blog-post-hero-title {
  font-family: var(--heading-font) !important;
  font-size: 42px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .blog-post-hero-title {
    font-size: 28px !important;
  }
}

.blog-post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-meta-item {
  font-family: var(--heading-font) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #999999;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.blog-post-meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.blog-post-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}

.blog-post-body .markdown>p {
  font-family: var(--body-font) !important;
  font-size: 17px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 24px;
  font-weight: 400;
}

.blog-post-body .markdown>h2,
.blog-post-body .markdown>h3 {
  margin-top: 40px;
  margin-bottom: 16px;
  color: #323232;
}

.blog-post-body .markdown>ul,
.blog-post-body .markdown>ol {
  padding-left: 24px;
  margin-bottom: 24px;
  color: #555;
  line-height: 1.9;
}

.blog-post-body .markdown img {
  border-radius: 16px;
  margin: 32px 0;
}

/* Author Card */
.blog-author-card {
  display: flex;
  align-items: center;
  padding: 32px;
  background-color: #f7f7f7;
  border-radius: 24px;
  margin-top: 48px;
}

.blog-author-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 24px;
  flex-shrink: 0;
}

.blog-author-name {
  font-family: var(--heading-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #323232;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.blog-author-role {
  font-family: var(--body-font) !important;
  font-size: 14px !important;
  color: #999;
  margin-top: 4px;
}

/* Post CTA */
.blog-post-cta {
  background-color: #EFE9E4;
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  margin-top: 48px;
}

.blog-post-cta h3 {
  font-family: var(--heading-font) !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  color: #323232;
  margin-bottom: 12px;
}

.blog-post-cta p {
  font-size: 15px;
  color: #757575;
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.blog-post-cta a.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  height: 50px;
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 50px;
  font-family: var(--heading-font) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.blog-post-cta a.cta-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Back to blog link */
.blog-back-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--heading-font) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #323232;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 32px;
  border: 1px solid #e5e5e5;
  border-radius: 40px;
  transition: all 0.3s ease;
  margin-top: 48px;
}

.blog-back-link:hover {
  background-color: #323232;
  color: #ffffff;
  border-color: #323232;
}

.blog-back-link svg {
  width: 14px;
  height: 14px;
  margin-right: 8px;
}

/* ================================================
   PAGINATION
   ================================================ */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--heading-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #323232;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.blog-pagination a:hover {
  background-color: #f7f7f7;
  border-color: #e5e5e5;
}

.blog-pagination .active-page {
  background-color: var(--primary-color);
  color: #ffffff !important;
  border-color: var(--primary-color);
}

.blog-pagination .prev-next {
  width: auto;
  padding: 0 20px;
  border: 1px solid #e5e5e5;
  border-radius: 40px;
  font-size: 12px !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-pagination .prev-next:hover {
  background-color: #323232;
  color: #ffffff;
  border-color: #323232;
}

/**** FOOTER Social Icons **/
.social-icon-wrap {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  color: #888;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.social-icon-svg {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Facebook hover */
a:hover .facebook-wrap {
  background: #1877F2;
  border-color: #1877F2;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(24, 119, 242, 0.35);
  transform: translateY(-2px) scale(1.08);
}

/* Instagram hover - gradient brand color */
a:hover .instagram-wrap {
  background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(220, 39, 67, 0.35);
  transform: translateY(-2px) scale(1.08);
}