/* ==========================================================================
   Aly P&P Healthy Drink - custom styles
   --------------------------------------------------------------------------
   Tailwind (CDN) supplies the utility classes. This file holds only the
   bespoke theming: colour tokens, gradients, glass effects and the keyframe
   animations used across the page.
   ========================================================================== */

:root {
  --primary-red: #dc143c;
  --deep-red: #8b0000;
  --gold: #ffd700;
  --light-gold: #fff8dc;
  --fresh-green: #228b22;
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

.font-display {
  font-family: "Playfair Display", serif;
}

/* --------------------------------------------------------------------------
   Brand gradients and text treatments
   -------------------------------------------------------------------------- */

.zobo-gradient {
  background: linear-gradient(135deg, #dc143c 0%, #8b0000 50%, #4a0404 100%);
}

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

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Decorative backgrounds
   -------------------------------------------------------------------------- */

.splash {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23DC143C" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: bottom;
  opacity: 0.3;
}

.leaf-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 Q40 20 30 35 Q20 20 30 5' fill='%23228B22' fill-opacity='0.05'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Interactive components
   -------------------------------------------------------------------------- */

.product-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(220, 20, 60, 0.25);
}

.ingredient-tag {
  transition: all 0.3s ease;
}

.ingredient-tag:hover {
  transform: rotate(5deg) scale(1.1);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Respect users who ask the OS to reduce motion. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
