/* Custom styles for Slate Creek Yacht Club */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF9F6;
}
::-webkit-scrollbar-thumb {
    background: #4caf50;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2e7d32;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(250, 249, 246, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .text-forest-800 {
    color: #1b5e20 !important;
}

.nav-scrolled .mobile-link {
    color: #1b5e20 !important;
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Hover effects for cards */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Ensure images don't cause layout shift */
img {
    max-width: 100%;
    height: auto;
}

/* Focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #4caf50;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    nav, .no-print {
        display: none !important;
    }
    body {
        color: #000 !important;
        background: #fff !important;
    }
}
