/* Custom styles and overrides */
html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* Smooth transitions for mobile menu */
#mobile-menu {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

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

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

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

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

/* Form focus styles */
input:focus,
textarea:focus {
    outline: none;
    border-bottom-color: #b35a40;
}

/* Image hover effects */
img {
    transition: transform 0.7s ease;
}

/* Loading state for images */
img {
    background-color: #f7f0e6;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    img,
    .group:hover img {
        transition: none;
        transform: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav,
    #mobile-menu,
    .animate-bounce,
    form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
    }
}
