/* Custom Styles for Moonlight Homestay */
html {
  scroll-behavior: smooth;
}

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

.animate-fade-in {
  animation: fade-in 1s ease-out;
}

/* Selection color */
::selection {
  background-color: #d97706;
  color: white;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  color: #78350f;
  font-size: 1rem;
  transition: color 0.2s;
}

.faq-trigger:hover {
  color: #b45309;
}

.faq-trigger svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-trigger.active svg {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: #374151;
}

.faq-content.open {
  max-height: 200px;
  padding: 0 1.5rem 1rem;
}

/* Header scroll state */
.header-scrolled {
  background-color: rgba(120, 53, 15, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
