/* Custom styles for Conner Executive Cleaning */

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

/* Floating animations for hero cards */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.animate-float-slow {
    animation: float-slow 5s ease-in-out infinite;
}

.animate-float-medium {
    animation: float-medium 4s ease-in-out infinite;
}

.animate-float-fast {
    animation: float-fast 3.5s ease-in-out infinite;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(74, 44, 94, 0.08), 0 4px 20px rgba(0, 0, 0, 0.06);
}

.navbar-scrolled .font-display,
.navbar-scrolled span[class*="font-display"] {
    color: #2D1B36 !important;
}

.navbar-scrolled a:not(.bg-plum-800):not(.bg-amber-500) {
    color: #4A5568 !important;
}

.navbar-scrolled a:not(.bg-plum-800):not(.bg-amber-500):hover {
    color: #4A2C5E !important;
}

.navbar-scrolled .text-plum-600 {
    color: #6E4785 !important;
}

.navbar-scrolled .text-plum-800 {
    color: #4A2C5E !important;
}

/* Selection color */
::selection {
    background: #E8A838;
    color: #2D1B36;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #4A2C5E;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A2C5E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
