body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background-color: #f8f9fa; /* 연한 회색 배경 */
    color: #333; /* 기본 텍스트 색상 */
    line-height: 1.6; /* 기본 줄 간격 */
    scroll-behavior: smooth; /* 부드러운 스크롤 */
}
h1, h2, h3, p {
    margin: 0;
    padding: 0;
}

/* 헤더 스타일 */
.header {
    background-color: #00264d; /* 남색 배경 */
    color: white; /* 흰색 텍스트 */
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 헤더 그림자 */
    position: relative; /* 홈 버튼 배치용 */
    z-index: 10;
}

/* 홈 버튼 스타일 */
.home-logo {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 60px;
    height: 60px;
    background-color: white; /* 버튼 배경 흰색 */
    border: 2px solid #ddd;
    border-radius: 50%; /* 원형 */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* 그림자 효과 */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* 호버 애니메이션 */
}

.home-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* 이미지 원형 */
    object-fit: cover;
}

.home-logo:hover {
    transform: scale(1.1); /* 호버 시 확대 */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* 그림자 강화 */
}

/* 헤더 제목 스타일 */
.header h1 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 내비게이션 스타일 */
.header nav {
    margin-top: 10px;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    margin: 0 15px;
    font-size: 1.2em;
    padding: 5px 10px;
    border-radius: 5px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover {
    background-color: #ffffff;
    color: #00264d;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-link.active {
    background-color: #b3cce6;
    text-decoration: underline;
}

/* 메인 섹션 스타일 */
main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact 섹션 */
.contact-section {
    padding: 40px;
    background-color: #ffffff;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.contact-section h2 {
    font-size: 2em;
    color: #00264d;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

/* Contact Item 스타일 */
.contact-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    width: 300px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.contact-item img {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-item h3 {
    font-size: 1.3em;
    color: #00264d;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 1em;
    color: #555;
}

/* 추가 정보 섹션 */
.additional-section {
    padding: 40px;
    background-color: #ffffff;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.additional-section h2 {
    font-size: 2em;
    color: #00264d;
    margin-bottom: 20px;
}

.additional-section p {
    font-size: 1.2em;
    color: #555;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

.additional-section .profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    object-position: center;
    border: 4px solid #00264d;
    transition: transform 0.3s ease;
}

.additional-section .profile-picture:hover {
    transform: scale(1.05);
}

/* 푸터 스타일 */
footer {
    background-color: #00264d;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    margin-top: 30px;
    border-top: 4px solid #b3cce6;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .nav-link {
        font-size: 1em;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        width: 90%;
    }

    .additional-section .profile-picture {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .nav-link {
        font-size: 0.9em;
    }

    .contact-item {
        padding: 10px;
    }

    .additional-section h2 {
        font-size: 1.5em;
    }

    .additional-section p {
        font-size: 1em;
    }
}
