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

:root {
  --color-primary: #D96579;
  --color-primary-dark: #C24D61;
  --color-primary-light: #F7D6DB;
  --color-accent-soft: #FDE8EB;
  --color-bg-warm: #FDFBF7;
  --color-text-main: #362B28;
  --color-text-muted: #6B5B57;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--color-bg-warm);
  color: var(--color-text-main);
}

.font-heading {
  font-family: 'Playfair Display', serif;
}

.font-brand {
  font-family: 'Quicksand', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FAF3EE;
}
::-webkit-scrollbar-thumb {
  background: #E8A8B4;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D96579;
}

/* Soft Glow & Shadows */
.shadow-soft {
  box-shadow: 0 10px 30px -5px rgba(217, 101, 121, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
}

.shadow-card-hover {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.shadow-card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -5px rgba(217, 101, 121, 0.15), 0 8px 16px -3px rgba(0, 0, 0, 0.05);
}

/* Glassmorphism */
.glass-header {
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-badge {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 194, 199, 0.4);
}

/* Badge Pulse */
@keyframes soft-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}

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

/* Floating WhatsApp Button Animation */
@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float-btn {
  animation: wa-pulse 2.2s infinite;
}

/* Custom Accordion Chevron Rotation */
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-item.active .faq-content {
  max-height: 450px;
  opacity: 1;
  margin-top: 1rem;
}

.faq-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.35s ease-out;
}

/* Notification Toast */
#toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1), toast-out 0.3s ease 2.7s forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(15px);
  }
}
