.portfolio {
    padding: 100px 40px;
	max-width:1600px;
	margin:0px auto;
}

.portfolio h2 {
    font-family: 'SBAggroB';
    font-size: 40px;
    margin-bottom: 60px;
		margin-top:0;
    text-align: center;
}

.portfolio-tabs {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio-tabs button {
    background: none;
    border: none;
    font-family: 'SBAggroB';
    font-size: 18px;
    margin: 0 10px;
    padding: 10px 20px;
    cursor: pointer;
    color: #001eff;
    border-bottom: 2px solid transparent;
}

.portfolio-tabs button.active {
    border-color: #001eff;
}

/* 🔸 Masonry 레이아웃 */
.portfolio-gallery {
    column-count: 6;
    column-gap: 20px;
}

.portfolio-gallery .item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-gallery .item img {
    width: 100%;
    display: block;
    border-radius: 5px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.portfolio-gallery .item:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}


.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    text-align: center;
	cursor:pointer;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    margin: auto;
    border-radius: 0px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
	cursor:default;
}



.close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}



/* 🔸 반응형 대응 */
@media (max-width: 1200px) {
    .portfolio-gallery {
        column-count: 3;
		column-gap: 10px;
    }
}

@media (max-width: 768px) {
	.portfolio {
		padding:40px 20px;
	}
    .portfolio-gallery {
        column-count: 2;
		column-gap: 5px;
    }
	.portfolio h2 {font-size:24px;}
	.portfolio-tabs button {font-size:14px; margin:0; padding:10px}
}

@media (max-width: 480px) {
    .portfolio-gallery {
        column-count: 2;
		column-gap: 5px;
    }
}
