/* Custom styles beyond Tailwind */

/* Ensure smooth rendering */
*, *::before, *::after {
    box-sizing: border-box;
}

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

/* Selection color */
::selection {
    background-color: #d4900a;
    color: #ffffff;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #102a43;
    outline-offset: 2px;
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 3px rgba(16, 42, 67, 0.08);
}

/* Mobile menu transition */
#mobileMenu {
    transition: max-height 0.3s ease, padding 0.3s ease;
}

#mobileMenu.open {
    max-height: 400px;
    padding-bottom: 1rem;
}

/* Service card hover lift */
.group:hover {
    transform: translateY(-2px);
}

.group {
    transition: transform 0.3s ease;
}

/* Button hover effects */
a:hover {
    transition: all 0.2s ease;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(16, 42, 67, 0.1);
}

/* Image loading */
img {
    image-rendering: -webkit-optimize-contrast;
}

/* Print styles */
@media print {
    nav, #contactForm, #formSuccess {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
