.language-select {
  margin-left: 1rem;
  background: #fff;
  color: #0B1F3A;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
}


header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
body {
  padding-top: 80px; /* 메뉴 높이만큼 아래로 밀기 */
}


body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f7f9fc;
  color: #333;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}
header {
  background-color: #0B1F3A;
  color: #fff;
  padding: 1rem 0;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: 600;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}
.hero {
  background: url('../images/hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 6rem 2rem;
}
.section {
  padding: 4rem 2rem;
  background-color: white;
}
.section.alt {
  background-color: #e9f0f7;
}
footer {
  background-color: #0B1F3A;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

/* 기본 스타일 재설정 및 폰트 적용 */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* 배경색 변경 */
    color: #333;
    overflow-x: hidden; /* 가로 스크롤 방지 */
}

.container {
    width: 90%;
    max-width: 1200px; /* 최대 너비 설정 */
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* 헤더 스타일 */
header {
    background: #fff; /* 밝은 헤더 배경 */
    color: #333;
    padding: 1rem 0;
    position: sticky; /* 스크롤 시 상단 고정 */
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 그림자 효과 */
    display: flex;
    justify-content: center;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%; /* 컨테이너 너비 유지 */
    max-width: 1200px;
}

.logo {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* 가로 정렬 */
    align-items: center;
}

nav ul li {
    margin-left: 25px; /* 메뉴 항목 간 간격 */
}

nav ul li a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease; /* 부드러운 색상 전환 */
}

nav ul li a:hover {
    color: #007bff; /* 호버 색상 */
}

/* 언어 선택 드롭다운 */
.language-select {
    margin-left: 25px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
}

/* 히어로 섹션 */
.hero {
    background: linear-gradient(to right, #007bff, #0056b3); /* 그라데이션 배경 */
    color: #fff;
    text-align: center;
    padding: 80px 20px; /* 패딩 증가 */
    min-height: 400px; /* 최소 높이 설정 */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hero h2 {
    font-size: 3.5rem; /* 글자 크기 증가 */
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out; /* 애니메이션 추가 */
}

.hero p {
    font-size: 1.5rem;
    animation: fadeInUp 1s ease-out 0.3s forwards; /* 지연된 애니메이션 */
    opacity: 0;
}

/* 일반 섹션 스타일 */
.section {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
    border-bottom: 1px solid #eee; /* 구분선 */
}

.section.alt {
    background-color: #f9f9f9; /* 다른 섹션 배경색 */
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #007bff; /* 강조 색상 */
}

.section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.section ul {
    list-style: none;
    padding: 0;
    display: flex; /* 제품 목록 가로 정렬 */
    flex-wrap: wrap; /* 반응형 줄 바꿈 */
    justify-content: center;
    margin-top: 30px;
}

.section ul li {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 15px;
    padding: 25px;
    flex: 1; /* 유연한 너비 */
    min-width: 280px; /* 최소 너비 설정 */
    max-width: 350px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* 호버 효과 준비 */
}

.section ul li:hover {
    transform: translateY(-5px); /* 호버 시 살짝 위로 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* 그림자 진해짐 */
}

.section ul li strong {
    color: #007bff;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

/* 푸터 스타일 */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column; /* 작은 화면에서 세로 정렬 */
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        margin-top: 15px;
    }

    nav ul li {
        margin: 10px 0;
    }

    .language-select {
        margin-top: 15px;
        margin-left: 0;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .section ul li {
        min-width: unset; /* 모바일에서 최소 너비 해제 */
        width: 90%; /* 모바일에서 너비 설정 */
    }
}