/* Custom styles for Pho Dang */

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

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.scroll-reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

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

/* Mobile links */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .scroll-reveal[data-reveal] {
        opacity: 1;
        transform: none;
    }
    
    img {
        transition: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

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

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

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

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

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