/* style.css - Greater Triangle Area Homes */

/* Fonts */
body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

.font-display {
  font-family: 'Playfair Display', serif;
}

/* Smooth scroll for the whole page */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Navigation active state */
.nav-active {
  color: #0f172a;
  font-weight: 600;
  border-bottom: 2px solid #f59e0b;
}

/* Card hover effect */
.property-card:hover .property-image {
  transform: scale(1.05);
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Transition helpers */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

/* Gold accent underline for links */
.gold-underline {
  position: relative;
}
.gold-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f59e0b;
  transition: width 0.3s ease;
}
.gold-underline:hover::after {
  width: 100%;
}

/* Mobile menu animation */
#mobile-menu.show {
  display: block;
  animation: fadeInUp 0.3s ease-out;
}

/* Range input styling */
input[type='range'] {
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  outline: none;
}
input[type='range']::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f59e0b;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
input[type='range']::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f59e0b;
  cursor: pointer;
  border: none;
}

/* Button pulse on hover */
.btn-pulse:hover {
  animation: pulse 1s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
}

/* Responsive tables */
@media (max-width: 640px) {
  .responsive-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Intersection observer fade-in */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}