/* Custom Styles asking for Tailwind */

@layer utilities {
  .text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Sticky Header Glassmorphism */
header.scrolled {
  @apply bg-gray-900/95 backdrop-blur-md shadow-lg;
  transition: all 0.3s ease;
}

/* Animations */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

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

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Mobile Menu */
#mobile-menu {
  transition: transform 0.3s ease-in-out;
}
#mobile-menu.hidden {
  transform: translateX(100%);
}
#mobile-menu.flex {
  transform: translateX(0);
}

/* Accordion */
.accordion-content {
  transition: max-height 0.3s ease-out;
  max-height: 0;
  overflow: hidden;
}
.accordion-content.active {
  max-height: 500px; /* Arbitrary large height */
}
.accordion-icon {
  transition: transform 0.3s ease;
}
.accordion-btn[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

/* Floating WhatsApp */
.floating-whatsapp {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.floating-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Input Focus */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #f59e0b;
  ring: 2px solid #f59e0b;
}
