/* Custom styles for Erase-Ink */

:root {
  --plum-950: #160a16;
  --plum-900: #2a122a;
  --plum-800: #3d1a3d;
  --plum-700: #512351;
  --plum-600: #682e68;
  --plum-400: #9b649b;
  --plum-300: #ba93bb;
  --plum-200: #d6bfd8;
  --plum-100: #ebe0ee;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
}

.font-playfair {
  font-family: 'Playfair Display', serif;
}

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

/* Gold particles */
.gold-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
  border-radius: 50%;
  animation: float-particle 6s ease-in-out infinite;
  opacity: 0.4;
}

@keyframes float-particle {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-30px) scale(1.2);
    opacity: 0.7;
  }
}

/* Navbar scroll effect */
#navbar.scrolled {
  background: rgba(22, 10, 22, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

/* Service card hover */
.service-card {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.5s ease;
}

/* FAQ animations */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

.faq-content.open {
  max-height: 200px;
}

.faq-icon.rotated {
  transform: rotate(45deg);
}

/* Scroll reveal base (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile menu transitions */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #160a16;
}

::-webkit-scrollbar-thumb {
  background: #512351;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #682e68;
}

/* Selection color */
::selection {
  background: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}
