/* Base & Typography */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f3f9;
}
::-webkit-scrollbar-thumb {
    background: #c8a45a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8873e;
}

/* Navigation */
.nav-link {
    position: relative;
}

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

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 1px 20px rgba(26, 39, 68, 0.08);
    backdrop-filter: blur(10px);
}

.navbar-scrolled .nav-text {
    color: #1a2744 !important;
}

.navbar-scrolled .nav-subtext {
    color: #c8a45a !important;
}

.navbar-scrolled .nav-link {
    color: #1a2744 !important;
}

/* Mobile menu */
.mobile-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold accent line animation */
@keyframes goldShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #c8a45a !important;
    box-shadow: 0 0 0 3px rgba(200, 164, 90, 0.15);
}

/* Button hover lift */
button, a {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Subtle gold gradient for special elements */
.gold-gradient {
    background: linear-gradient(135deg, #c8a45a 0%, #edc04a 50%, #a8873e 100%);
}

/* Selection color */
::selection {
    background: rgba(200, 164, 90, 0.3);
    color: #1a2744;
}

/* Print styles */
@media print {
    nav, #contactForm, button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .font-serif {
        color: #000;
    }
}
