/* Custom styles and overrides */

/* Smooth focus outlines */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Selection color */
::selection {
    background-color: rgba(13, 148, 136, 0.15);
    color: #0f766e;
}

/* Subtle image hover */
img {
    transition: transform 0.6s ease;
}

/* Navbar shadow on scroll */
.nav-scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Button active state */
button:active, a:active {
    transform: scale(0.98);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion for animations */
@media (prefers-reduced-motion: reduce) {
    .fade-in-section {
        opacity: 1 !important;
        transform: none !important;
    }
    html {
        scroll-behavior: auto;
    }
    img {
        transition: none;
    }
    #mobile-menu {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav, #mobile-toggle, #contact-form, iframe {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    .bg-slate-900, section {
        background: #fff !important;
        color: #000 !important;
    }
}
