/* ==========================================================================
   宿喜毛孩 (SuXi Pet Studio) - Custom Styles
   ========================================================================== */

:root {
  --primary-50: #FFFBEB;
  --primary-100: #FEF3C7;
  --primary-200: #FDE68A;
  --primary-400: #FBBF24;
  --primary-500: #F59E0B;
  --primary-600: #D97706;
  --primary-700: #B45309;

  --secondary-50: #ECFDF5;
  --secondary-100: #D1FAE5;
  --secondary-500: #10B981;
  --secondary-600: #059669;
  --secondary-700: #047857;

  --accent-coral: #E07A5F;
  --accent-soft: #F4A261;
  --bg-warm: #FDFBF7;
  --bg-card: #FFFFFF;
  --text-main: #2D3142;
  --text-muted: #64748B;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: var(--bg-warm);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1EFE9;
}
::-webkit-scrollbar-thumb {
  background: #D97706;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B45309;
}

/* Soft Glassmorphism */
.glass-nav {
  background: rgba(253, 251, 247, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 119, 6, 0.12);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Cute Paw pattern decoration */
.bg-paw-pattern {
  background-image: radial-gradient(#F59E0B 0.75px, transparent 0.75px), radial-gradient(#F59E0B 0.75px, #FDFBF7 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  opacity: 0.25;
}

/* Custom Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1.5deg); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); }
}

.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

/* Card Hover 3D Lift */
.card-hover-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.card-hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(217, 119, 6, 0.12), 0 8px 10px -6px rgba(217, 119, 6, 0.08);
}

/* Badge Styles */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Tab active indicator */
.tab-btn.active {
  background-color: var(--primary-600) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

/* Modal Backdrop Animation */
.modal-backdrop {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.open .modal-content {
  transform: scale(1) translateY(0);
}

/* Accordion transition */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}
.faq-item.active .faq-answer {
  max-height: 350px;
  transition: max-height 0.4s ease-in-out;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Image zoom effect */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom-container img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-zoom-container:hover img {
  transform: scale(1.06);
}
