/* 
 * Chameleon Contracting - Custom Styles
 * Complementary to Tailwind CSS
 */

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

body {
    /* Custom font stack applied via Tailwind, but ensuring fallback */
    font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Scroll Reveal Animation Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

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

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

/* Form Focus States */
input:focus, select:focus, textarea:focus {
    border-color: #14b8a6; /* mint-500 */
}

/* Image Aspect Ratio Utilities */
.aspect-[4/5] {
    aspect-ratio: 4/5;
}
