/* Custom styles that extend beyond Tailwind */

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

/* Gold shimmer animation for text */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Float animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Pulse glow for hero elements */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(13, 115, 119, 0.2); }
    50% { box-shadow: 0 0 40px rgba(13, 115, 119, 0.4); }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(6, 14, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(42, 69, 82, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Custom focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #14a3a8;
    outline-offset: 2px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #1a2f3a 0%, #0f1c24 100%);
}

/* Selection color */
::selection {
    background: rgba(13, 115, 119, 0.4);
    color: #fff;
}

/* Reduce motion for accessibility */
@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; }
    .reveal, .reveal-left, .reveal-right {
        opacity: 1;
        transform: none;
    }
    .float-anim { animation: none; }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contact-form, button { display: none; }
    body { background: white; color: black; }
    section { padding: 20px 0; }
}
