/* ─── Base & Utilities ─── */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

::selection {
  background: #C4785A;
  color: white;
}

/* ─── Navbar ─── */
.navbar-scrolled {
  background: rgba(253, 248, 244, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.navbar-scrolled .nav-logo-text {
  color: #1c1917;
}

/* ─── Hero Badge Animation ─── */
.hero-badge {
  animation: fadeInDown 0.8s ease-out both;
}

/* ─── Scroll Reveal Base ─── */
.service-reveal,
.about-reveal,
.gallery-reveal,
.testimonial-card,
.cta-reveal,
.contact-reveal {
  opacity: 1;
  transform: none;
}

/* ─── Service Cards ─── */
.service-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

/* ─── Testimonial Cards ─── */
.testimonial-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ─── Mobile Menu ─── */
.mobile-link {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease;
}

/* ─── Decorative Blobs ─── */
@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-20px) scale(1.02); }
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FDF8F0;
}
::-webkit-scrollbar-thumb {
  background: #E0A484;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C4785A;
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .service-card,
  .testimonial-card,
  .gallery-reveal,
  .cta-reveal,
  .contact-reveal,
  .about-reveal {
    transition: none;
    animation: none;
  }
  .service-card:hover {
    transform: none;
  }
  .gallery-reveal img {
    transition: none;
  }
}
