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

body {
  overflow-x: hidden;
}

::selection {
  background: rgba(123, 45, 59, 0.15);
  color: #7B2D3B;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdf0f2;
}
::-webkit-scrollbar-thumb {
  background: #f497a3;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7B2D3B;
}

/* ── Navbar ── */
#navbar {
  background: rgba(254, 252, 251, 0);
  backdrop-filter: none;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}

#navbar.scrolled {
  background: rgba(254, 252, 251, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

/* ── Mobile Menu ── */
.mobile-link {
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-link:hover {
  transform: scale(1.05);
}

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

/* ── Button Hover Effects ── */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover::before {
  left: 100%;
}

/* ── Image Hover ── */
img {
  transition: transform 0.7s ease;
}

/* ── Form Styles ── */
input:focus,
select:focus,
textarea:focus {
  border-color: #f497a3 !important;
  box-shadow: 0 0 0 4px rgba(244, 151, 163, 0.15) !important;
}

/* ── Decorative Animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes float-delayed {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  img { transition: none !important; }
  .service-card { transform: none !important; }
  .btn-primary::before { display: none; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
}

/* ── Mobile Responsiveness ── */
@media (max-width: 768px) {
  .font-serif {
    line-height: 1.15;
  }
}
