/* Mac's Guest House Inc - Custom Styles */
/* This file supplements Tailwind CSS with custom component styles */

/* Ensure no content is hidden before JS loads */
body {
  background: #fdf8f6;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #a52727;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection color */
::selection {
  background: rgba(165, 39, 39, 0.15);
  color: #3d1a1a;
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
  transition: all 0.3s ease;
}

/* Print styles */
@media print {
  nav, .mobile-menu, #contactForm, button {
    display: none !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
  .hero-bg {
    background: white !important;
  }
}

/* High contrast / reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .hero-bg h1 {
    font-size: 1.75rem !important;
  }
  .stat-number {
    font-size: 2rem !important;
  }
}

/* Large screens */
@media (min-width: 1920px) {
  .max-w-7xl {
    max-width: 80rem;
  }
}
