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

/* Hero Section: 공장사진 배경 */
.hero-section {
    position: relative;
    width: 99.22vw;
    height: 100vh;
    min-height: 600px;
    background: url('../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;
    background: rgba(20, 35, 120, 0.7);
    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: #fff;
    letter-spacing: 1px;
}

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

.nav-menu li a {
    color: #fff;
    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; /* 메뉴와 버튼 사이 여백 자동 확보 */
}

.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;
    border: 1px solid #1976d2;
}

/* 로그인 버튼 */
.login-btn {
    background: #fff;
    color: #1976d2;
}
.login-btn:hover {
    background: #1976d2;
    color: #fff;
}

/* 회원가입 버튼 */
.register-btn {
    background: #1976d2;
    color: #fff;
}
.register-btn:hover {
    background: #fff;
    color: #1976d2;
}

/* 아래 메인 내용 */
.main-content {
    max-width: 900px;
    margin: 80px auto 0 auto;
    padding: 40px 24px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(30,40,80,0.08);
    text-align: center;
}

.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;
}

.welcome-text {
    font-size: 1.2rem;      /* 글씨 크기 키움 */
    color: #fff;
    margin-right: 16px;     /* 로그아웃 버튼과 간격 */
    padding-top: 6px;       /* 상단 여백 추가 */
    display: inline-block;  /* 패딩 적용되도록 inline-block */
}


