/* MLJ77 Construction - Main Styles */

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

/* Navigation active state */
.nav-link.active {
    color: #7B1818;
    font-weight: 600;
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Portfolio filter */
.filter-btn.active {
    background-color: #7B1818;
    color: white;
}

.portfolio-item {
    transition: opacity 0.3s, transform 0.3s;
}

.portfolio-item.hidden {
    display: none;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 101;
    background: none;
    border: none;
    line-height: 1;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-size: 1.1rem;
}

/* Service cards hover */
.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #7B1818;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5C1212;
}

/* Form focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #7B1818;
    box-shadow: 0 0 0 3px rgba(123, 24, 24, 0.15);
}

/* Status badges */
.badge-pending {
    background-color: #FEF3C7;
    color: #92400E;
}

.badge-sent {
    background-color: #DBEAFE;
    color: #1E40AF;
}

.badge-signed {
    background-color: #D1FAE5;
    color: #065F46;
}

.badge-cancelled {
    background-color: #FEE2E2;
    color: #991B1B;
}

.badge-new {
    background-color: #FEF3C7;
    color: #92400E;
}

.badge-reviewed {
    background-color: #DBEAFE;
    color: #1E40AF;
}

.badge-contacted {
    background-color: #D1FAE5;
    color: #065F46;
}

.badge-archived {
    background-color: #F3F4F6;
    color: #6B7280;
}
