/* Custom styles and overrides */

/* Smooth focus outlines for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #5eead4;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Selection color */
::selection {
    background: #0d9488;
    color: #f0fdfa;
}

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

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

/* Mobile menu transition */
#mobile-menu {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle pattern overlay for cards */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 60%);
    pointer-events: none;
}

.service-card {
    position: relative;
    overflow: hidden;
}

/* Navbar active state */
.nav-scrolled {
    background: rgba(8, 14, 26, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
}

/* Ensure select dropdown is readable */
select option {
    background: #1e293b;
    color: #f1f5f9;
}
