/* Custom Styles for Tres M Solutions */

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

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

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

::-webkit-scrollbar-thumb {
    background: #C06C5B;
    border-radius: 5px;
}

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

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img, .group-hover\:group:hover .group-hover\:scale-105 {
        transition: none;
    }
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button Hover Animation */
button, a {
    position: relative;
    overflow: hidden;
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

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

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}
