/* Custom styles beyond Tailwind */

/* Smooth focus outlines */
*:focus-visible {
  outline: 2px solid #a82e2e;
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background: #fce7e7;
  color: #731c1c;
}

/* Subtle page transition */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Print styles */
@media print {
  nav, #contactForm, button { display: none; }
  body { color: #000; background: #fff; }
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Better form input styling */
input:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(168, 46, 46, 0.1);
}

/* Card hover lift effect */
.reveal:hover {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}
.reveal {
  transition: transform 0.3s ease;
}

/* Navbar glass effect when scrolled */
nav.scrolled {
  background: rgba(253, 248, 246, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(168, 46, 46, 0.08);
}

/* Mobile menu animation */
#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

/* Decorative serif italic fallback */
.font-serif em {
  font-style: italic;
}
