/* ============================================
   Beaud Up — Custom Styles
   ============================================ */

/* --- Base --- */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: #edbad4;
  color: #571c3e;
}

/* --- Navigation --- */
#nav {
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

#nav.scrolled {
  background: rgba(250, 240, 246, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(176, 52, 120, 0.08);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #b03478, #f5a623);
  border-radius: 1px;
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* --- Hero --- */
.hero-gradient {
  background: linear-gradient(135deg, #571c3e 0%, #932664 30%, #b03478 50%, #d98a14 80%, #f5a623 100%);
}

.hero-pattern {
  background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.08) 1px, transparent 1px),
                    radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px, 40px 40px;
}

.hero-badge {
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; }
}

.hero-orb {
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb--1 { animation-delay: 0s; }
.hero-orb--2 { animation-delay: -3s; }
.hero-orb--3 { animation-delay: -5s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-10px, 15px) scale(0.95); }
}

/* Scroll indicator */
.hero-orb--3 {
  animation-duration: 6s;
}

/* --- Cards --- */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
}

/* --- Gallery --- */
.gallery-item {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  transition: transform 0.6s ease;
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* --- Testimonial Orbs --- */
.testimonial-orb {
  animation: orbFloat 10s ease-in-out infinite;
}

.testimonial-pattern {
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* --- Form --- */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(176, 52, 120, 0.15);
}

/* --- Mobile Menu --- */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

::-webkit-scrollbar-track {
  background: #faf0f6;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #b03478, #f5a623);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #932664;
}

/* --- Print --- */
@media print {
  #nav, #mobile-menu, .reveal { display: none; }
  body { background: white; }
}
