/* Custom styles for Around The Clock Family Childcare */

html {
  scroll-behavior: smooth;
}

/* Prevent flash of hidden content - all content is visible by default */

/* Custom gradient for hero decorative elements */
.bg-gradient-hero {
  background: linear-gradient(135deg, #fdf4f8 0%, #fffbeb 50%, #fce7f3 100%);
}

/* Smooth transition for mobile menu */
#mobileMenu {
  animation: slideDown 0.3s ease-out;
}

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

/* Menu button animation */
.menu-line {
  transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
  opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
  width: 24px;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Subtle hover effects for cards */
.group:hover .group-hover\\:rotate-6 {
  transform: rotate(6deg);
}

/* Ensure all interactive elements have proper focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #f472b6;
  outline-offset: 2px;
}

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

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

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

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

/* Selection color */
::selection {
  background: #fbcfe8;
  color: #831443;
}
