/* Custom styles for Look Stellar */

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

/* Reveal-up animations - progressive enhancement */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Navbar scroll state */
#navbar.scrolled {
    background-color: rgba(250, 245, 247, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(92, 41, 69, 0.08);
}

#navbar.scrolled .nav-link {
    color: #5a2945;
}

#navbar.scrolled #nav-logo {
    color: #4c243b;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5f7;
}
::-webkit-scrollbar-thumb {
    background: #dbaa ba;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a0527b;
}

/* Selection color */
::selection {
    background-color: #fbbf24;
    color: #2a1120;
}

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

/* Image aspect ratio fallbacks */
img {
    max-width: 100%;
    height: auto;
}

/* Subtle hover lift for cards */
.group:hover .group-hover\:-translate-y-1 {
    transform: translateY(-4px);
}

/* Decorative line animation */
@keyframes growWidth {
    from { width: 0; }
    to { width: 100%; }
}

/* Star animation */
@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
