/* === Design System === */
:root {
    --color-primary: #b45309;
    --color-primary-light: #d97706;
    --color-primary-dark: #92400e;
    --color-bg: #fafaf9;
    --color-text: #292524;
    --color-muted: #78716c;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
}

/* === Base === */
body {
    font-family: var(--font-body);
}

.font-display {
    font-family: var(--font-display);
}

/* === Navigation === */
.nav-link {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    color: #57534e;
    transition: color 0.2s;
    letter-spacing: 0.025em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
}

/* === Navbar scroll effect === */
#navbar {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

#navbar:not(.scrolled) .nav-link {
    color: rgba(255,255,255,0.9);
}

#navbar:not(.scrolled) .nav-link:hover,
#navbar:not(.scrolled) .nav-link.active {
    color: #fbbf24;
}

#navbar:not(.scrolled) .nav-link.active::after {
    background: #fbbf24;
}

/* === Selection === */
::selection {
    background: #fde68a;
    color: var(--color-text);
}

/* === Smooth scroll === */
html {
    scroll-behavior: smooth;
}

/* === Focus === */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* === Form elements === */
input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
}

/* === Animations === */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

/* === Responsive image === */
img {
    max-width: 100%;
    height: auto;
}

/* === Service card accent === */
.group:hover {
    border-top: 3px solid var(--color-primary);
    padding-top: calc(2rem - 3px);
}

/* === Print === */
@media print {
    nav, .animate-bounce, button[aria-label="Menu"] {
        display: none !important;
    }
    body {
        font-size: 12pt;
    }
}
