/* Custom styles for Red Agave Landscaping */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d1a2e;
}
::-webkit-scrollbar-thumb {
    background: #2c5282;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3d9b6a;
}

/* Selection color */
::selection {
    background: rgba(91, 184, 133, 0.3);
    color: #f0f4f8;
}

/* Navbar transition */
#navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#navbar.scrolled {
    background: rgba(8, 15, 26, 0.95);
    border-bottom: 1px solid rgba(91, 184, 133, 0.1);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

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

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #152741 0%, #0d1a2e 100%);
}

/* Decorative line animation */
@keyframes growWidth {
    from { width: 0; }
    to { width: 3rem; }
}

/* Hero decorative elements */
.absolute.top-20.left-10,
.absolute.top-32.right-16,
.absolute.bottom-32.left-20 {
    opacity: 0.5;
}

/* Card hover lift */
.group:hover {
    transform: translateY(-2px);
}

.group {
    transition: transform 0.3s ease;
}

/* Gallery image overlay */
.group.relative .absolute {
    transition: opacity 0.3s ease;
}
