/* Custom styles that extend beyond Tailwind */

/* Smooth section transitions */
section {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(212, 90, 40, 0.2);
    color: #1C1610;
}

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

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

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

/* Print styles */
@media print {
    header, #contact, .cta-pulse { display: none; }
    body { color: #000; background: #fff; }
    a { color: #000; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .blob { animation: none; }
    .cta-pulse { animation: none; }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(253, 248, 240, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(28, 22, 16, 0.08);
}

/* Service card image placeholder */
.service-card svg {
    transition: transform 0.3s ease;
}
.service-card:hover svg {
    transform: scale(1.1) rotate(-5deg);
}
