/* Custom styles beyond Tailwind */
:root {
    --color-charcoal: #2D3436;
    --color-coral: #FF7F50;
    --color-coral-light: #FF9F85;
    --color-cream: #FFF8F5;
    --color-sand: #F5F0EB;
    --color-sage: #E8F0E8;
}

html {
    scroll-behavior: smooth;
}

/* Scroll reveal animations - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth hover transitions for interactive elements */
a, button {
    transition: all 0.2s ease;
}

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

::-webkit-scrollbar-track {
    background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--color-coral);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-coral-light);
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 127, 80, 0.2);
}

/* Selection color */
::selection {
    background: var(--color-coral);
    color: white;
}

/* Mobile menu animation */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Image hover zoom */
.group:hover .group-hover\:scale-105 {
    transition: transform 0.5s ease;
}
