/* 기본 스타일 초기화 */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    /* ▼▼▼ 폰트 수정: 깔끔한 산세리프 폰트로 변경 (Roboto 유사) ▼▼▼ */
    font-family: 'Open Sans', 'Roboto', Arial, sans-serif;
    color: white;
}

/* (수정) index.html 전용 스크롤 제거 */
body.index-page {
    overflow: hidden;
}

/* --- 상단 바 스타일 (index.html 전용) --- */
header.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 40px; 
    background-color: rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* 1. 회사명 바 스타일 */
#company-name-bar {
    font-size: 1.8em;
    font-weight: bold;
    color: white;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    margin-right: 40px;
}

/* 2. 상단 메뉴 컨테이너 */
#top-nav {
    flex-grow: 1;
}

#top-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

/* 상단 메뉴 항목 스타일 */
#top-nav li {
    margin-right: 25px;
}

#top-nav a {
    text-decoration: none;
    color: white;
    font-size: 16px; 
    font-weight: normal;
    transition: color 0.3s;
    white-space: nowrap;
}

#top-nav a:hover {
    color: #00bcd4;
}

/* 3. 상단 스토어 아이콘 스타일 (삭제됨) */


/* 헤더 및 네비게이션 스타일 (privacy.html에서 사용) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    background-color: rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    z-index: 10;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* (추가) privacy.html의 nav 내부 ul#main-menu를 가운데로 */
nav #main-menu {
    flex-grow: 1;
    justify-content: center;
}


nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav li {
    margin-left: 30px;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s;
    white-space: nowrap;
}

nav a:hover {
    color: #cccccc;
}

/* 4. 언어 선택 메뉴 공통 스타일 */
.lang-switcher-container {
    position: static;
    margin-left: 30px;
    top: auto;
    right: auto;
}

.lang-switcher li {
    margin-left: 15px;
}

.lang-switcher a {
    text-decoration: none;
    color: #ffffff80;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.3s;
    white-space: nowrap;
    text-shadow: 0 0 5px rgba(0,0,0,0.7); 
}

.lang-switcher a.active {
    color: #fff;
}

.lang-switcher a:hover {
    color: #fff;
}


/* 메인 배경 이미지 */
.main-background {
    height: 100vh;
    background-image: url('images/main-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
}

/* --- 중앙 하단 스토어 아이콘 스타일 (신규) --- */
.main-background .store-icon-bottom {
    /* ▼▼▼ 이 부분이 수정되었습니다: 중앙 하단 고정 배치 ▼▼▼ */
    position: fixed;
    bottom: 40px; /* 하단에서 40px 위 */
    left: 50%;
    transform: translateX(-50%); /* 중앙 정렬 */
    z-index: 10;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.main-background .store-icon-bottom img {
    display: block;
    width: 200px; /* 적당한 크기로 조정 */
    height: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    border-radius: 5px;
}

.main-background .store-icon-bottom:hover {
    opacity: 1.0;
}


/* --- 중앙 내용 패널 스타일 (비활성화) --- */
#center-content-panel {
    display: none; 
}

/* --- 개인정보 처리방침 페이지 전용 스타일 --- */
.privacy-page {
    overflow: auto !important;
    color: #333;
    background: #fff;
    padding-top: 80px; /* 헤더 높이만큼 여백 유지 */
}

.privacy-container {
    max-width: 800px;
    margin: 20px auto 40px auto;
    padding: 20px;
    line-height: 1.6;
}

.privacy-container h1 {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}