/* GRID */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* ITEM */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.portfolio-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.5s;
}

.portfolio-item:hover img {
    transform: scale(1.15);
}

/* OVERLAY */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 0;
    transition: 0.4s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* TEXT */
.portfolio-overlay h4 {
    color: #f5b841;
}

.portfolio-overlay p {
    color: #ccc;
    margin-bottom: 15px;
}

/* BUTTON */
.view-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, #C79B60, #E7C47A);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.view-btn:hover {
    transform: scale(1.1);
}
/* FILTER */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.filter-btn {
    padding: 10px 20px;
    background: #1e1e1e;
    border: none;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #C79B60, #E7C47A);
    color: black;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.icon-time {
    color: #fff;
    font-size: 100px;   
}

.main-navigation__item a.active {
    color: #f5b841;
    border-bottom: 2px solid #f5b841;
}