/*
Theme Name: Beckham Premium
Theme URI: https://beckham-hotel.ru
Description: Custom WordPress Theme for Beckham Premium Pillow E-commerce
Author: Solo Developer
Version: 1.0.0
*/

@import "tailwindcss";

@layer base {
  html {
    scroll-behavior: smooth;
  }
  
  /* Custom scrollbar for premium aesthetic */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0B0C10;
  }
  ::-webkit-scrollbar-thumb {
    background: #23262F;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #C5A880;
  }

  .hide-scrollbar::-webkit-scrollbar {
    display: none;
  }
  .hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* Custom premium typography classes */
.font-playfair {
  font-family: 'Playfair Display', serif;
}

.font-cormorant {
  font-family: 'Cormorant Garamond', serif;
}

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

/* Subtle glow animations for luxury premium feel */
@keyframes goldGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.15), inset 0 0 15px rgba(197, 168, 128, 0.05);
  }
  50% {
    box-shadow: 0 0 25px rgba(197, 168, 128, 0.3), inset 0 0 20px rgba(197, 168, 128, 0.1);
  }
}

.animate-gold-glow {
  animation: goldGlow 6s infinite ease-in-out;
}

/* Float animation for the hero pillow */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1.5deg);
  }
}

.animate-float {
  animation: float 7s infinite ease-in-out;
}

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

.animate-float-slow {
  animation: float-slow 10s infinite ease-in-out;
}

/* UI Transitions */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.animate-slide-in {
  animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-scale-in {
  animation: scaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes blob-move {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.animate-blob {
  animation: blob-move 20s infinite alternate ease-in-out;
}
