/* Custom styles for The Zuniga Family */

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

/* Custom selection color */
::selection {
    background: #FF6B6B;
    color: #2C2C2C;
}

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

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

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

::-webkit-scrollbar-thumb {
    background: #2C2C2C;
}

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

/* Animation utilities */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Image aspect ratios */
img {
    max-width: 100%;
    height: auto;
}

/* Form styles */
input, textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #2C2C2C;
    background: #F9F9F9;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: #2C2C2C;
    transition: all 0.2s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #FF6B6B;
    background: #fff;
}

input::placeholder, textarea::placeholder {
    color: #999;
}

/* Button focus states for accessibility */
button:focus, a:focus {
    outline: 3px solid #FF6B6B;
    outline-offset: 2px;
}

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