/* Custom styles for Amanda Padilla Real Estate PROS */

/* Smooth reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header scroll state */
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(160, 32, 48, 0.08);
}

#site-header.scrolled .font-serif {
  color: #a02030;
}

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

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

/* Hero text animation */
#hero h1 {
  animation: fadeInUp 1s ease 0.3s both;
}

#hero p {
  animation: fadeInUp 1s ease 0.5s both;
}

#hero a {
  animation: fadeInUp 1s ease 0.7s both;
}

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

/* Service card hover */
.group:hover .group-hover\:bg-burgundy-500 {
  transition: background-color 0.3s ease;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(160, 32, 48, 0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #faf8f6;
}

::-webkit-scrollbar-thumb {
  background: #d4a0a0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a02030;
}

/* Selection color */
::selection {
  background: rgba(160, 32, 48, 0.2);
  color: #3a2a2a;
}
