/* Custom Styles to complement Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8f7f4; /* Off-white */
}

/* Typography tweaks */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

p, li, a, button, input, textarea, select {
    font-family: 'DM Sans', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f8f7f4;
}
::-webkit-scrollbar-thumb {
    background: #0f3d2e;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2d8a66;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Staggered animation delays for service cards */
.group:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.1s backwards; }
.group:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.2s backwards; }
.group:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.3s backwards; }

/* Mobile Menu Transitions */
.mobile-link {
    transition: all 0.3s ease;
}
