/**
 * Intazar Wellness Ladies Clinic - Dr. Sumaira Intazar
 * Production Stylesheet
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --color-rose-50: #fdf2f4;
  --color-rose-100: #fce7ec;
  --color-rose-200: #fbcfe0;
  --color-rose-500: #ec4899;
  --color-rose-600: #db2777;
  --color-rose-700: #be185d;
  --color-rose-800: #9d174d;
  --color-rose-900: #831843;

  --color-navy-800: #1e293b;
  --color-navy-900: #0f172a;
  --color-navy-950: #020617;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: #fafbfc;
  color: #1e293b;
  overflow-x: hidden;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

/* ==================== 1. CUSTOM BACKGROUND MESH ==================== */
.bg-mesh-pattern {
  background-image: 
    radial-gradient(at 0% 0%, rgba(253, 242, 244, 0.9) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(254, 226, 226, 0.6) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(255, 255, 255, 0.8) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(252, 231, 236, 0.7) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(240, 249, 255, 0.6) 0px, transparent 50%);
}

/* ==================== 2. GRADIENT TEXT STYLES ==================== */
.gradient-text-rose {
  background: linear-gradient(135deg, #be185d 0%, #db2777 50%, #9d174d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-navy {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==================== 3. HOVER MICRO-INTERACTIONS ==================== */
.hover-lift {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.28s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -10px rgba(219, 39, 119, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
  border-color: rgba(219, 39, 119, 0.35);
}

/* ==================== 4. KEYFRAME ANIMATIONS ==================== */
@keyframes rippleRing {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.25;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.animate-ripple {
  animation: rippleRing 2.5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(219, 39, 119, 0.25);
  }
  50% {
    box-shadow: 0 0 35px rgba(219, 39, 119, 0.55);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* ==================== 5. FAQ ACCORDION TRANSITIONS ==================== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  opacity: 1;
}

.faq-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #be185d;
}

.faq-item.active {
  border-color: #fbcfe0;
  background-color: #fffbfc;
}

/* ==================== 6. SPECIALIZATIONS FILTER TRANSITIONS ==================== */
.filter-btn.active {
  background-color: #be185d;
  color: #ffffff;
  border-color: #be185d;
  box-shadow: 0 4px 12px 0 rgba(190, 24, 93, 0.3);
}

.condition-card {
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.condition-card.hidden-card {
  opacity: 0;
  transform: scale(0.95);
  display: none !important;
}

/* ==================== 7. ACTIVE NAVIGATION HIGHLIGHTS ==================== */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #be185d;
  border-radius: 2px;
  transition: all 0.25s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link.active {
  color: #be185d;
  font-weight: 700;
}

/* ==================== 8. CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #fdf2f4;
}

::-webkit-scrollbar-thumb {
  background: #f472b6;
  border-radius: 9999px;
  border: 2px solid #fdf2f4;
}

::-webkit-scrollbar-thumb:hover {
  background: #db2777;
}
