/* Custom Styles for JRS Recources Inc */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #14171e;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #256d4f;
}

/* Selection color */
::selection {
    background: #3d8a68;
    color: white;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #3d8a68;
    outline-offset: 2px;
}

/* Animation classes */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    * {
        transition: none !important;
    }
}

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

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

/* Button hover effects */
button[type="submit"]:hover {
    transform: translateY(-2px);
}

button[type="submit"]:active {
    transform: translateY(0);
}

/* Image hover effects */
.group:hover .group-hover\\:bg-mint-600 {
    background-color: #3d8a68;
}

/* Card hover effects */
.bg-midnight-50:hover {
    transform: translateY(-4px);
}

/* Form input focus effects */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(61, 138, 104, 0.1);
}

/* Loading state for buttons */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Print styles */
@media print {
    header,
    footer,
    .scroll-reveal {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
