/* Country Skillet — Custom Styles */

/* Base font rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #16a34a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Hero reveal animations - only below the fold via JS enhancement */
.cs-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Navbar scroll state */
#navbar.scrolled {
    background-color: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Image hover zoom */
.rounded-2xl.overflow-hidden img {
    display: block;
}

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

/* Mobile menu links */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(22, 163, 74, 0.1);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Ensure all text meets contrast requirements */
.text-cs-dark-800 { color: #1a1f1c; }
.text-cs-dark-900 { color: #111614; }
.text-cs-emerald-700 { color: #16a34a; }
.text-cs-emerald-400 { color: #4ade80; }
.text-cs-cream-100 { color: #fefbe8; }
.text-cs-cream-300 { color: #fdf4a1; }
.text-cs-cream-50 { color: #fefdf8; }

/* Subtle pattern overlay for sections */
.bg-cs-cream-50 {
    background-color: #fefdf8;
}

/* Selection color */
::selection {
    background-color: #16a34a;
    color: #fefdf8;
}
