/* Custom Styles for D Squared Pest Control */

/* Base Typography */
html {
    scroll-behavior: smooth;
}

body {
    /* Custom color palette application */
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Utility for custom colors not in Tailwind default palette */
.bg-emerald-500 { background-color: #10b981; }
.text-emerald-500 { color: #10b981; }
.bg-emerald-600 { background-color: #059669; }
.text-emerald-600 { color: #059669; }
.bg-emerald-100 { background-color: #d1fae5; }
.text-emerald-100 { color: #d1fae5; }
.text-emerald-400 { color: #34d399; }
.bg-slate-900 { background-color: #0f172a; }
.text-slate-900 { color: #0f172a; }
.bg-slate-800 { background-color: #1e293b; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }

/* Animation Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Mobile Menu Transitions */
#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: 500px;
    opacity: 1;
}

/* Button Focus States for Accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}
