/* Custom styles for Purple's Westside Pub */

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

/* Navbar scroll state */
.nav-logo-text {
    color: #1e293b;
    transition: color 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}

#navbar.scrolled .nav-logo-text {
    color: #1e293b;
}

/* Scroll reveal base — content is always visible by default */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

    /* Floating card animations */
    .float-card-1 {
        animation: float1 4s ease-in-out infinite;
    }

    .float-card-2 {
        animation: float2 5s ease-in-out infinite;
    }

    .float-card-3 {
        animation: float3 4.5s ease-in-out infinite;
    }

    @keyframes float1 {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }

    @keyframes float2 {
        0%, 100% { transform: translateY(0px) translateX(0px); }
        50% { transform: translateY(-8px) translateX(4px); }
    }

    @keyframes float3 {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-12px); }
    }
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Subtle focus styles */
input:focus,
textarea:focus {
    outline: none;
}

/* Selection color */
::selection {
    background: #99f6e4;
    color: #134e4a;
}
