/* Custom styles for Buckhorn Wildlife Preserve & Lodge */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f0;
}
::-webkit-scrollbar-thumb {
    background: #d4a574;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c23e20;
}

/* Selection color */
::selection {
    background: #e05a33;
    color: white;
}

/* Subtle pattern overlay for sections */
.section-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(224, 90, 51, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Image hover zoom container */
.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.6s ease;
}
.img-zoom:hover img {
    transform: scale(1.05);
}

/* Decorative divider */
.divider-terracotta {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e05a33, #f5ad8a);
    border-radius: 2px;
}

/* Card hover lift effect */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #e05a33, #c23e20);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Noise texture overlay */
.noise-overlay {
    position: relative;
}
.noise-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    border-radius: inherit;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating animation for stat cards */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.stat-card:nth-child(1) { animation: float 4s ease-in-out infinite; }
.stat-card:nth-child(2) { animation: float 4s ease-in-out infinite 0.5s; }
.stat-card:nth-child(3) { animation: float 4s ease-in-out infinite 1s; }
.stat-card:nth-child(4) { animation: float 4s ease-in-out infinite 1.5s; }

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #e05a33;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, #contact-form, button { display: none; }
    body { color: #000; background: #fff; }
}
