/* Custom animations and overrides */
html {
    scroll-behavior: smooth;
}

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

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

/* Service card stagger animation */
.service-card {
    opacity: 0;
    transform: translateY(30px);
}

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Mobile menu transition */
.mobile-menu-open #mobile-menu {
    transform: translateX(0);
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(-5deg);
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #145e24;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    border-color: #1d7a30 !important;
    box-shadow: 0 0 0 3px rgba(29, 122, 48, 0.1);
}

/* Gallery hover overlay */
.group:hover img {
    transform: scale(1.1);
}

/* Button hover effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Smooth section transitions */
section {
    position: relative;
}

/* Mobile menu backdrop */
.mobile-menu {
    backdrop-filter: blur(10px);
}

/* Print styles */
@media print {
    nav, .animate-float, .animate-float-delayed {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
