/* ═══════════════════════════════════════════════════════
   SAPANCA ROSE BUNGALOV - Custom Styles
   ═══════════════════════════════════════════════════════ */

/* ─── Reset & Base ─────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #111111;
}
::-webkit-scrollbar-thumb {
  background: #c9a96e;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4b87a;
}

/* ─── Navbar ───────────────────────────────────────── */
#navbar {
  background: transparent;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.scrolled {
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#navbar.scrolled .nav-link {
  font-size: 0.8rem;
}

/* Mobile menu button animation */
.hamburger-lines.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-lines.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-lines.active span:nth-child(3) {
  width: 24px;
  transform: translateY(-8px) rotate(-45deg);
}

/* ─── Hero ─────────────────────────────────────────── */
.hero-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
  width: 10px;
  height: 10px;
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: #c9a96e;
  width: 30px;
  border-radius: 5px;
}

/* ─── Animations ───────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 40px rgba(34, 197, 94, 0.5); }
}

.animate-fade-up {
  animation: fadeUp 1s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Feature Cards ────────────────────────────────── */
.feature-card .bg-white\/\[0\.03\]:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* ─── Gallery ──────────────────────────────────────── */
.gallery-item {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
  transform: scale(1.02);
  z-index: 1;
}

/* ─── FAQ Accordion ────────────────────────────────── */
.faq-item .faq-trigger.active {
  border-color: rgba(201, 169, 110, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.faq-content {
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.faq-content.open {
  max-height: 500px;
  display: block;
}

.faq-trigger.active .fa-plus {
  transform: rotate(45deg);
}

/* ─── WhatsApp Float ───────────────────────────────── */
#whatsapp-float {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ─── Reviews Slider ───────────────────────────────── */
.reviews-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3);
  width: 8px;
  height: 8px;
  opacity: 1;
}

.reviews-swiper .swiper-pagination-bullet-active {
  background: #c9a96e;
  width: 24px;
  border-radius: 4px;
}

/* ─── Flatpickr Custom ─────────────────────────────── */
.flatpickr-calendar {
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
}

.flatpickr-calendar.dark {
  background: #1a1a1a !important;
}

.flatpickr-day.selected {
  background: #c9a96e !important;
  border-color: #c9a96e !important;
  color: #1a1a1a !important;
}

.flatpickr-day:hover {
  background: rgba(201, 169, 110, 0.2) !important;
  border-color: rgba(201, 169, 110, 0.3) !important;
}

/* ─── GLightbox Custom ─────────────────────────────── */
.glightbox-clean .goverlay {
  background: rgba(0, 0, 0, 0.95) !important;
}

.glightbox-clean .gclose {
  background: rgba(201, 169, 110, 0.2) !important;
  border-radius: 50% !important;
}

/* ─── Trust Badges ─────────────────────────────────── */
.trust-badge {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-badge:hover {
  transform: translateY(-2px);
}

/* ─── Pet Badge Pulse ──────────────────────────────── */
.pet-badge {
  animation: pet-pulse 3s ease-in-out infinite;
}

@keyframes pet-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

/* ─── Selection Color ──────────────────────────────── */
::selection {
  background: rgba(201, 169, 110, 0.3);
  color: white;
}

/* ─── Loading Skeleton ─────────────────────────────── */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.03) 25%,
    rgba(255,255,255,0.06) 50%,
    rgba(255,255,255,0.03) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ─── Responsive ───────────────────────────────────── */
@media (max-width: 640px) {
  .hero-swiper .swiper-pagination {
    bottom: 20px !important;
  }

  #whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
}

/* ─── Print Styles ─────────────────────────────────── */
@media print {
  #navbar, #whatsapp-float, #mobile-menu {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}
