/* Custom styles for Imperial Experience */

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* Animated gradient background for body - luxury subtle version */
body {
  background: linear-gradient(-45deg, #1a1a2e, #16213e, #0f3460, #1a1a2e);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  will-change: background-position;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
  
  .float-animation,
  .pulse-animation,
  .shimmer,
  .particles-bg::before {
    animation: none;
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Luxury animated background overlay - elegant dark version */
.luxury-bg {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 25%, #1f4068 50%, #162447 75%, #1a1a2e 100%);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
}

.luxury-bg-gold {
  background: linear-gradient(135deg, #c9a961 0%, #b8965f 25%, #d4af7a 50%, #a6885a 75%, #c9a961 100%);
  background-size: 400% 400%;
  animation: gradientShift 25s ease infinite;
}

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

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

/* Pulse animation for elements */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

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

/* Shimmer effect for luxury feel */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
  background-size: 1000px 100%;
  animation: shimmer 3s infinite;
}

/* Gold accent color */
.text-gold {
  color: #ffd700;
}

.bg-gold {
  background-color: #ffd700;
}

.border-gold {
  border-color: #ffd700;
}

/* Hover effects with scale */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Override default form input rounding if needed */
input, textarea {
  transition: box-shadow 0.2s ease-in-out;
}

input:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.5);
}

/* Animated particles background */
.particles-bg {
  position: relative;
  overflow: hidden;
}

.particles-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle, rgba(255, 215, 0, 0.2) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 50px 50px, 80px 80px;
  background-position: 0 0, 40px 40px;
  animation: particleMove 20s linear infinite;
  pointer-events: none;
}

@keyframes particleMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}