/* Custom styles that complement Tailwind CSS for Medina Jumpers and Bounce House */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Ensure all text meets WCAG AA contrast ratios */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero section - dark background with light text */
#hero {
    background: linear-gradient(135deg, #8B1A4D 0%, #7a1540 50%, #580c2a 100%);
}

/* Ensure mobile menu is accessible */
#mobileMenu {
    background: rgba(255, 248, 240, 0.98);
    backdrop-filter: blur(10px);
}

#mobileMenu a {
    border-radius: 0.75rem;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #8B1A4D;
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .animate-float,
    .animate-float-reverse,
    .animate-bounce-subtle,
    .animate-pulse-glow {
        animation: none !important;
    }
    
    .reveal.hidden-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .geo-circle,
    .geo-square,
    .geo-triangle {
        display: none;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}
