/* 웹 폰트 (Pretendard) 로드 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

/* 기본 스타일 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

/* 상단 네비게이션 바 (Sticky) */
header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 70px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
    text-decoration: none;
}

.logo img {
    height: 35px; /* 헤더 높이(70px)에 맞춰 적당한 크기로 조절 */
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #007BFF;
}

/* 우측 헤더 영역 (메뉴 + 다국어 선택) */
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

#lang-select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333;
    outline: none;
    cursor: pointer;
    background-color: #fff;
    transition: border-color 0.3s;
}

#lang-select:focus {
    border-color: #007BFF;
}

/* 각 섹션 공통 스타일 */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

/* 섹션별 배경색 교차 적용 (시각적 구분) */
section:nth-child(odd) {
    background-color: #f8f9fa;
}

section:nth-child(even) {
    background-color: #ffffff;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #222;
    letter-spacing: -0.03em; /* 제목 자간을 좁혀서 단단하고 모던한 느낌 부여 */
}

p {
    font-size: 1.15rem;
    font-weight: 400;
    color: #444; /* 기존보다 살짝 어두운 톤으로 변경하여 가독성 상승 */
    max-width: 700px;
    line-height: 1.8; /* 행간을 넓혀 시원하고 여유로운 느낌 부여 */
    margin-bottom: 40px;
    letter-spacing: -0.02em; /* 본문 자간 최적화 */
    word-break: keep-all; /* 한국어 단어가 중간에 잘리지 않도록 유지 */
}

/* 이미지 컨테이너 스타일 */
.image-container {
    width: auto; /* 이미지가 작아질 때 불필요한 좌우 여백이 남지 않도록 컨테이너 크기 자동 조절 */
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.image-container img,
.image-container video {
    max-width: 100%;
    max-height: 60vh; /* 화면 세로 높이의 60%까지만 커지도록 제한 (스크롤 부담 감소) */
    width: auto;
    height: auto;
    display: block;
    object-fit: contain; /* 이미지가 잘리지 않고 전체가 온전히 보이도록 설정 */
}

/* 명함(Contact Us) 스타일 */
.business-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    background-color: #fff;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.card-left {
    flex: 1;
}

.card-left p {
    font-size: 2.2rem;
    font-weight: 800;
    color: #222;
    line-height: 1.3;
    margin-bottom: 0;
}

.card-right {
    flex: 1;
    text-align: right;
}

.card-right h3 {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 15px;
    font-weight: 600;
}

.card-right p {
    font-size: 1rem;
    color: #777;
    margin-bottom: 5px;
    line-height: 1.5;
}

/* 모바일 반응형 처리 */
@media (max-width: 768px) {
    .business-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 30px;
    }
    .card-left, .card-right {
        text-align: center;
    }

    /* 상단 네비게이션바 모바일 최적화 */
    header {
        padding: 0 10px; /* 헤더 좌우 여백 더 축소 */
    }
    
    .logo img {
        height: 20px; /* 로고 크기 추가 축소 */
    }

    .header-right {
        gap: 8px; /* 메뉴와 언어 선택 박스 사이 간격 더 축소 */
    }

    nav ul {
        gap: 8px; /* 각 메뉴 사이의 간격 더 축소 */
    }

    nav ul li a {
        font-size: clamp(0.65rem, 2.5vw, 0.85rem); /* 화면 너비에 따라 폰트 크기 유동적 조절 */
        white-space: nowrap; /* 좁은 화면에서도 글자가 2줄로 깨지지 않도록 강제 한 줄 표시 */
    }

    #lang-select {
        padding: 2px 4px;
        font-size: clamp(0.6rem, 2vw, 0.8rem);
    }
}

/* 푸터 스타일 */
footer {
    text-align: center;
    padding: 30px;
    background-color: #222;
    color: #aaa;
    font-size: 0.9rem;
}



/* 첫 번째 섹션(회사소개) 이미지 테두리(그림자) 제거하여 배경과 녹아들게 처리 */
#about .image-container {
    box-shadow: none;
    
}
