/* 공통 스타일 */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background-color: #004080;
    color: white;
}

header .logo a {
    text-decoration: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a.active {
    text-decoration: underline;
}

button#languageBtn {
    padding: 5px 10px;
    cursor: pointer;
}


.main-banner {
    width: 100%;
    height: 400px; /* 필요에 따라 높이 조정 */
    background-image: url('img/banner-background.png'); /* 방금 생성한 이미지 경로 */
    background-size: cover; /* 화면에 맞게 확대/축소 */
    background-position: center center; /* 중앙 기준으로 배치 */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* 글씨 색상 */
}

.banner-content {
    text-align: center;
    z-index: 2;
}

.main-banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3); /* 배경 위 어둡게 처리하여 글씨 가독성 확보 */
    z-index: 1;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.banner-content nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.banner-content nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

.banner-content nav ul li a:hover {
    text-decoration: underline;
}

.main-banner .banner-text h1 {
    margin: 0 0 10px;
    font-size: 36px;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.main-banner .banner-text p {
    font-size: 18px;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.content-section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#company-intro .intro-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.company-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

#company-intro .intro-text {
    font-size: 16px;
}

/* 히스토리 영역 */
.history-container {
    display: flex;
    justify-content: center;
}

.timeline {
    position: relative;
    width: 800px;
    margin: 20px 0;
}

.history-container .content p {
    white-space: nowrap;  /* 줄바꿈 방지 */
}

/* 세로선 */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #004080;
    transform: translateX(-50%);
}

/* 연도 항목 */
.year-item {
    position: relative;
    width: 50%;
    margin: 40px 0;
}

/* 동그라미 */
.year-item .circle {
    width: 12px;
    height: 12px;
    background-color: #004080;
    border-radius: 50%;
    position: absolute;
    top: 0;
}

/* 좌측 항목 */
.year-item.left {
    left: 0;
    text-align: right;
}
.year-item.left .circle {
    right: -6px; /* 세로선 맞추기 */
}
.year-item.left .content {
    display: inline-block;
    max-width: 380px;
    margin-right: 20px;
}

/* 우측 항목 */
.year-item.right {
    left: 50%;
    text-align: left;
}
.year-item.right .circle {
    left: -6px; /* 세로선 맞추기 */
}
.year-item.right .content {
    display: inline-block;
    max-width: 380px;
    margin-left: 20px;
}

.year-item .year {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.year-item p {
    margin: 0;
}

/* 고객사 영역 */
.client-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.client-logos img {
    width: 100px;
    height: 50px;
    object-fit: contain;
}

/* 푸터 */
footer {
    background-color: #004080;
    color: white;
    text-align: center;
    padding: 20px;
}

/* 서비스 페이지 */
.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service-item {
    margin-bottom: 40px;
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.service-item p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #555;
}

.service-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.image-card {
    width: calc(50% - 7.5px); /* 한 줄에 2개 */
    display: flex;
    flex-direction: column;
    background-color: #f8f8f8;
    border-radius: 6px;
    padding: 10px;
    box-sizing: border-box;
}

.image-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.image-desc {
    list-style: disc inside;
    margin: 0;
    padding: 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.3rem;
}

/*
.service-item {
    width: 250px;
    text-align: center;
}

.service-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.service-description {
    margin-top: 10px;
}

.service-description h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.service-description p {
    font-size: 0.95rem;
    color: #555;
}
*/