/* Custom styles for Lincoln Towers */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0c0a09;
}
::-webkit-scrollbar-thumb {
    background: #44403c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #57534e;
}

/* Selection color */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #f5f5f4;
}

/* Gold gradient text utility */
.gold-gradient-text {
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(12, 10, 9, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(68, 64, 60, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Scroll reveal animations (progressive enhancement) */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .scroll-reveal.delay-1 { transition-delay: 0.1s; }
    .scroll-reveal.delay-2 { transition-delay: 0.2s; }
    .scroll-reveal.delay-3 { transition-delay: 0.3s; }
    .scroll-reveal.delay-4 { transition-delay: 0.4s; }
    .scroll-reveal.delay-5 { transition-delay: 0.5s; }
    .scroll-reveal.delay-6 { transition-delay: 0.6s; }
}

/* Subtle hover glow on cards */
.service-card:hover {
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.05);
}

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

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse animation for CTA buttons */
@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.3);
    }
    50% {
        box-shadow: 0 0 20px 4px rgba(251, 191, 36, 0.15);
    }
}

/* Ensure hero content is always visible */
#hero h1,
#hero p,
#hero a,
#hero .text-center > div {
    opacity: 1 !important;
}
