*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  overflow-x: hidden;
}

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, #C0603A 0%, #E85A20 30%, #F87143 60%, #D4AF5A 100%);
}

/* Hero blobs */
.hero-blob {
  animation: blobFloat 8s ease-in-out infinite;
}
.hero-blob-2 { animation-delay: -3s; animation-duration: 10s; }
.hero-blob-3 { animation-delay: -5s; animation-duration: 12s; }

@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); }
}

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

/* Service cards */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
}

/* Area cards */
.area-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Testimonial cards */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* Mobile menu */
#mobileMenu:not(.hidden) {
  display: flex;
}
.mobile-overlay {
  animation: fadeIn 0.2s ease;
}
.mobile-overlay:hover {
  cursor: pointer;
}
#mobileMenu:not(.hidden) .absolute {
  animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Focus styles */
input:focus, select:focus, textarea:focus {
  outline: none;
}

/* Selection */
::selection {
  background: #FDD0B5;
  color: #7A3521;
}
