/* ── Base & Utilities ── */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Hero Gradient ── */
.hero-gradient {
  background: linear-gradient(135deg, #6e1729 0%, #a31a34 35%, #c72746 65%, #ff6b8a 100%);
}

/* ── CTA Gradient ── */
.cta-gradient {
  background: linear-gradient(135deg, #6e1729 0%, #a31a34 50%, #df4566 100%);
}

/* ── Primary Button ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #a31a34, #c72746);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 0.875rem 2rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(163, 26, 52, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #841a2e, #a31a34);
  box-shadow: 0 6px 25px rgba(163, 26, 52, 0.4);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* ── Nav ── */
.nav-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(254, 252, 248, 0);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-scrolled.scrolled {
  background: rgba(254, 252, 248, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(110, 23, 41, 0.08);
}

.nav-scrolled.scrolled .nav-link {
  color: #4b5563;
}

.nav-scrolled.scrolled .nav-link:hover {
  color: #a31a34;
}

.nav-scrolled.scrolled .logo-text {
  color: #6e1729;
}

/* ── Scroll Reveal ── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    opacity: 0;
    transform: translateY(30px);
  }
  .reveal-left {
    opacity: 0;
    transform: translateX(-30px);
  }
  .reveal-right {
    opacity: 0;
    transform: translateX(30px);
  }

  .reveal-up.visible,
  .reveal-left.visible,
  .reveal-right.visible {
    opacity: 1;
    transform: none;
  }
}

/* ── Mobile Menu ── */
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu.closed {
  opacity: 0;
  pointer-events: none;
}

/* ── Area Cards ── */
.area-card img {
  will-change: transform;
}

/* ── Service Cards ── */
.service-card {
  will-change: transform;
}

/* ── Testimonial Cards ── */
.testimonial-card {
  will-change: transform;
}

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

/* ── Selection ── */
::selection {
  background: rgba(163, 26, 52, 0.15);
  color: #6e1729;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdf6eb;
}
::-webkit-scrollbar-thumb {
  background: #f3a7b7;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c72746;
}
