@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:wght@700&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --color-primary: #FF6B35;
  /* Vibrant Orange */
  --color-secondary: #004E89;
  /* Deep Blue */
  --color-accent: #EFEFD0;
  /* Soft Cream */
}

body {
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  background-color: #f8fafc;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slideInLeft {
  animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* New Animations */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.animate-gradient-flow {
  background-size: 200% 200%;
  animation: gradientFlow 15s ease infinite;
}

@keyframes textShimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.animate-text-shimmer {
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 20%,
      rgba(255, 255, 255, 0.4) 30%,
      rgba(255, 255, 255, 0.8) 40%,
      rgba(255, 255, 255, 0) 50%);
  background-size: 200% auto;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 3s linear infinite;
}

.hover-zoom-img {
  transition: transform 0.5s ease;
}

.hover-zoom-img:hover {
  transform: scale(1.05);
}

/* Infinite Slider */
.slider-container {
  overflow: hidden;
  white-space: nowrap;
}

.slider-track {
  display: inline-block;
  animation: scroll 20s linear infinite;
}

.slider-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Glassmorphism */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button Hover Effects */
.btn-primary {
  transition: all 0.3s ease;
  background-image: linear-gradient(to right, #FF512F 0%, #DD2476 51%, #FF512F 100%);
  background-size: 200% auto;
}

.btn-primary:hover {
  background-position: right center;
  /* change the direction of the change here */
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}