/* Custom styles for Mameys House */

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

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

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

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e293b;
}

/* Selection color */
::selection {
    background: #FF6B6B;
    color: white;
}

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

/* Animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .fade-in-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .animate-bounce {
        animation: none;
    }
    
    img {
        transition: none;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #FF6B6B;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image aspect ratio utilities */
.aspect-square {
    aspect-ratio: 1 / 1;
}
