/* Custom styles for Beetleys Gardens */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #022c22;
}
::-webkit-scrollbar-thumb {
    background: #065f46;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* Selection color */
::selection {
    background: rgba(16, 185, 129, 0.3);
    color: #fefdf8;
}

/* Base transitions */
a, button {
    transition: all 0.3s ease;
}

/* Image loading fallback */
img {
    background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
}

/* Nav styles */
#navbar.scrolled {
    background: rgba(2, 44, 34, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

#navbar.scrolled .font-serif {
    color: #fefdf8;
}

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

/* Reveal animations */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal-left {
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal-right {
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal-up.hidden, .reveal-left.hidden, .reveal-right.hidden {
        opacity: 0;
    }
    .reveal-up.hidden {
        transform: translateY(40px);
    }
    .reveal-left.hidden {
        transform: translateX(-40px);
    }
    .reveal-right.hidden {
        transform: translateX(40px);
    }
}

/* Gold accent line animation */
.gold-line {
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
}

/* Button hover glow */
button:hover, a:hover {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
}

/* Form focus styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.3);
}

/* Subtle pattern overlay for dark sections */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(16, 185, 129, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
}
