/* 인트로 섹션 스타일 */


/* 기본 리셋 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* 인트로 섹션 */

.intro-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #e8f5e8;
    background-image: url('/wp-content/themes/hello-theme-child-master/images/intro-thumbnail.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 9999;
}


/* 메인 콘텐츠 초기 숨김 */


/* .main-content {
    display: none;
    opacity: 0;
    transform: translateY(30px);
} */


/* 배경 이미지 */

.intro-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.intro-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.intro-bg-video.loaded {
    opacity: 1;
}


/* 비디오 로딩 전 썸네일 표시 (poster 속성으로 대체) */

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}


/* 메인 콘텐츠 */

.intro-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    max-width: 1200px;
    width: 100%;
    padding: 32px;
}


/* 헤더 영역 */

.intro-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}


/* 로고 컨테이너 */

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.logo-image {
    max-width: 260px;
    width: 100%;
    flex-shrink: 0;
    object-fit: contain;
}

.logo-text {
    color: white;
    font-size: 10px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    line-height: 1em;
    white-space: nowrap;
}


/* 메인 타이틀 */

.intro-title {
    color: #fff;
    font-size: 48px;
    font-family: 'MaruBuriOTF', serif;
    font-weight: 600;
    line-height: 1.6em;
    text-align: center;
    max-width: 800px;
}


/* 버튼 컨테이너 */

.intro-buttons {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}


/* 버튼 기본 스타일 */

.intro-btn {
    padding: 20px 120px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 200px;
}

.intro-btn:hover {
    background: white;
    border-color: white;
}

.intro-btn:hover .btn-text {
    color: #1E281A;
}

.intro-btn:hover .btn-desc {
    color: #555555;
}


/* 버튼 텍스트 */

.btn-text {
    color: white;
    font-size: 36px;
    font-family: 'MaruBuriOTF', serif;
    font-weight: 600;
    line-height: 1em;
    text-align: center;
}

.btn-desc {
    color: white;
    font-size: 14px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    line-height: 1.6em;
    text-align: center;
    opacity: 0.8;
}


/* 반응형 디자인 */

@media (max-width: 768px) {
    .intro-content {
        gap: 32px;
        padding: 16px;
    }
    .intro-title {
        font-size: 32px;
        line-height: 1.5em;
    }
    .intro-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }
    .intro-btn {
        padding: 16px 32px;
        width: 100%;
    }
    .btn-text {
        font-size: 24px;
    }
    .btn-desc {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .intro-title {
        font-size: 24px;
    }
    .intro-btn {
        padding: 14px 24px;
    }
    .btn-text {
        font-size: 20px;
    }
}


/* 접근성 개선 */

.intro-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}


/* 애니메이션 */

.intro-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-bg-image {
    animation: zoomIn 2s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}