/* animations.css */
/* Advanced animations for a modern, luxurious experience */

/* Pulse animation with smoother scaling */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Wave animation with refined rotation */
@keyframes wave {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(6deg); }
  75% { transform: rotate(-6deg); }
  100% { transform: rotate(0deg); }
}

/* Gradient shift with vibrant movement */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Float animation with subtle bounce */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-25px); }
}

/* Bounce animation for scroll indicator */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-15px); }
  60% { transform: translateY(-7px); }
}

/* Luxury animation classes */
.luxury-float {
  animation: float 5s ease-in-out infinite;
}

.luxury-pulse {
  animation: pulse 3.5s ease infinite;
}

.luxury-wave {
  animation: wave 7s ease infinite;
}

/* Enhanced fade-in with perspective */
.luxury-fade-in {
  opacity: 0;
  transform: translateY(40px) rotateX(15deg);
  transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.luxury-fade-in.animated {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

/* 3D card hover effect with depth */
.card-3d {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  transform-style: preserve-3d;
}

.card-3d:hover {
  transform: perspective(1200px) rotateY(8deg) rotateX(4deg) translateY(-15px);
  box-shadow: 0 40px 60px rgba(0, 0, 0, 0.25);
}

/* Upgraded glass effect with more blur */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.6s ease;
}

.glass-effect:hover {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

/* Enhanced gold text with smoother gradient */
.gold-text {
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradientShift 2.5s linear infinite;
}

/* Animated border with smoother transition */
.animated-border {
  position: relative;
}

.animated-border::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-gold);
  transition: width 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animated-border:hover::after {
  width: 100%;
}

/* Form placeholder enhancements */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.65);
  transition: opacity 0.4s ease;
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
  opacity: 0.2;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.35);
}

/* Custom cursor with modern glow */
.custom-cursor {
  mix-blend-mode: normal;
  background: rgba(212, 175, 55, 0.75);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.custom-cursor.cursor-active {
  background: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.7);
}

/* New reveal animation for the improvements section */
@keyframes reveal {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  animation: reveal 1s ease forwards;
}