/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ===== NAV ===== */
#nav { background: transparent; }
#nav.scrolled {
  background: rgba(12, 12, 14, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ===== MOBILE MENU ===== */
.mobile-link { transition: opacity 0.2s; }
#mobileMenu.open { opacity: 1; pointer-events: auto; }
#mobileMenu.closed { opacity: 0; pointer-events: none; }

/* ===== HERO BLOBS ===== */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 {
  width: 400px; height: 400px;
  background: rgba(232, 93, 74, 0.18);
  top: 10%; left: -5%;
  animation-delay: 0s;
}
.blob-2 {
  width: 300px; height: 300px;
  background: rgba(232, 93, 74, 0.1);
  bottom: 15%; right: 30%;
  animation-delay: -3s;
}
.blob-3 {
  width: 200px; height: 200px;
  background: rgba(232, 93, 74, 0.12);
  top: 40%; right: -3%;
  animation-delay: -5s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.95); }
}

/* ===== 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, #E85D4A, #FF8F7A);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before {
  transform: scaleX(1);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== COUNTER ANIMATION ===== */
.counter { display: inline-block; }

/* ===== SELECTION ===== */
::selection { background: rgba(232, 93, 74, 0.3); color: #fff; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #18181b; }
::-webkit-scrollbar-thumb { background: #3f3f46; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #E85D4A; }

/* ===== MOBILE MENU ANIMATION ===== */
.menu-line { transition: all 0.3s ease; }
#menuBtn.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
#menuBtn.active .menu-line:nth-child(2) { opacity: 0; }
#menuBtn.active .menu-line:nth-child(3) { width: 20px; transform: rotate(-45deg) translate(4px, -4px); }

/* ===== FORM SELECT ARROW ===== */
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='%2371717A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
