/* Google Noto Sans KR 폰트 임포트 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

/* 기본 스타일 */
body {
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    overflow-x: hidden; /* 가로 스크롤 방지 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #3498db; /* 투모스 느낌의 파란색 */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: none;
}

h1, h2, h3, h4 {
    color: #2c3e50; /* 진한 회색-남색 계열 */
    font-weight: 700;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.8em;
    text-align: center;
    line-height: 1.2;
}

h3 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 20px;
}

.section-padding {
    padding: 100px 0; /* 섹션 상하 여백 늘림 */
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-header h3 {
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.bg-light {
    background-color: #f2f4f6; /* 투모스 느낌의 연한 회색 배경 */
}

/* 헤더 */
#main-header {
    background-color: rgba(255, 255, 255, 0); /* 초기 투명 */
    color: #fff;
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95); /* 스크롤 시 불투명 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#main-header .logo {
    font-size: 2em;
    color: #fff; /* 초기 로고 색상 */
    font-weight: 700;
    margin: 0;
    transition: color 0.3s ease;
}

#main-header.scrolled .logo {
    color: #2c3e50; /* 스크롤 시 로고 색상 변경 */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 40px;
}

nav ul li a {
    color: #fff; /* 초기 메뉴 색상 */
    font-weight: 400;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

#main-header.scrolled nav ul li a {
    color: #555; /* 스크롤 시 메뉴 색상 변경 */
}

nav ul li a:hover {
    color: #3498db;
    text-decoration: none;
}

/* 메인 비주얼 (Hero Section) */
#hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('자산 14@4x-100.jpg') no-repeat center center/cover; /* 배경 이미지 + 어두운 오버레이 */
    color: #fff;
    text-align: center;
    padding: 200px 20px 180px; /* 상하 여백 조절 */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh; /* 최소 높이 설정 */
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3); /* 글자 그림자 */
}

.hero-content .slogan {
    font-size: 1.6em;
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 2px; /* 자간 조절 */
}

#hero h2 {
    font-size: 4em;
    margin-top: 0;
    color: #fff;
    font-weight: 700;
}

#hero .description {
    font-size: 1.4em;
    font-weight: 300;
    line-height: 1.5;
}

/* 회사 소개 */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
    font-size: 1.1em;
    color: #555;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}


/* 사업 분야 그리드 */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 아이템 너비 조절 */
    gap: 30px;
    margin-top: 40px;
}

.business-item {
    background-color: #fff;
    padding: 30px; /* 이미지 제거 후에도 충분한 패딩 유지 */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* 그림자 강조 */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* 아래 두 줄은 이미지 제거로 인해 필요 없으므로 삭제 */
/* .business-item img {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
} */

.business-item h4 {
    font-size: 1.4em;
    margin-top: 0; /* 이미지 제거로 인한 상단 여백 조절 */
    margin-bottom: 15px; /* 제목과 설명 사이 여백 */
    color: #3498db; /* 아이템 제목 색상 */
    font-weight: 500;
}

.business-item p {
    font-size: 1em;
    color: #666;
    line-height: 1.5;
}

/* 연락처 정보 그리드 */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.contact-item h4 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-item p {
    font-size: 1.1em;
    color: #555;
}

.contact-item p a {
    color: #3498db;
    font-weight: 500;
}

.map-container {
    text-align: center;
    margin-top: 60px;
}

.map-container iframe {
    max-width: 100%;
    border-radius: 8px;
    height: 450px; /* 높이 고정 */
}

/* 푸터 */
footer {
    background-color: #2c3e50; /* 진한 남색 배경 */
    color: #ecf0f1; /* 밝은 회색 글씨 */
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

/* 반응형 디자인 */
@media (max-width: 992px) {
    #hero h2 {
        font-size: 3.2em;
    }
    .hero-content .description {
        font-size: 1.2em;
    }
    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    #main-header .container {
        flex-direction: column;
        text-align: center;
    }

    #main-header .logo {
        margin-bottom: 15px;
        color: #2c3e50; /* 모바일에서는 항상 어두운 색 */
    }

    nav ul {
        margin-top: 0;
    }

    nav ul li {
        margin: 0 10px;
    }

    nav ul li a {
        color: #555; /* 모바일에서는 항상 어두운 색 */
        font-size: 1em;
    }

    #main-header.scrolled .logo,
    #main-header.scrolled nav ul li a {
        color: #2c3e50; /* 스크롤 시에도 동일 */
    }
    
    #hero {
        padding: 150px 20px 120px;
    }
    #hero h2 {
        font-size: 2.5em;
    }
    .hero-content .description {
        font-size: 1em;
    }

    h3 {
        font-size: 1.8em;
    }

    .section-padding {
        padding: 60px 0;
    }

    .business-grid, .contact-info-grid {
        grid-template-columns: 1fr; /* 모바일에서 한 줄에 하나씩 */
    }
}

@media (max-width: 480px) {
    nav ul li {
        margin: 0 8px;
    }

    #hero h2 {
        font-size: 2em;
    }
    .hero-content .slogan {
        font-size: 1.2em;
    }

    .business-item, .contact-item {
        padding: 25px;
    }
}