/* Custom styles for Workwise Professional Services */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #f5f0eb;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #d4a853;
    outline-offset: 2px;
}

/* Loading animation for page */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button press effect */
.btn-gold:active {
    transform: translateY(0) scale(0.98);
}

/* Card hover glow */
.service-card:hover {
    box-shadow: 0 0 40px rgba(212, 168, 83, 0.05);
}

/* Subtle pulse for hero badge */
@keyframes subtlePulse {
    0%, 100% { opacity: 0.8; }
    50 { opacity: 1; }
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Custom select arrow */
select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23d4a853' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
    padding-right: 2.5rem;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(10, 9, 12, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gold shimmer animation for headline */
@keyframes goldShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gold-gradient {
    background: linear-gradient(135deg, #e8c98a 0%, #d4a853 25%, #f0d87a 50%, #d4a853 75%, #a67c2e 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 4s ease-in-out infinite;
}

/* Mobile menu animation */
.mobile-menu {
    will-change: transform;
}

/* Counter animation targets */
.counter {
    display: inline-block;
}
