/* 서브페이지 공통 스타일 */
.page-content {
    padding-top: 120px; /* 헤더 상단 간격(15px) + 헤더 높이(70px) + 여유공간(35px) */
    margin-bottom: 50px;
    /* min-height 제거하고 컨텐츠에 맞게 자동 조절되도록 수정 */
}

/* 페이지 제목 스타일 */
.page-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
    color: #333;
}

.page-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #4267b2;
}

/* 회사소개 페이지 스타일 */
.company-content {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}



/* 탭 메뉴 스타일 */
.company-tab-menu {
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    position: fixed;
    top: 85px; /* 헤더 높이 + 상단 여백 */
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.tab-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    padding: 0 20px;
    justify-content: center;
}

.tab-item {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.tab-item:hover {
    color: #4267b2;
}

.tab-item.active, .tab-item:hover {
    color: #4267b2;
    font-weight: 600;
}

.tab-item.active:after, .tab-item:hover:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #4267b2;
    transition: all 0.3s ease;
}

/* ******************************************* *
 * 제품소개 게시판 관련 스타일 추가 (2025-06-27)
 * ******************************************* */
.btn__point {
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    height: 44px;
    padding: 0 16px;
    border: none;
    border-radius: 4px;
    background-color: #94a3b8;
    outline: none;
    align-items: center;
}

.btn__point:hover {
    background-color: #64748b;
}

.point__modal {
    display: none;
    position: fixed;
    /* display: flex; */
    inset: 0;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 1100;
}

.point__modal .modal__content {
    width: 1000px;
    background-color: #fff;
}

.point__modal .modal__content figure {
    position: relative;
    margin: 0;
    padding: 0;
}

.point__modal .modal__content figure.point-mode {
    cursor: crosshair;
}

.point__modal .modal__content img {
    display: block;
    width: 100%;
}

.highlight__point {
    position: absolute;
    width: 35px;
    height: 35px;
    background-color: #0478fc;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    pointer-events: auto;

	/* 애니메이션 추가 */
    animation: pointPulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.point__modal .highlight__point {
    display: flex;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    align-items: center;
    justify-content: center;
}

/* highlight__point 전용 애니메이션 정의 */
@keyframes pointPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        background-color: #0478fc;
        box-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 0 0 0 #0478fc;
    }
    25% {
        transform: translate(-50%, -50%) scale(1.05);
        background-color: #0066ff;
        box-shadow: 0 3px 6px rgba(0,0,0,0.35), 0 0 0 5px #0066ff;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        background-color: #0478fc;
        box-shadow: 0 4px 8px rgba(0,0,0,0.4), 0 0 0 10px #0478fc;
    }
    75% {
        transform: translate(-50%, -50%) scale(1.05);
        background-color: #0066ff;
        box-shadow: 0 3px 6px rgba(0,0,0,0.35), 0 0 0 5px #0066ff;
    }
}

/* 호버 시 애니메이션 일시정지 */
.point__modal .highlight__point:hover {
    background-color: #dc2626;
    transform: translate(-50%, -50%) scale(1.2);
    animation-play-state: paused;
}
.highlight__point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 1px solid #0478fc;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1s infinite;
}

.point__modal .highlight__point:hover {
    background-color: #dc2626;
    transform: translate(-50%, -50%) scale(1.2);
}

.point__modal .highlight__point::after {
    content: '×';
    display: flex;
    position: absolute;
    top: -8px;
    right: -8px;
    width: 16px;
    height: 16px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    border-radius: 50%;
    background-color: #dc2626;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.point__modal .highlight__point:hover::after {
    opacity: 1;
}

.process__floorplan--layer .floorplan__container {
    position: relative;
    display: inline-block;
    height: 100%;
    pointer-events: none;
}

.process__floorplan--layer .floorplan__container img {
    display: block;
    max-width: 100%;
	border-radius:25px;
}

.process__floorplan--layer .highlight-point {
    pointer-events: none;
}

.point__modal .modal__footer {
    display: flex;
    gap: 6px;
    padding: 20px;
    justify-content: flex-end;
}

.point__modal .modal__footer button {
    font-size: 15px;
    font-weight: 600;
    height: 44px;
    padding: 0 20px;
    border: none;
    border-radius: 4px;
}

.point__modal .modal__footer .btn__add {
    color: #fff;
    background-color: #22c55e;
}

.point__modal .modal__footer .btn__add.active {
    background-color: #16a34a;
}

.point__modal .modal__footer .btn__save {
    color: #fff;
    background-color: #2563eb;
}

.point__modal .modal__footer .btn__close {
    color: #1f2937;
    background-color: #e5e7eb;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.loading__popup {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.loading__content {
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.loading__content p {
    margin: 0;
    color: #333;
}

.loading__spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0478fc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.image__popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.image__popup--overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.image__popup--content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.image__popup--close {
    position: absolute;
    display: flex;
    top: 15px;
    right: 15px;
    color: #fff;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    border: none;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    transition: background 0.3s ease;
}

.image__popup--close:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.image__popup--body {
    padding: 0;
}

.popup__image {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

@media (max-width: 768px) {
    .image__popup--content {
        max-width: 95%;
        max-height: 95%;
    }

    .image__popup--close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }

    .popup__image {
        max-height: 70vh;
    }
}