/* Custom styles for Tasty Kreations Bake Stand */

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

/* Navbar scroll behavior */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Nav links on scrolled state */
#navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
}

#navbar.scrolled .nav-link:hover {
    color: #ffffff !important;
}

#navbar.scrolled .nav-logo-text {
    color: #ffffff !important;
}

/* Mobile menu link styles */
.mobile-link:hover {
    color: #ffffff !important;
}

/* Custom selection color */
::selection {
    background-color: #F27059;
    color: #ffffff;
}

/* Subtle fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.fade-in.stagger-1 { transition-delay: 0.1s; }
.fade-in.stagger-2 { transition-delay: 0.2s; }
.fade-in.stagger-3 { transition-delay: 0.3s; }
.fade-in.stagger-4 { transition-delay: 0.4s; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    img { transition: none; }
}

/* Gallery hover effect */
.rounded-2xl.overflow-hidden img {
    display: block;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #2D2D2D;
}
::-webkit-scrollbar-thumb {
    background: #4f4f4f;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #F27059;
}
