@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
}

/* 1. Header (Fixed) */
.header {
    height: 80px;
    background-color: #fff;
    border-bottom: 1px solid #e1e1e1;
    position: fixed;
    /* FIXED */
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Shadow added */
}

.header .container {
    width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 26px;
    font-weight: 800;
    color: #2a3b8f;
    text-decoration: none;
    letter-spacing: -1.5px;
}

/* Center GNB */
.gnb {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-left: -50px;
}

.gnb ul {
    list-style: none;
    display: flex;
    gap: 60px;
}

.gnb a {
    text-decoration: none;
    color: #222;
    font-size: 18px;
    font-weight: 700;
    transition: color 0.2s;
}

.gnb a:hover {
    color: #2a3b8f;
}

.btn-login {
    display: inline-block;
    padding: 10px 28px;
    background-color: #2a3b8f;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-login:hover {
    background-color: #1e2b69;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(42, 59, 143, 0.2);
}

/* 2. Main Content Wrapper (To handle Fixed Header) */
.page-content {
    margin-top: 80px;
    /* Offset for header height */
    min-height: calc(100vh - 140px);
    /* Fill screen minus header/footer */
}

/* 3. Hero Section (Home) */
.hero-wrapper {
    height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('/pc/images/main_bg.jpg') no-repeat center center / cover;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
}

/* 4. Login Form Section (Centered Box Style) */
.login-container {
    display: flex;
    justify-content: center;
    padding-top: 60px;
    /* Space from header */
    padding-bottom: 60px;
}

.login-box {
    width: 440px;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    border: 1px solid #e1e5ee;
}

.login-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.login-input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    background-color: #f8fafc;
    /* Very light blue-grey */
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-input:focus {
    background-color: #fff;
    border-color: #3b82f6;
    /* Blue-500 */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-submit-login {
    width: 100%;
    padding: 16px;
    background-color: #2563eb;
    /* Blue-600 */
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background 0.2s;
}

.btn-submit-login:hover {
    background-color: #1d4ed8;
}

.btn-secondary-login {
    width: 100%;
    padding: 16px;
    background-color: #1e3a8a;
    /* Blue-900 (Navy) */
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary-login:hover {
    background-color: #172554;
}

.login-links {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
}

.login-links a {
    color: #64748b;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
    color: #333;
}

/* Footer */
.footer {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    background-color: #fff;
    border-top: 1px solid #eee;
    font-size: 13px;
}