/* Custom Styles for Flint Professional Office Services */

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Typography refinements */
h1, h2, h3, h4 {
    letter-spacing: -0.02em;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 61, 46, 0.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #165a42;
}

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Map filter override for light mode */
.map-container iframe {
    filter: grayscale(100%) invert(90%) contrast(90%);
}

/* Service card hover lift effect */
.group:hover {
    transform: translateY(-5px);
}

.group {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Navbar scroll state */
.nav-scrolled #nav-bg {
    opacity: 1;
}
