/* Custom Animations and Base Styles */

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

.animate-fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: forwards;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #064E3B;
    border: 1px solid #D4AF37;
}

::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}

/* Selection Color */
::selection {
    background: #D4AF37;
    color: #051610;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Form Focus Styles */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 1px #D4AF37;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}
