/* Custom Animations and Utilities */
@keyframes gradient-xy {
  0%, 100% {
    background-size: 400% 400%;
    background-position: left center;
  }
  50% {
    background-size: 600% 600%;
    background-position: right center;
  }
}

.animate-gradient-xy {
  animation: gradient-xy 15s ease infinite;
}

/* Scroll Reveal Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

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

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

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

::-webkit-scrollbar-thumb {
  background: #E2725B;
  border-radius: 5px;
}

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

/* Form Styles */
input, textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #E6D5B8;
  border-radius: 0.5rem;
  background-color: #FDF9F2;
  font-family: 'Montserrat', sans-serif;
  color: #4A403A;
  transition: border-color 0.3s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #E2725B;
}

/* Mobile Menu Transitions */
#mobile-menu {
  transition: opacity 0.3s ease, visibility 0.3s;
}

#mobile-menu.hidden {
  opacity: 0;
  pointer-events: none;
}

#mobile-menu:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}
