/* Custom styles for Tumbleweed Coffee House */

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

/* Hero blob animations */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.05); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-25px, 20px) scale(1.08); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15px, 25px) scale(1.03); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -15px) scale(1.06); }
}

.hero-blob.blob-1 { animation: float1 8s ease-in-out infinite; }
.hero-blob.blob-2 { animation: float2 10s ease-in-out infinite; }
.hero-blob.blob-3 { animation: float3 7s ease-in-out infinite; }
.hero-blob.blob-4 { animation: float4 9s ease-in-out infinite; }

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(254, 249, 243, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(157, 23, 77, 0.08);
}

/* Feature card hover */
.feature-card {
    opacity: 1;
}

/* Gallery hover */
.gallery-item {
    cursor: pointer;
}

/* Scroll reveal base — always 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) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-blob {
        animation: none !important;
    }
    
    .gallery-item img {
        transition: none !important;
    }
}

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

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fef9f3;
}

::-webkit-scrollbar-thumb {
    background: #f9a8d4;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f472b6;
}

/* Selection color */
::selection {
    background: #fbcfe8;
    color: #831443;
}
