body {
    margin: 0;
    font-family: 'Noto Sans KR', Arial, sans-serif;
    background: #f7f9fb;
    color: #222;
}

/* Hero Section: 공장사진 배경 */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    background: url('/BestFoundry/images/factory.png') center center/cover no-repeat;
    display: flex;
    flex-direction: column;
}


.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 32px 60px 0 60px;
    height: 100px;
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    box-sizing: border-box;
}

/* 로고+이름 정렬 */
.logo-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 80px;   /* 원하는 크기로 조절 */
    height: 80px;
    object-fit: contain;
}

.site-title {
    font-size: 2rem;
    font-weight: bold;
    color: #050505;
    letter-spacing: 1px;
}

/* 메뉴 */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0 0 0 48px;
    padding: 0;
    gap: 36px;
}

.nav-menu li a {
    color: #000000;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu li a:hover {
    color: #ffca28;
}

.nav-auth {
    display: flex;
    gap: 12px;
    margin-left: auto; /* 메뉴와 버튼 사이 여백 자동 확보 */
}

/* 우측 로그인/회원가입 */
.nav-auth {
    display: flex;
    gap: 12px;
}
.login-btn, .register-btn {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.login-btn {
    background: #fff;
    color: #1976d2;
    border: 1px solid #1976d2;
}
.login-btn:hover {
    background: #1976d2;
    color: #fff;
}
.register-btn {
    background: #1976d2;
    color: #fff;
    border: 1px solid #1976d2;
}
.register-btn:hover {
    background: #fff;
    color: #1976d2;
}

.register-main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 140px; 
    padding: 20px;
}

.register-box {
    width: 100%;          
    max-width: 1100px;   
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 50px;       
    text-align: center;
}


/* 두 개 박스 나란히 */
.terms-container {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.terms-box {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #fafafa;
    display: flex;
    flex-direction: column;
}

.terms-box h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    text-align: left;
}

.terms-content {
    flex: 1;
    height: 200px;
    overflow-y: auto;
    padding: 10px;
    background: #fff;
    border: 1px solid #ccc;
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 10px;
}

.agree-all {
    display: block;
    margin: 20px 0;
    font-weight: bold;
}

.next-btn {
    background: #1976d2;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.next-btn:hover {
    background: #125ea7;
}

.header-center {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.main-nav {
    padding-bottom: 30px;
}
.main-nav .nav-menu a {
    line-height: 2.5;
    font-size: 1.3rem;
}








/* 폼 컨테이너 */
.form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

/* 각 입력 그룹 */
.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

/* 버튼 그룹 중앙 정렬 */
.form-group.submit {
    text-align: center;
    margin-top: 20px;
}
