/* Equal Cutz — Custom Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf9f6;
}
::-webkit-scrollbar-thumb {
    background: #d1402d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ae3123;
}

/* Selection color */
::selection {
    background: #f9d5c8;
    color: #71261d;
}

/* Reveal animations — progressive enhancement, only with JS */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: ensure content is visible even without JS */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Ensure JS-unassisted visibility */
.no-js .reveal,
.js .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar active state */
header a.active {
    color: #d1402d;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Print styles */
@media print {
    header, footer, #contactForm, .reveal {
        display: none;
    }
    body {
        background: white;
    }
}
