/* Custom styles and animations */

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

/* Mobile menu animations */
.menu-line-1 {
    transform-origin: center;
}
.menu-line-2 {
    transform-origin: center;
}
.menu-line-3 {
    transform-origin: center;
}

/* Active menu state */
body.menu-open .menu-line-1 {
    transform: translateY(8px) rotate(45deg);
}
body.menu-open .menu-line-2 {
    opacity: 0;
}
body.menu-open .menu-line-3 {
    transform: translateY(-8px) rotate(-45deg);
    width: 1.25rem;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f5f0;
}
::-webkit-scrollbar-thumb {
    background: #9cc5a6;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6fa578;
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(44, 84, 52, 0.1);
}

/* Button ripple effect */
button {
    position: relative;
    overflow: hidden;
}
