/* Custom styles beyond Tailwind */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 64px;
}

/* Subtle texture overlay for sections */
.bg-sand-50 {
    background-image: radial-gradient(circle at 1px 1px, rgba(201, 90, 53, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fdf9f0;
}
::-webkit-scrollbar-thumb {
    background: #e8a080;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b54425;
}

/* Selection color */
::selection {
    background: #f9e4d8;
    color: #943520;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c95a35;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .reveal-delay-1,
    .reveal-delay-2,
    .reveal-delay-3 {
        transition-delay: 0s !important;
    }
    img:hover,
    .hover\\\\:scale-105:hover {
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav,
    #mobile-menu,
    .reveal {
        display: block !important;
        opacity: 1 !important;
    }
    section {
        page-break-inside: avoid;
    }
}
