/* Global Styles - Ville-Web */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* Smooth transitions for interactive elements */
button, a, input, textarea, select {
    transition-property: color, background-color, border-color, opacity, box-shadow, transform;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus states */
*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid #1d4ed8;
    outline-offset: 2px;
}

/* Navbar scroll effect */
#navbar.scrolled {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

/* Active page indicator */
.nav-active {
    color: #1d4ed8 !important;
}

/* Rich text content from legacy pages */
.prose-legacy p {
    margin-bottom: 1.5rem;
    line-height: 1.85;
    color: #374151;
}

.prose-legacy b {
    color: #111827;
    font-weight: 700;
}

.prose-legacy a {
    color: #1d4ed8;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: #bfdbfe;
    text-underline-offset: 3px;
}

.prose-legacy a:hover {
    color: #1e3a8a;
    text-decoration-color: #1d4ed8;
}

.prose-legacy hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

.prose-legacy h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* Animation utilities */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}
