/* Custom styles for Lucy's 13 */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Navbar transition states */
.nav-scrolled {
    background: rgba(254, 253, 251, 0.95) !important;
    backdrop-blur: 12px;
    box-shadow: 0 1px 20px rgba(10, 10, 14, 0.08);
}

.nav-scrolled .nav-logo {
    color: #1e1e26;
}

.nav-scrolled .nav-link {
    color: #525261;
}

/* Hero nav (light text) */
.nav-transparent .nav-logo {
    color: #fefdfb;
}

.nav-transparent .nav-link {
    color: rgba(254, 253, 251, 0.8);
}

.nav-transparent .menu-line {
    background: #fefdfb;
}

/* Mobile menu active state */
.mobile-menu-active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-active .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Button hover effects */
a[href^="tel:"], a[href^="mailto:"] {
    text-decoration: none;
}

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

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

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .float-card, .float-card-delay, .float-card-slow {
        animation: none;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, #mobile-toggle, .float-card, .float-card-delay, .float-card-slow {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
