/* Main stylesheet for the MelonMinds website */

/* CSS Custom Properties for Design System */
:root {
  /* Primary Colors */
  --color-primary: 244, 77, 85;
  --color-primary-foreground: 255, 255, 255;
  
  /* Background Colors */
  --color-background: 255, 255, 255;
  --color-foreground: 15, 23, 42;
  
  /* Card Colors */
  --color-card: 255, 255, 255;
  --color-card-foreground: 15, 23, 42;
  
  /* Muted Colors */
  --color-muted: 241, 245, 249;
  --color-muted-foreground: 100, 116, 139;
  
  /* Border & Accent */
  --color-border: 226, 232, 240;
  --color-accent: 244, 77, 85;
  --color-accent-foreground: 255, 255, 255;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: rgb(var(--color-foreground));
  background-color: rgb(var(--color-background));
}

/* Utility classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Component styles can be added here */

/* Logo Slider Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / 2));
  }
}

.animate-scroll {
  animation: scroll 30s linear infinite;
  width: calc(200% + 32px);
}

.hover\:pause:hover {
  animation-play-state: paused;
}

/* Timeline scroll animations */
.timeline-wrapper {
  min-height: 400px;
}

.timeline-progress {
  height: 0;
  transition: height 0.3s ease-out;
  top: 0;
}

.timeline-item {
  opacity: 0;
  transform: translateY(60px) scale(0.9);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.timeline-item .w-16 {
  transition: all 0.5s ease-out;
  transform: scale(0.8);
}

.timeline-item.visible .w-16 {
  transform: scale(1);
}

.timeline-item .bg-card {
  transition: all 0.6s ease-out;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.timeline-item.visible .bg-card {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .timeline-item {
    transform: none;
    transition: opacity 0.3s ease-out;
  }
  
  .timeline-item.visible {
    transform: none;
  }
  
  .timeline-progress {
    transition: height 0.1s linear;
  }
}