/* ═══════════════════ BASE & RESET ═══════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; min-height: 100vh; }

/* ═══════════════════ NAVIGATION ═══════════════════ */
.nav-fixed { position: fixed; }

.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: #fbbf24;
  border-radius: 1px;
  transition: transform 0.3s ease;
}
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }

.mobile-nav-item { border-radius: 0.75rem; }

/* ═══════════════════ HERO BLOBS ═══════════════════ */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #a855f7, #7c3aed);
  top: -100px; right: -50px;
  animation-delay: 0s;
}
.blob-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f59e0b, #d97706);
  bottom: 10%; left: 5%;
  animation-delay: -3s;
}
.blob-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #c084fc, #a855f7);
  top: 40%; right: 30%;
  animation-delay: -5s;
}

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

/* ═══════════════════ FLOATING ANIMATIONS ═══════════════════ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes floatDelayed {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-delayed { animation: floatDelayed 5s ease-in-out infinite; animation-delay: -1.5s; }

/* ═══════════════════ SERVICE CARDS ═══════════════════ */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #a855f7, #f59e0b);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover::before { opacity: 1; }

/* ═══════════════════ GALLERY ═══════════════════ */
.gallery-item {
  cursor: pointer;
  position: relative;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74, 24, 69, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}
.gallery-item:hover::after { opacity: 1; }

/* ═══════════════════ SCROLL REVEAL ═══════════════════ */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-supported .reveal {
  opacity: 0;
  transform: translateY(28px);
}
@media (prefers-reduced-motion: no-preference) {
  .js-supported .reveal {
    opacity: 0;
    transform: translateY(28px);
  }
  .js-supported .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════ FORM STYLES ═══════════════════ */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ═══════════════════ CUSTOM SCROLLBAR ═══════════════════ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #faf0fb; }
::-webkit-scrollbar-thumb { background: #c752be; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a834a0; }

/* ═══════════════════ SELECTION ═══════════════════ */
::selection { background: #eab4e6; color: #4a1845; }
