/* Custom styles for Beacon Fitness */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f5f0;
}
::-webkit-scrollbar-thumb {
    background: #ff8a52;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff6b3f;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

nav.scrolled .font-display {
    color: #1a1a2e !important;
}

nav.scrolled a:not(.bg-coral-500) {
    color: #3d3d5c !important;
}

nav.scrolled a:not(.bg-coral-500):hover {
    color: #ff6b3f !important;
}

/* Hero image float animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.floating-card {
    animation: float 4s ease-in-out infinite;
}

/* Decorative dot pattern */
.dot-pattern {
    background-image: radial-gradient(circle, #ff8a52 1px, transparent 1px);
    background-size: 16px 16px;
}

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

/* Scroll reveal base - content is visible by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        transition: none;
    }
    .floating-card {
        animation: none;
    }
    img {
        transition: none;
    }
}
