/* Custom styles that extend beyond Tailwind */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #26b17a;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f3f8;
}
::-webkit-scrollbar-thumb {
    background: #c8cdd9;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9aa1b4;
}

/* Subtle image placeholder fallback */
img {
    background: linear-gradient(135deg, #f1f3f8 0%, #e2e6f0 100%);
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contact-form {
        display: none !important;
    }
    body {
        color: #111827 !important;
        background: white !important;
    }
    .hero-grid {
        min-height: auto !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn-primary {
        border-width: 2px;
    }
    .form-input {
        border-width: 2px;
    }
}

/* Landscape phones */
@media (max-width: 640px) and (orientation: landscape) {
    .hero-grid {
        min-height: auto;
    }
    #hero {
        min-height: auto;
    }
    .thin-line {
        height: 40px;
    }
}
