/* Custom styles for Eight 2 Eight Landscape */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf9f6;
}
::-webkit-scrollbar-thumb {
    background: #1a4d2e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #143d24;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* Navbar scroll state */
#navbar.scrolled {
    box-shadow: 0 1px 20px rgba(26, 77, 46, 0.08);
}

/* Mobile menu animation */
#mobileMenu.open {
    animation: fadeIn 0.2s ease;
}

/* Hero section gradient overlay */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.92) 0%, rgba(20, 61, 36, 0.85) 50%, rgba(15, 46, 26, 0.78) 100%);
    z-index: 1;
}

#hero > *:not(.absolute) {
    position: relative;
    z-index: 2;
}

/* Service card hover effect */
.group:hover .group-hover\:bg-forest-600 {
    background-color: #143d24;
}

/* Testimonial card hover */
#testimonials .group:hover {
    transform: translateY(-4px);
}

#testimonials .group {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #1a4d2e !important;
    box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.15) !important;
}

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

/* Gallery image transitions */
.group .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Print styles */
@media print {
    #navbar, #mobileMenu, .animate-on-scroll {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
