/* Custom Styles for Jesus Chavez Concrete */

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #020617;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Selection Color */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f1f5f9;
}

/* Navbar Transition */
#navbar {
    backdrop-filter: blur(0px);
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(148, 163, 184, 0.08);
}

/* Hero Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Service Card Hover */
.service-card {
    will-change: transform;
}

/* Mobile Menu Animation */
#mobileMenu {
    animation: slideDown 0.3s ease forwards;
}

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

/* Gallery Hover Effects */
.group:hover img {
    transform: scale(1.05);
}

/* Gold Gradient Text Utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #fcd34d 0%, #d4a853 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card,
    .group:hover img,
    a,
    button {
        transition: none;
    }
}

/* Focus Visible */
*:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* Button Hover Lift */
button:hover,
a:hover {
    transform: translateY(-1px);
}

button:active,
a:active {
    transform: translateY(0);
}

/* Form Input Transitions */
input,
select,
textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 1px #14b8a6;
}
