/* Custom styles that extend beyond Tailwind */

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

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

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

/* Selection color */
::selection {
    background-color: #d4532f;
    color: #fff;
}

/* Image loading placeholder */
img {
    background-color: #f4e4c8;
}

/* Subtle pattern overlay for geometric feel */
.section-pattern {
    background-image: radial-gradient(circle, rgba(212,83,47,0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Smooth image transitions */
img {
    transition: filter 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f3;
}
::-webkit-scrollbar-thumb {
    background: #e8987e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4532f;
}
