/* Custom styles for Court Square Property Management */

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

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

#navbar.scrolled .font-display,
#navbar.scrolled span {
    color: #04234a !important;
}

#navbar.scrolled a:not(.bg-terracotta-600) {
    color: #0447a6 !important;
}

/* Hero animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

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

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

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

/* Selection color */
::selection {
    background: #fce7e1;
    color: #7a2e21;
}

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

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

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

/* Card hover effect */
.group:hover .group-hover\\:translate-y-\\[-4px] {
    transform: translateY(-4px);
}

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