/* Custom styles for Link Fabrication */

:root {
    --color-navy-900: #0a1f3f;
    --color-navy-800: #0f2d5a;
    --color-gold-500: #c9a84c;
    --color-gold-400: #d4af52;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osn-text-smoothing: grayscale;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Hero animations */
.hero-anim {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Nav scroll state */
#site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(10, 31, 63, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #c9a84c;
    transition: width 0.3s ease;
}

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

/* Mobile menu */
.mobile-link {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-link.visible {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open {
    transform: translateX(0);
}

/* Hamburger animation */
#mobile-toggle.active #bar1 {
    transform: translateY(5px) rotate(45deg);
}

#mobile-toggle.active #bar2 {
    opacity: 0;
}

#mobile-toggle.active #bar3 {
    transform: translateY(-5px) rotate(-45deg);
}

/* Section reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Selection color */
::selection {
    background: #c9a84c;
    color: #0a1f3f;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0f2d5a;
}
