/* ===== 기본 설정 ===== */
body {
    margin: 0;
    font-family: "Noto Sans KR", sans-serif;
    background-color: #f5f6fa;
    color: #333;
    padding-bottom: 48px; /* 고정 푸터에 콘텐츠가 가려지지 않도록 */
}

/* ===== Header ===== */
header {
    background-color: white;
    color: #fff;
    border-bottom: 1px solid #4c93af;
}

.header-bar {
    display: flex;
    align-items: center;
    padding: 15px 30px;

}

/* 왼쪽 영역(로고 + 메뉴) */
.header-right {
    display: flex;
    flex-direction: row;     /* 로고 → 메뉴 */
    align-items: center;
    gap: 20px;               /* 로고와 메뉴 사이 간격 */
    justify-content: flex-start;
}

.logo {
    height: 80px;
    width: auto;
    display: block;
}

.brand {
    display: flex;
    align-items: center;
}

/* 로고와 메뉴 사이 비우는 공간 */
.spacer {
    flex: 0 0 220px;
}

/* 상단 메뉴 */
.main-nav {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.main-nav a:hover {
    text-decoration: underline;
}

/* nav 기본 링크 (기본은 흰색, main-nav에서 다시 덮어씀) */
nav a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* ===== 헤더 우측 로그인/회원가입/로그아웃 버튼 ===== */
.header-auth {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 공통 버튼 베이스 (헤더용) */
.gnuv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}

/* 로그인 / 로그아웃 */
.btn-login,
.btn-logout {
    background-color: #ffffff;
    color: #2485ed;
    border-color: #a0aebd;
}

/* 회원가입 */
.btn-signup {
    background-color: #2485ed;
    color: #ffffff;
}

/* 호버 효과 */
.btn-login:hover,
.btn-logout:hover {
    background-color: #f1f5fb;
    text-decoration: none;
}

.btn-signup:hover {
    background-color: #1a6ed0;
    text-decoration: none;
}

/* ===== 반응형 헤더 ===== */
@media (max-width: 768px) {
    .spacer {
        flex-basis: 80px;
    }
    .logo {
        height: 32px;
    }
}

/* ===== Hero ===== */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: white;
    color: black;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Hero 영역 시작하기 버튼 */
.hero-actions {
    display: flex;
    justify-content: center;   /* 가운데 정렬 */
    margin-top: 10px;
}


.hero-start-btn {
    display: inline-flex;          /* 텍스트를 가운데 정렬하기 편하게 */
    align-items: center;
    justify-content: center;

    min-width: 220px;              /* 버튼 가로 폭 고정 느낌 */
    padding: 12px 24px;            /* 세로/가로 여백 */
    border-radius: 4px;            /* 살짝 둥근 모서리 */
    background-color: #2485ed;     /* 파란색 배경 */
    color: #ffffff;                /* 흰색 글자 */
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.hero-start-btn:hover {
    background-color: #1a6ed0;
    text-decoration: none;
}

/* ===== Features ===== */
.features {
    max-width: 1000px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.feature h3 {
    margin-bottom: 15px;
    color: #2485ed;
}

/* ===== Footer ===== */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* 화면 하단에 고정되는 푸터 */
.site-footer-fixed {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 16px;
    text-align: center;
    color: black;
    background: #eef3f8;
    font-size: 0.9rem;
    z-index: 1030;
}
/* 카드 전체를 링크로 쓸 때 스타일 */
.feature-link {
    display: block;          /* a 태그를 블록으로 */
    color: inherit;          /* 글자색은 그대로 */
    text-decoration: none;   /* 밑줄 제거 */
    cursor: pointer;
}

/* 마우스 올렸을 때 살짝 떠오르는 효과 */
.feature-link:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    text-decoration: none;
}
/* Hero - 로그인 후 인사 이미지 */
.hero-hello-img {
    width: 150px;        /* 원하는 크기로 고정 (예: 180~260px 사이) */
    max-width: 100%;     /* 혹시 작은 화면에서는 줄어들 수 있게 */
    height: auto;
    display: block;
    margin-top: -10px;   /* 필요하면 여기 값으로 위아래 미세 조정 */
}

.welcome-text {
    margin-right: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #5c5858;   /* 글자색 지정 */
}

