/* Custom styles that complement Tailwind and inline styles */

/* Smooth focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(185, 37, 37, 0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefdfc;
}
::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b92525;
}

/* Selection */
::selection {
    background: #fce7e7;
    color: #1a1512;
}

/* Hero image parallax effect (subtle) */
#hero .aspect-\[3\/4\] {
    will-change: transform;
}

/* Service card hover lift */
.service-card {
    transition: transform 0.4s cubic-bezier(.25,.46,.45,.94), box-shadow 0.4s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(44, 36, 32, 0.15);
}

/* Mobile menu animation */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}
#menu-btn.active .menu-line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}
#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menu-btn.active .menu-line:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
    width: 24px;
}

/* Navbar scroll state */
#navbar.scrolled {
    box-shadow: 0 1px 0 rgba(44, 36, 32, 0.08);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #mobile-overlay, .reveal, .reveal-left, .reveal-right, .reveal-scale {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
