/* Enhanced Animations and Interactive Effects */

/* Floating Animation for Decorative Elements */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* Pulse Animation for Buttons */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 180, 184, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(232, 180, 184, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 180, 184, 0);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Shimmer Effect for Cards */
@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  background-size: 200px 100%;
  animation: shimmer 2s infinite;
}

/* Bounce Animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.bounce {
  animation: bounce 2s infinite;
}

/* Rotate Animation */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rotate {
  animation: rotate 20s linear infinite;
}

/* Scale Animation */
@keyframes scale {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.scale {
  animation: scale 2s ease-in-out infinite;
}

/* Gradient Text Animation */
@keyframes gradientText {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-text {
  background: linear-gradient(-45deg, var(--accent-rose), var(--accent-sage), var(--accent-lavender), var(--accent-rose));
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientText 3s ease infinite;
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(232, 180, 184, 0.5);
}

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Staggered Animation for Lists */
.staggered-list li {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}

.staggered-list li.animate {
  opacity: 1;
  transform: translateX(0);
}

.staggered-list li:nth-child(1) { transition-delay: 0.1s; }
.staggered-list li:nth-child(2) { transition-delay: 0.2s; }
.staggered-list li:nth-child(3) { transition-delay: 0.3s; }
.staggered-list li:nth-child(4) { transition-delay: 0.4s; }
.staggered-list li:nth-child(5) { transition-delay: 0.5s; }

/* Loading States */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 1.5s infinite;
}

/* Focus States */
.focus-ring:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 180, 184, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--accent-rose), var(--accent-sage));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--accent-sage), var(--accent-rose));
}

/* Selection Styles */
::selection {
  background: rgba(232, 180, 184, 0.3);
  color: var(--text-dark);
}

::-moz-selection {
  background: rgba(232, 180, 184, 0.3);
  color: var(--text-dark);
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .carousel,
  .newsletter-section,
  .cookie-consent {
    display: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --accent-rose: #d63384;
    --accent-sage: #198754;
    --accent-lavender: #6f42c1;
    --text-dark: #000;
    --text-medium: #333;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating,
  .pulse,
  .shimmer,
  .bounce,
  .rotate,
  .scale,
  .gradient-text {
    animation: none !important;
  }
} 