@import "tailwindcss";

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes float-reverse {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(8px);
  }
}

.animate-float-slow {
  animation: float-slow 4s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-slow 5s ease-in-out 1.5s infinite;
}

.animate-float-reverse {
  animation: float-reverse 4.5s ease-in-out infinite;
}

/* ==========================================================================
   Brush Highlight Effect
   ========================================================================== */
.brush-highlight {
  position: relative;
  display: inline-block;
  padding: 0.12em 0.5em 0.22em;
  z-index: 1;
  color: #0f172a;
}

.brush-highlight::before {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  top: 6%;
  bottom: -2%;
  background-image: url('../images/textbg.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
  pointer-events: none;
}

/* ==========================================================================
   Services / Treatments Swiper
   ========================================================================== */
.services-swiper {
  padding-top: 12px !important;
  padding-bottom: 56px !important;
}

.services-swiper .swiper-pagination {
  bottom: 6px !important;
  margin-top: 24px !important;
}

.services-swiper .swiper-pagination-bullet {
  background: #cbd5e1;
  opacity: 0.7;
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
  margin: 0 4px !important;
}

.services-swiper .swiper-pagination-bullet-active {
  background: #0284c7;
  width: 24px;
  border-radius: 9999px;
  opacity: 1;
}

.services-swiper .swiper-slide {
  height: auto;
  display: flex;
}

/* ==========================================================================
   Testimonial Swiper
   ========================================================================== */
.testimonial-pagination {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
}

.testimonial-pagination .swiper-pagination-bullet {
  background: #fed7aa !important;
  opacity: 0.85 !important;
  width: 8px !important;
  height: 8px !important;
  margin: 0 !important;
  display: inline-block !important;
  border-radius: 9999px !important;
  transition: all 0.3s ease !important;
}

.testimonial-pagination .swiper-pagination-bullet-active {
  background: #f26522 !important;
  width: 24px !important;
  border-radius: 9999px !important;
  opacity: 1;
}

/* ==========================================================================
   Treatment Tabs & Fade In Animation
   ========================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.treatment-tab-btn.active {
  background-color: #f0f9ff;
  color: #0284c7;
  font-weight: 700;
  border-left: 3px solid #0284c7;
}

.treatment-tab-btn.active .tab-chevron {
  color: #0284c7;
  transform: translateX(2px);
}

/* ==========================================================================
   Gallery Lightbox Modal
   ========================================================================== */
#galleryLightbox {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  background-color: rgba(4, 13, 26, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.5rem;
  box-sizing: border-box;
}

#galleryLightbox.is-open {
  display: flex !important;
}

#galleryLightbox .lightbox-top-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

#galleryLightbox .lightbox-category-badge {
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  border: 1px solid #38bdf8;
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#galleryLightbox .lightbox-counter {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  margin-left: 0.75rem;
  letter-spacing: 0.05em;
}

#galleryLightbox .lightbox-close-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background-color: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.15rem;
}

#galleryLightbox .lightbox-close-btn:hover {
  background-color: rgba(51, 65, 85, 0.95);
  transform: scale(1.08);
}

#galleryLightbox .lightbox-middle-viewport {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1150px;
  margin: auto;
  min-height: 0;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
}

#galleryLightbox .lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.1rem;
}

#galleryLightbox .lightbox-nav-btn:hover:not(:disabled) {
  background-color: #0284c7;
  transform: translateY(-50%) scale(1.1);
}

#galleryLightbox .lightbox-nav-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  pointer-events: none;
}

#galleryLightbox .lightbox-prev-btn {
  left: 0.5rem;
}

#galleryLightbox .lightbox-next-btn {
  right: 0.5rem;
}

@media (min-width: 640px) {
  #galleryLightbox .lightbox-prev-btn {
    left: 1.5rem;
  }
  #galleryLightbox .lightbox-next-btn {
    right: 1.5rem;
  }
}

#galleryLightbox .lightbox-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 68vh;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(15, 23, 42, 0.6);
}

#galleryLightbox #lbMainImage {
  max-height: 68vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 1.5rem;
  display: block;
}

#galleryLightbox .lightbox-caption {
  width: 100%;
  text-align: center;
  padding: 0.5rem 1rem 0.5rem;
  max-width: 768px;
  margin: 0 auto;
}

#galleryLightbox #lbMainTitle {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0;
}

@media (min-width: 640px) {
  #galleryLightbox #lbMainTitle {
    font-size: 1.5rem;
  }
}

#galleryLightbox #lbMainDesc {
  color: rgba(203, 213, 225, 0.85);
  font-size: 0.875rem;
  margin-top: 0.35rem;
  line-height: 1.5;
  font-weight: 400;
}

/* Floating contact buttons stay above lightbox as shown in reference design */
.floating-contact-buttons {
  z-index: 1000000 !important;
}