/* Desert Palms Apartments — Custom Styles */

/* Ensure smooth rendering */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #fdfcfa;
}

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

/* Smooth image loading */
img {
  display: block;
  max-width: 100%;
}

/* Selection color */
::selection {
  background-color: #c5d9bc;
  color: #1d341b;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf7f0;
}
::-webkit-scrollbar-thumb {
  background: #c5d9bc;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #96be8d;
}

/* Reduce motion for all animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print styles */
@media print {
  #navbar, #mobile-menu, .reveal {
    display: none !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.75rem;
    color: #666;
  }
}
