/* Custom styles for Brother's Plumbing */
:root {
    --emerald-dark: #064E3B;
    --emerald-light: #059669;
    --cream: #FDFBF7;
    --lime-light: #d9f99d;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--cream);
    color: var(--emerald-dark);
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Space Grotesk', sans-serif;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceSlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

.animate-bounce-slow {
    animation: bounceSlow 3s ease-in-out infinite;
}

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

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--emerald-dark);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--emerald-light);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translate-x(0);
}

#mobile-menu.closed {
    transform: translate-x(full);
}

/* Service card hover effects */
.group:hover .group-hover\:bg-\[\#064E3B\] {
    background-color: var(--emerald-dark);
}

/* Geometric shapes */
.geometric-shape {
    position: absolute;
    z-index: 0;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--emerald-light);
    outline-offset: 2px;
}
