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

/* ===== GEOMETRIC SHAPES ===== */
.geo-shape {
  position: absolute;
  opacity: 0.12;
  pointer-events: none;
}

.geo-circle-1 {
  width: 320px; height: 320px;
  border-radius: 50%;
  background: #FDF0E4;
  top: 10%; left: -5%;
  animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: #F9EDE0;
  top: 60%; right: 5%;
  animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: white;
  top: 25%; right: 15%;
  animation: float-slow 12s ease-in-out infinite;
}

.geo-square-1 {
  width: 120px; height: 120px;
  background: #FDF0E4;
  bottom: 20%; left: 8%;
  border-radius: 24px;
  transform: rotate(45deg);
  animation: float-slow 18s ease-in-out infinite;
}

.geo-square-2 {
  width: 80px; height: 80px;
  background: white;
  top: 15%; left: 20%;
  border-radius: 16px;
  transform: rotate(20deg);
  animation: float-slow 14s ease-in-out infinite reverse;
}

.geo-triangle-1 {
  width: 0; height: 0;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-bottom: 120px solid #F9EDE0;
  top: 40%; left: 3%;
  animation: float-slow 16s ease-in-out infinite;
  opacity: 0.15;
}

.geo-triangle-2 {
  width: 0; height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid white;
  bottom: 30%; right: 10%;
  transform: rotate(-30deg);
  animation: float-slow 13s ease-in-out infinite reverse;
  opacity: 0.1;
}

.geo-ring-1 {
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 20px solid #FDF0E4;
  top: 55%; left: 15%;
  animation: float-slow 17s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-18px) rotate(3deg); }
  66% { transform: translateY(10px) rotate(-2deg); }
}

/* ===== SERVICE CARDS ===== */
.service-card {
  will-change: transform;
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.revealed {
    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; }
  .reveal-delay-5 { transition-delay: 0.5s; }
}

/* ===== NAV SCROLLED STATE ===== */
#nav.scrolled {
  background: rgba(253, 248, 242, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

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

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
</style>
