/* Custom styles for Lu Alan T OD */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f7f2ec;
}
::-webkit-scrollbar-thumb {
    background: #d6b692;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c49d6e;
}

/* Selection color */
::selection {
    background: #f8d0ba;
    color: #74200f;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(252, 250, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar-scrolled .text-slate-900 {
    color: #0f172a;
}

/* Subtle floating animation for hero cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delay {
    animation: float 4s ease-in-out 2s infinite;
}

/* Fade in animation for scroll reveals */
.fade-in-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Reduced motion preference */
@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;
    }
}

/* Print styles */
@media print {
    header, footer, #contactForm, #successMsg {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
