/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04);
}

/* Mobile menu */
#mobileMenu {
  animation: slideDown 0.2s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero decorative shapes */
.deco-circle-1 {
  position: absolute;
  top: -80px; left: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(15,118,110,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.deco-circle-2 {
  position: absolute;
  bottom: -60px; right: 10%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(234,88,12,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.deco-rect-1 {
  position: absolute;
  top: 20%; right: 5%;
  width: 80px; height: 80px;
  background: rgba(15,118,110,0.06);
  border-radius: 16px;
  transform: rotate(45deg);
  pointer-events: none;
}
.deco-dots {
  position: absolute;
  bottom: 15%; left: 5%;
  width: 60px; height: 60px;
  background-image: radial-gradient(circle, rgba(15,118,110,0.2) 1.5px, transparent 1.5px);
  background-size: 10px 10px;
  opacity: 0.6;
  pointer-events: none;
}

/* Service cards */
.service-card {
  animation: fadeUp 0.5s ease both;
}
.service-card:nth-child(1) { animation-delay: 0.05s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.15s; }
.service-card:nth-child(4) { animation-delay: 0.2s; }
.service-card:nth-child(5) { animation-delay: 0.25s; }
.service-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal (below fold only) */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #0F766E;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection color */
::selection {
  background: rgba(15, 118, 110, 0.15);
  color: #0F766E;
}
</style>
