/* Custom styles for Taylor's Landing Townhomes */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f0f18;
}
::-webkit-scrollbar-thumb {
  background: #353548;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4a4a5e;
}

/* Selection color */
::selection {
  background: rgba(255, 122, 90, 0.3);
  color: #f7f7f8;
}

/* Hero image parallax-like effect on scroll */
#hero img {
  will-change: transform;
}

/* Subtle gradient text for hero */
.text-coral-400 {
  background: linear-gradient(135deg, #ffb096 0%, #ff7a5a 50%, #e8431a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Ensure select dropdown text is visible */
select option {
  background: #1a1a28;
  color: #f7f7f8;
}

/* Mobile menu transitions */
#mobile-menu {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(15, 15, 24, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 1px 0 rgba(255, 122, 90, 0.1);
}

/* Card hover lift */
.group {
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.group:hover {
  transform: translateY(-4px);
}

/* Image aspect ratios */
img {
  max-width: 100%;
  height: auto;
}
</style>
