/* 기본 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    background: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center; /* 로고 중앙 정렬 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: block;
    width: 170px;
    height: 40px;
    background-image: url('/img/logo.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
} 

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    background-image: url('/img/visual.png');
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.welcome-text {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* About Us Section */

.about-us {
    padding: 80px 0;
    text-align: center;
    background: white;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: #004a99;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
}

.about-us h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
}

.about-us .description {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

.text-color{color: #004a99;}
.text-point{color: rgb(31 41 55 / var(--tw-text-opacity, 1)); font-weight: 700; margin-top: 0.5rem; font-size: 1.5rem; line-height: 2rem;}  

/* Business Items Section */
.business-items {
    padding: 80px 0;
    background-color: #f1f3f5;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h3 {
    font-size: 1.8rem;
    border-left: 4px solid #004a99;
    padding-left: 15px;
}

/* Card Grid Layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: #ffc1c1; /* 시안의 핑크색 포인트 */
    margin-bottom: 20px;
    border-radius: 5px;
}

.Items1{width: 50px; height: 50px; background-image: url(/img/Items1.png);   background-size: contain;    background-repeat: no-repeat;    background-position: center;}
.Items2{width: 50px; height: 50px; background-image: url(/img/Items2.png); background-size: contain;    background-repeat: no-repeat;    background-position: center;}
.Items3{width: 50px; height: 50px; background-image: url(/img/Items3.png); background-size: contain;    background-repeat: no-repeat;    background-position: center;}
.Items4{width: 50px; height: 50px; background-image: url(/img/Items4.png); background-size: contain;    background-repeat: no-repeat;    background-position: center;}

.card h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.card .sub-title {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
}

.card p {
    font-size: 0.95rem;
    color: #555;
}

/* Footer */
footer {
    background: white;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #eee;
}
.footer-logo {
    display: block;
    width: 170px;
    height: 40px;
    background-image: url('/img/Logo_GMK.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
.footer-logo-img {
    margin: 0 auto 20px auto; /* 위 0, 좌우 자동(중앙), 아래 20px 띄우기 */
}
.footer-info {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.8;
    margin-bottom: 20px;
}
.copyright {
    font-size: 0.7rem;
    color: #aaa;
}

/* 반응형 미디어 쿼리 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .card-grid {
        grid-template-columns: 1fr; /* 모바일에서는 한 줄씩 */
    }
}
