@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
/* 프리텐다드 폰트 적용 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
}

.header {
    position: fixed;
    width: 100%;
    background: #e5e5e5;
    z-index: 1000;
    padding: 1rem 2rem;
}

.logo-image {
    height: 50px; /* 로고 크기 조정 */
    width: auto;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #1A4B8C;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.nav-link:hover {
    opacity: 0.8;
}

.hero,
.carousel {
    height: 800px;
}

.hero {
    position: relative;
    overflow: hidden;
}

.carousel {
    position: relative;
}

.carousel-track {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}


.carousel-slide.active {
    opacity: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
}


.company-name {
    font-size: 6rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/*.company-logo {*/
/*    width: 100px;*/
/*    height: 100px;*/
/*    object-fit: cover;*/
/*    margin: 0.5rem 0;*/
/*}*/

/* 설명 글 스타일 */
.carousel-content p {
    font-size: 3rem;
    font-weight: normal;
    text-align: center;
    line-height: 1.4;
    margin: 0 auto;
}
.carousel-content p.bold {
    font-size: 3.1rem;
    font-weight: bold;
    margin-top: 0.5rem;
}


.company-name .lk {
    color: #006AB8;
}

.company-name .system {
    color: #3A5889;
}

.carousel-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: transparent;
    cursor: pointer;
}

.carousel-indicator.active {
    background: #ffffff;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44, 62, 80, 0.5);
    color: #ffffff;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
}

.carousel-button-left {
    left: 1rem;
}

.carousel-button-right {
    right: 1rem;
}

.services {
    padding: 5rem 2rem;
    background: #f5f5f5;
    text-align: center;
}

.services-title {
    font-size: 2.5rem;
    color: #1a4b8c;
    margin-bottom: 1rem;
}

.services-subtitle {
    color: #2c3e50;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border: 2px solid #dcdcdc; /* 연한 회색 테두리 추가 */
    border-radius: 12px; /* 부드러운 모서리 */
    text-align: center; /* 중앙 정렬 */
}


.service-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #1a4b8c;
    margin-bottom: 1rem;
}


@media screen and (max-width: 768px) {
    .carousel-content h1 {
        font-size: 2rem;
    }

    .carousel-content p {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}


.footer {
    background-color: #1A2A4B;
    color: #ffffff;
    padding: 2rem 0;
}


.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}


.footer-info {
    text-align: left;
    font-size: 1rem;
}

.footer-info p {
    margin: 0.3rem 0;
    opacity: 0.8;
}


.footer-nav {
    text-align: center;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-social {
    text-align: right;
}

.footer-social a img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    transition: opacity 0.3s;
}

.footer-social a img:hover {
    opacity: 0.8;
}

.footer-copy {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1rem;
}


