/* Centennial Steel — Custom Styles */
/* Additional overrides and enhancements beyond Tailwind */

/* Ensure all text meets contrast requirements */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: rgba(45, 212, 191, 0.3);
    color: #fff;
}

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

/* Smooth scrolling for anchor links */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(5, 10, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu transition */
#mobileMenu {
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
}

/* Custom select styling */
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='%232dd4bf' stroke-width='2' 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;
}

/* Subtle gold divider */
.gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.3), transparent);
}

/* Service card mint hover border */
.service-card:hover {
    border-color: rgba(45, 212, 191, 0.15) !important;
}

/* Gallery image overlay transition */
.group:hover .opacity-0 {
    opacity: 1;
}

/* Print styles */
@media print {
    nav, .cta-pulse, #mobileMenuBtn { display: none; }
    body { background: white; color: black; }
    .bg-midnight-900, .bg-midnight-800, .bg-midnight-700 { background: white !important; }
    .text-white { color: black !important; }
    .text-gray-400 { color: #666 !important; }
}
