/* Custom styles for Mimi's Treats */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', sans-serif;
}

.font-display {
  font-family: 'DM Serif Display', Georgia, serif;
}

/* Navbar transition */
#site-header.scrolled {
  background: rgba(254, 253, 251, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(127, 64, 42, 0.08);
}

/* Nav links */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #c0603a;
  border-radius: 1px;
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile menu */
.mobile-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(192, 96, 58, 0.1);
}

.mobile-link:last-child {
  border-bottom: none;
}

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

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

  .reveal-left {
    opacity: 0;
    transform: translateX(-40px);
  }

  .reveal-right {
    opacity: 0;
    transform: translateX(40px);
  }

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #fdf8f0;
}

::-webkit-scrollbar-thumb {
  background: #e0a888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c0603a;
}

/* Selection color */
::selection {
  background: #f9c7b8;
  color: #673624;
}
