/* Custom Animations and Utilities */

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

/* Base Typography Adjustments */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for hero text */
.reveal-text:nth-child(1) { transition-delay: 0.1s; }
.reveal-text:nth-child(2) { transition-delay: 0.2s; }
.reveal-text:nth-child(3) { transition-delay: 0.3s; }
.reveal-text:nth-child(4) { transition-delay: 0.4s; }

/* Image Hover Effect */
img {
    will-change: transform;
}

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

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

::-webkit-scrollbar-thumb {
    background: #064e3b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #022c22;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Form Focus Styles */
input:focus, textarea:focus {
    outline: none;
    border-bottom-color: #064e3b;
}

/* Input Placeholder Styling */
input::placeholder, textarea::placeholder {
    color: #d1d5db; /* Tailwind gray-300 approx */
    opacity: 1;
}

/* Navbar Scrolled State */
.navbar-scrolled {
    background-color: rgba(252, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(6, 78, 59, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Button Hover Animation */
button, a {
    position: relative;
    overflow: hidden;
}
