/* Custom overrides and utilities */
:root {
    --color-terracotta-50: #fdf4f0;
    --color-terracotta-100: #f9e4d8;
    --color-terracotta-500: #d45a2e;
    --color-terracotta-600: #c04420;
    --color-sand-50: #fdfbf7;
    --color-sand-200: #f4e8d0;
    --color-navy-800: #1a2744;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

a {
    text-decoration: none;
}

/* Navbar scroll state */
header.scrolled {
    background: rgba(253, 251, 247, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Smooth focus outlines */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #d45a2e;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #f9e4d8;
    color: #1a2744;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdfbf7;
}
::-webkit-scrollbar-thumb {
    background: #f4e8d0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d45a2e;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
