.swiper {
  width: 100%;
  height: 100vh;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-next,
.swiper-button-prev {
  color: rgba(255,255,255,0.8) !important;
  font-size: 1.5rem !important;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #2c5530 !important;
}

.swiper-pagination-bullet {
  background: rgba(255,255,255,0.8) !important;
  opacity: 1 !important;
  height: 9px;
  width: 9px;
}

.swiper-pagination-bullet-active {
  background: #97897b !important;
  height: 10px;
  width: 10px;
}

.swiper-button-next,
.swiper-button-prev {
  display: none !important;
}

.custom-swiper-button-next,
.custom-swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  transition: all 0.3s ease;
  color: white;
  user-select: none;
  width: 80px;
}

.custom-swiper-button-next {
  right: 30px;
}

.custom-swiper-button-prev {
  left: 30px;
}

.custom-swiper-button-next:hover .nav-arrow {
  transform: translateX(5px) scale(1.1);
}

.custom-swiper-button-prev:hover .nav-arrow {
  transform: translateX(-5px) scale(1.1);
}

.nav-arrow {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
  line-height: 1;
  width: 100%;
  transition: transform 0.6s ease-out;
}

.nav-text {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  width: 100%;
  padding: 0 8px;
}
.navbar .navbar-brand img {
    height: auto;
}    

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.swiper-slide-active .position-absolute {
  animation: fadeInUp 1s ease-out;
}

.slider-book-btn {
  background-color: #a89d91;
  color: #ffffff;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.9rem;
  border: none;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s ease;
}

.slider-book-btn span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.slider-book-btn::before {
  content: '→';
  position: absolute;
  left: 20px;
  top: 45%;
  font-size: 22px;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
}

.slider-book-btn:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  background-color: #a89d91;
}

.slider-book-btn:hover::before {
  opacity: 1;
  left: 24px;
}

.slider-book-btn:hover span {
  transform: translateX(15px);
}

@keyframes pulseAndRotate {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 0.3;
    border-width: 2px;
  }
  50% {
    transform: scale(1.15) rotate(180deg);
    opacity: 0.7;
    border-width: 3px;
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 0.3;
    border-width: 2px;
  }
}

@keyframes pulseReverse {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 0.4;
    border-width: 2px;
  }
  50% {
    transform: scale(1.2) rotate(-180deg);
    opacity: 0.8;
    border-width: 3px;
  }
  100% {
    transform: scale(1) rotate(-360deg);
    opacity: 0.4;
    border-width: 2px;
  }
}

#logo-icon .position-absolute {
  transition: all 0.3s ease;
}

#logo-icon .position-absolute[style*="top: -50px"] {
  animation: pulseAndRotate 15s infinite linear;
  transform-origin: center;
}

#logo-icon .position-absolute[style*="bottom: -50px"] {
  animation: pulseReverse 12s infinite linear;
  transform-origin: center;
}

#offerbanner {
  position: relative;
  animation: offerGlow 3s infinite ease-in-out;
}

#offerbanner::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  opacity: 0;
  animation: offerGlowRing 3s infinite ease-in-out;
}

@keyframes offerGlowRing {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

section.treatments {
  padding-top: 120px;
  padding-bottom: 120px;
}

.treatments .booktreatment {
  position: relative;
  transition: all 0.3s ease;
}

.treatments .booktreatment:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.treatments .booktreatment::before {
  content: '→';
  position: absolute;
  left: 20px;
  top: 50%;
  font-size: 20px;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
}

.treatments .booktreatment:hover::before {
  opacity: 1;
  left: 30px;
}

.treatments .booktreatment span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.treatments .booktreatment:hover span {
  transform: translateX(20px);
}

#workinghours {
  min-height: 60vh;
  overflow: hidden;
}

.gallery-item {
  cursor: pointer;
}

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

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

.gallery-item a {
  text-decoration: none;
  display: block;
  height: 100%;
}

.gallery-overlay {
  backdrop-filter: blur(0.5px);
}

.gallery-overlay i {
  font-size: 2rem;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1.2);
}

@media (min-width: 992px) and (max-width: 1199px) {
  .treatments .treatment-card {
    width: 340px !important;
    padding: 25px 20px !important;
  }
}

@media (max-width: 768px) {
  #workinghours {
    padding: 3rem 0;
  }
  
  #workinghours .container {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .treatments .position-relative {
    height: auto !important;
    min-height: 650px;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  
  .treatments .treatment-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 20px auto !important;
    width: 90% !important;
    max-width: 340px !important;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    z-index: 1100;
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

  .navbar.fixed,
  .navbar.slide-up {
    transform: none !important;
    animation: none !important;
  }

  .navbar .nav-link,
  .navbar .navbar-brand,
  .navbar .language-switcher a,
  .navbar .socialicons a {
    color: #494949 !important;
  }

  .navbar .navbar-brand img {
    filter: invert(0) !important;
    opacity: 1 !important;
    display: block;
    height: auto;
    width: 100%;
    height: 60px !important; 
  }

  .navbar .nav-link::after {
    background-color: #a1a1a1;
  }

  .navbar .socialicons a {
    border-color: #999999;
  }

  .navbar .navbar-toggler .navbar-toggler-icon,
  .navbar .navbar-toggler .navbar-toggler-icon::before,
  .navbar .navbar-toggler .navbar-toggler-icon::after {
    background-color: #696969 !important;
  }

  .navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
  .navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    background-color: #696969 !important;
  }

  .navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent !important;
  }

  .swiper.mySwiper {
    height: 350px !important;
    margin-top: 95px;
  }

  .swiper-pagination {
    display: none !important;
  }

  .slide-bg {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: #97897b;
  }
}

@media (max-width: 576px) {
  #workinghours h3 {
    font-size: 1.6rem !important;
  }
  
  #workinghours p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }
}

@media (max-width: 475px) {
  #logo-icon > div:nth-of-type(1) {
    width: 150px !important;
    height: 148px !important;
  }

  #logo-icon > div:nth-of-type(2) {
    width: 220px !important;
    height: 220px !important;
    top: -40px !important;
    left: -80px !important;
  }

  #logo-icon > div:nth-of-type(3) {
    width: 180px !important;
    height: 180px !important;
    bottom: -40px !important;
    right: -80px !important;
  }
  .custom-swiper-button-next {
  right: 10px;
  }
  .custom-swiper-button-prev {
  left: 10px;
  }
  .custom-swiper-button-next,
  .custom-swiper-button-prev {
    width: 50px;
  }
}

@media (max-width: 320px) {
  #logo-icon > div:nth-of-type(1) {
    width: 120px !important;
    height: 118px !important;
  }

  #logo-icon > div:nth-of-type(2) {
    width: 180px !important;
    height: 180px !important;
    top: -30px !important;
    left: -60px !important;
  }

  #logo-icon > div:nth-of-type(3) {
    width: 150px !important;
    height: 150px !important;
    bottom: -30px !important;
    right: -60px !important;
  }

  .custom-swiper-button-next,
  .custom-swiper-button-prev {
    width: 60px;
  }

  .custom-swiper-button-next .nav-arrow svg,
  .custom-swiper-button-prev .nav-arrow svg {
    height: 24px;
  }
}
