/* Custom styles for Ireland Cabinet Shop */

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

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

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

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

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

/* Gradient animation for hero */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.gradient-hero {
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

/* Card hover effects */
.reveal:hover {
    transform: translateY(-5px);
}

/* Button focus states */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .gradient-hero {
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .reveal:hover {
        transform: none;
    }
}

/* Mobile menu animation */
@media (max-width: 768px) {
    .mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .mobile-menu.open {
        max-height: 400px;
    }
}
