/* Custom styles for Lee-Web Group */

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

/* Navbar scroll effect */
#navbar {
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(249, 240, 250, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(83, 35, 83, 0.08);
}

/* Floating animation for decorative dots */
@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-16px) scale(1.1); }
}

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

/* Mobile menu transitions */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

#mobileMenu.open {
    max-height: 500px;
    opacity: 1;
}

/* Mobile link hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #f59e0b;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #f9f0fa inset !important;
    -webkit-text-fill-color: #532353 !important;
}

/* Selection color */
::selection {
    background: #e8c2eb;
    color: #532353;
}

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

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

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

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

/* Focus visible for accessibility */
:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    #navbar, #mobileMenu, .reveal { display: block !important; opacity: 1 !important; transform: none !important; }
    body { background: white; color: black; }
}
