/* Custom styles for Farmhouse At City's Edge */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Thin scrollbar for webkit */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #fafaf9;
}
::-webkit-scrollbar-thumb {
  background: #d6d3d1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a8a29e;
}

/* Selection color */
::selection {
  background: #fbcfe8;
  color: #500724;
}

/* Subtle pattern overlay for hero */
.hero-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 32px 32px;
}

/* Nav scroll state */
.nav-scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

/* Room card hover */
.room-card:hover .room-img {
  transform: scale(1.05);
}

/* Smooth image loading */
img {
  image-rendering: auto;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid #831443;
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .group:hover .room-img,
  .group:hover img {
    transform: none;
  }
  .animate-bounce {
    animation: none;
  }
}
