/* ==========================================================================
   0. 전체 가로 스크롤 및 뷰포트 밀림 차단
   ========================================================================== */

html,
body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
}


/* ==========================================================================
   1. Section 01 메인 컨테이너
   ========================================================================== */

.section01 {
    width: 100%;
    position: relative;
    background: linear-gradient(0deg, #ffffff 0%, #ffffff 100%), #0F172B;
    overflow: hidden;
    box-sizing: border-box;
}


/* ==========================================================================
   2. 상단 네비게이션
   ========================================================================== */

.top-nav {
    width: 100%;
    height: clamp(3.5rem, 5vw, 5rem);
    position: absolute;
    top: clamp(0.75rem, 2vw, 2.0625rem);
    left: 0;
    padding: 0 clamp(1rem, 12.5vw, 15rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    z-index: 10;
}


/* 로고 */

.top-nav img {
    order: 1 !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: clamp(5.5rem, 13.2vw, 15.875rem) !important;
    height: auto !important;
    cursor: pointer;
    flex-shrink: 0;
}


/* 우측 메뉴 */

.menu {
    order: 2 !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.35rem, 1vw, 1.25rem) !important;
    padding-right: 0 !important;
    flex-shrink: 1;
    width: auto !important;
}


/* 메뉴 버튼 */

.menu01 {
    display: inline-flex !important;
    width: auto !important;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: clamp(0.75rem, 1.3vw, 1.5625rem) !important;
    font-family: Pretendard, sans-serif;
    font-weight: 800;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 0.25rem !important;
    white-space: nowrap;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.menu01:hover {
    color: #D1910C;
}


/* ==========================================================================
   3. 메인 콘텐츠 박스 및 배경 슬라이더
   ========================================================================== */

.main-box {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: block;
    padding:
        clamp(10rem, 18vw, 18rem)
        clamp(1rem, 12.5vw, 15rem)
        clamp(3rem, 5vw, 5rem);
    box-sizing: border-box;
    z-index: 3;
}


.main-img-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    overflow: hidden;
    z-index: 0;
}


.main-img-box .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition:
        opacity 1.5s ease-in-out,
        transform 6s ease-out;
}


.main-img-box .slide.active {
    opacity: 1;
    transform: scale(1.0);
}


.main-img-box::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(
            149deg,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.30) 100%
        );
    pointer-events: none;
    z-index: 2;
}


/* ==========================================================================
   4. 메인 텍스트 영역
   ========================================================================== */

.main-text01 {
    position: static;
    color: #D1910C;
    font-size: clamp(0.7rem, 0.8vw, 0.875rem);
    font-family: Pretendard, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4;
    letter-spacing: clamp(0.05rem, 0.1vw, 0.125rem);
    margin-bottom: clamp(0.35rem, 0.6vw, 0.75rem);
    z-index: 3;
}


.main-text02 {
    position: static;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.8vw, 3.375rem);
    font-family: Pretendard, sans-serif;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: clamp(0.5rem, 0.8vw, 1rem);
    z-index: 3;
}


.main-text03 {
    position: static;
    display: flex;
    align-items: baseline;
    gap: clamp(0.35rem, 0.9vw, 1.125rem);
    margin-bottom: clamp(0.6rem, 1vw, 1.25rem);
    z-index: 3;
}


.main-text03 span:first-child {
    color: #ffffff !important;
    font-size: clamp(1.35rem, 2.8vw, 3.375rem) !important;
    font-family: Pretendard, sans-serif !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    word-wrap: break-word;
}


.main-text03 span:last-child {
    color: #D1910C !important;
    font-size: clamp(1.85rem, 4.16vw, 5rem) !important;
    font-family: Pretendard, sans-serif !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    word-wrap: break-word;
}


.main-text04 {
    position: static;
    color: #ffffff;
    font-size: clamp(0.8rem, 0.95vw, 1.125rem);
    font-family: Pretendard, sans-serif;
    font-weight: 800;
    line-height: 1.6;
    margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
    max-width: 37.5rem;
    word-break: keep-all;
    z-index: 3;
}


/* ==========================================================================
   5. 버튼 컨테이너
   ========================================================================== */

.btn-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100%;
    gap: 20px;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 5;
}


/* ==========================================================================
   6. 반응형 버튼 위치
   ========================================================================== */

.projects,
.inquiry {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
}


/* ==========================================================================
   7. 모바일 버튼
   ========================================================================== */

@media (max-width: 767px) {

    .btn-container {
        gap: 0.5rem;
    }

    .projects {
        margin-right: 0 !important;
    }

    .projects,
    .inquiry {
        width: clamp(7rem, 32vw, 9rem) !important;
        height: clamp(2.5rem, 11vw, 3.25rem) !important;
    }
}