/* Custom styles and overrides */

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

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

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

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

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(250, 248, 245, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Selection color */
::selection {
    background: #fce4d8;
    color: #3d1008;
}

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

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #e0522a;
    outline-offset: 2px;
}

/* Button hover animation */
button, a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image hover zoom effect */
img {
    transition: transform 0.3s ease;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(224, 82, 42, 0.1);
}

/* Card hover effects */
.group:hover .group-hover\\:bg-white\\/20 {
    background-color: rgba(255, 255, 255, 0.2);
}

.group:hover .group-hover\\:stroke-white {
    stroke: white;
}

.group:hover .group-hover\\:text-white {
    color: white;
}

.group:hover .group-hover\\:text-white\\/80 {
    color: rgba(255, 255, 255, 0.8);
}

/* Subtle pattern overlay */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(184, 154, 126, 0.15) 1px, transparent 0);
    background-size: 24px 24px;
}
