/* Custom styles for Falla Farm Gardens */

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

/* Navbar glass effect */
nav.scrolled {
    background: rgba(6, 13, 31, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(125, 236, 200, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Floating card animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
}

.floating-card-1 {
    animation: float-slow 6s ease-in-out infinite;
}

.floating-card-2 {
    animation: float-medium 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Reveal animations — progressive enhancement only */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: reduce) {
    .reveal.hidden-reveal {
        opacity: 1;
        transform: none;
    }
    .floating-card-1,
    .floating-card-2 {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Geometric shape decorations */
.geo-square {
    position: absolute;
    border: 2px solid rgba(125, 236, 200, 0.15);
    border-radius: 4px;
    pointer-events: none;
}

/* Selection color */
::selection {
    background: rgba(0, 201, 138, 0.3);
    color: #D8FFF1;
}

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

::-webkit-scrollbar-track {
    background: #060D1F;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 201, 138, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 201, 138, 0.5);
}

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

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #7DECC8;
    outline-offset: 2px;
}

/* Select dropdown styling */
select option {
    background: #0A1628;
    color: #D8FFF1;
}

/* Subtle gradient overlay for hero */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 13, 31, 0.4) 0%, transparent 60%);
    pointer-events: none;
}
