/* Custom overrides and fine-tuning */
:root {
    --terracotta: #c95032;
    --terracotta-light: #f3bba8;
    --sand: #cf9f56;
    --cream: #FDF8F0;
    --warmblack: #1A1512;
}

/* Smooth scroll padding for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--cream);
}
::-webkit-scrollbar-thumb {
    background: #c95032;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a93d26;
}

/* Focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #c95032;
    outline-offset: 2px;
}

/* Subtle pattern overlay for sections */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(201, 80, 50, 0.04) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Selection color */
::selection {
    background: #c95032;
    color: #FDF8F0;
}

/* Image aspect ratios */
img {
    max-width: 100%;
    height: auto;
}

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

/* Print styles */
@media print {
    header, .mobile-menu, #contactForm { display: none; }
    body { color: #000; background: #fff; }
    a { color: #000; }
}
