/* Custom styles for Station 57 — Home & Repair */

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

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

/* Navbar scroll state */
header.scrolled {
    background-color: rgba(252, 247, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

header.scrolled .font-display,
header.scrolled .text-warm-gray-900 {
    color: #3D3530 !important;
}

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239A938D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem !important;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #E05533;
    outline-offset: 2px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hover\\:scale-105:hover,
    .group:hover .group-hover\\:scale-110 {
        transform: none;
    }
}

/* Subtle fade-in for below-fold (progressive enhancement via JS) */
.fade-in-section {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Print styles */
@media print {
    header, footer, #contact-form, .hover\\:shadow-xl, button {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
