/* Inquisitive Minds Development Center — Custom Styles */

/* Base reset and typography refinements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 300;
    color: #453e2e;
    background-color: #fefcf6;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: #d4522a;
    color: white;
}

/* Smooth image rendering */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 1px solid #d4522a;
    outline-offset: 2px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #faf3e6;
}

::-webkit-scrollbar-thumb {
    background: #d4c4a0;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b83e1f;
}

/* Reduce motion preference */
@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;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #menuToggle, .hamburger {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero-overlay {
        display: none;
    }
    
    a[href^="tel:"]::before {
        content: attr(href);
    }
}
