/* Custom styles for Ray & Kay Estate Liquidations */

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

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

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

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

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

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

/* 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;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Focus visible styles */
:focus-visible {
    outline: 3px solid #E8634A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card hover effects */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

.group:hover .group-hover\\:rotate-3 {
    transform: rotate(3deg);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 4px rgba(232, 99, 74, 0.1);
}

/* Button hover effects */
button,
a[href] {
    transition: all 0.3s ease;
}

/* Print styles */
@media print {
    header,
    footer,
    #contact-form,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2rem, 5vw, 3rem);
    }
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Loading state for form */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Subtle pattern overlay for hero */
.hero-gradient {
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(255, 154, 126, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(232, 99, 74, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 184, 165, 0.3) 0%, transparent 50%);
}
