/* Custom styles for Jonathan Wyatt Real Estate */

/* Ensure all text has proper contrast */
body {
  background-color: #0D0D0D;
  color: #FAFAF8;
}

/* Gold gradient text */
.gold-gradient {
  background: linear-gradient(135deg, #C9A96E 0%, #E8D5B5 50%, #C9A96E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtle hover effects */
a {
  transition: color 0.3s ease;
}

/* Custom focus styles */
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation for mobile menu */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

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

/* Property card hover effect */
.luxury-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.luxury-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(201, 169, 110, 0.25);
}

/* Image zoom on hover */
img {
  transition: transform 0.5s ease;
}

img:hover {
  transform: scale(1.05);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
  border-color: #C9A96E !important;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

/* Success message animation */
#form-success {
  animation: fadeIn 0.5s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-bg {
    background-attachment: scroll;
  }
}

/* Reduced motion preference */
@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;
  }
}
