/* 시설안내 섹션 스타일 */
.facility-section {
    padding: 80px 0;
    background-color: #fff;
}

.fac_top_img{
	border:1px solid #e8e8e8;
	overflow:hidden;
	text-align:center;
}

.fac_top_img2{
	padding:20px;
}
.facility-container {
    max-width: 1200px;
    margin: 0 auto;
}

.facility-title {
    text-align: center;
    margin-bottom: 60px;
}

.facility-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.facility-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.facility-tab {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
	border:1px solid #e8e8e8;
	width:30%;
	text-align:center;
}

.facility-tab.active {
    background: #005bac;
	color:#fff;
}

.facility-content {
    display: none;
}

.facility-content.active {
    display: block;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.facility-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
	width:380px;
	max-width:380px;
	margin-bottom:50px;
}

.none_item{
	border:0;
	box-shadow:none;
}
.facility-item:hover {
    transform: translateY(-5px);
}

.facility-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-info {
    padding: 20px;
}

.facility-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.facility-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.facility-specs {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.spec-label {
    color: #888;
    font-size: 14px;
}

.spec-value {
    color: #333;
    font-weight: 500;
    font-size: 14px;
	text-align:right;
	max-width:200px;
}

@media screen and (max-width: 1440px) {
	.lay_1200{
		width:100%;
		min-width:100%;
	}
	
	.facility-section{
		margin-top:30px;
		padding:30px 15px;
	}
	
	.fac_top_img img{
		width:100%;
	}
	
	.facility-grid{
		display:grid;
	}
	
	
}


/* 반응형 스타일 */
@media screen and (max-width: 768px) {
	.facility-section{
		padding:0;
		margin-top:0px;
	}
	.facility-container{
		padding:30px 15px;
	}

    .facility-title h2 {
        font-size: 28px;
    }

    .facility-tab {
        padding: 10px 20px;
        font-size: 16px;
    }

    .facility-grid {
        grid-template-columns: 1fr;
    }

    .facility-image {
        height: 180px;
    }
	
	.facility-item {
	width:100%;
	max-width:768px;
	margin-bottom:50px;
}
}

@media screen and (max-width: 480px) {
    

    .facility-title h2 {
        font-size: 24px;
    }

    .facility-tabs {
        flex-wrap: wrap;
    }

    .facility-tab {
        width: 50%;
        text-align: center;
        padding: 10px;
    }
}

/* 슬라이드 섹션 스타일 */
.slide-section {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
	margin:50px 0;
}

.slide-container {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
	overflow:hidden;
}

.slide-container:active {
    cursor: grabbing;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
	transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.slide.active {
    opacity: 1;
	transform: translateX(0);
}

.slide.prev {
    transform: translateX(-100%);
    opacity: 0;
}

.slide.next {
    transform: translateX(100%);
    opacity: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
}

.slide-content h2 {
    font-size: 32px;
    font-weight: 700;
	color:#fff;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 18px;
    line-height: 1.6;
}

.slide-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slide-arrow:hover {
    background: rgba(0,0,0,0.5);
}

.slide-prev {
    left: 20px;
}

.slide-next {
    right: 20px;
}

/* 반응형 스타일 수정 */
@media screen and (max-width: 768px) {
    .slide-section {
        height: 400px;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .slide-arrow {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 480px) {
    .slide-section {
        height: 300px;
    }

    .slide-content {
        padding: 20px;
    }

    .slide-content h2 {
        font-size: 20px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .slide-arrow {
        width: 30px;
        height: 30px;
    }
} 