/* Custom styles for Al Ghurair International Exchange */

:root {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-feature-settings: 'kern' 1, 'liga' 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid rgb(163 163 163);
    outline-offset: 2px;
}

/* Research filter styles */
.research-filter {
    padding: 0.5rem 0;
    background: none;
    border: none;
    color: rgb(115 115 115);
    font-size: 0.875rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.research-filter:hover {
    color: rgb(212 212 212);
}

.research-filter.active {
    color: rgb(212 212 212);
    border-bottom-color: rgb(212 212 212);
}

/* Smooth transitions */
* {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Container max-width */
.container {
    max-width: 1280px;
}

/* Logo image optimization */
img[src*="logo"] {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Mobile navigation improvements */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
    }
    
    nav > div:first-of-type {
        flex-basis: 100%;
        margin-bottom: 1rem;
    }
    
    .research-filter {
        font-size: 0.75rem;
        padding: 0.375rem 0;
    }
}

/* Print styles */
@media print {
    header,
    footer,
    nav {
        display: none;
    }
}
