/* Carothers At Bakers Bridge — Custom Styles */

/* 
  This file supplements Tailwind CSS with custom properties, 
  refined typography tweaks, and utility overrides.
*/

:root {
    --color-forest-50: #f2f7f4;
    --color-forest-100: #e3ede6;
    --color-forest-200: #c7dcca;
    --color-forest-300: #9bbf9e;
    --color-forest-400: #729e74;
    --color-forest-500: #527f54;
    --color-forest-600: #3e6341;
    --color-forest-700: #314f34;
    --color-forest-800: #28402b;
    --color-forest-900: #213424;
    --color-forest-950: #111a12;
    
    --color-cream-50: #fdfcfa;
    --color-cream-100: #faf6f0;
    --color-cream-200: #f5efe2;
}

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

/* Selection color */
::selection {
    background: #527f54;
    color: #fdfcfa;
}

/* Focus visible ring for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #527f54;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    .hero-gradient,
    .grain-overlay,
    #navbar,
    .mobile-menu,
    #menu-overlay {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary {
        border: 2px solid ButtonText;
    }
}

/* Reduce motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Large screens */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}
