/* 기본 스타일 */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-gray: #fafafa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Pretendard, 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 스타일 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;    
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo a {
    text-decoration: none;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 히어로 섹션 */
.hero {
    height: 100vh;
    background: url('/static/html/img/hero2.jpeg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
}

/* 서비스 섹션 */
.services {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 회사소개 섹션 */
.about {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* 문의하기 섹션 */
.contact {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

/* 푸터 */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 연혁 섹션 */
/* .history {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
    padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
} */


/* 반응형 디자인 */
@media (max-width: 768px) {
    .nav-links li {
        display: none;
    }

    .nav-links li.mobile {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-content::before {
        left: -30px;
    }

    .timeline-item:nth-child(even) .timeline-content::before {
        left: -30px;
    }
}

/* 솔루션 섹션 스타일 */
.solution {
    padding: 80px 0;
    background-color: #ffffff;
}

.solution .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.solution img {
    max-width: 100%;
    height: auto;
    margin: 80px 0 40px 0;
    border-radius: 10px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease;
}

/* .solution img:hover {
    transform: scale(1.02);
} */

.section-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.section-title {
    color: #333;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    padding: 20px 0;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 0px;
    width: 100%;
}

.solution-card {
    background: #f8f9fa;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    border-color: rgba(0, 123, 255, 0.1);
}

.solution-card i {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #007bff, #00b4d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

.solution-card h1.small {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.solution-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .solution {
        padding: 60px 0;
    }
    
    .solution img {
        margin: 30px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .solution-card {
        padding: 25px 20px;
    }
    
    .solution-card i {
        font-size: 2.4rem;
        margin-bottom: 20px;
    }
    
    .solution-card h3 {
        font-size: 1.2rem;
    }
    
    .solution-card p {
        font-size: 0.9rem;
    }
} 


.history {
    background-color: #fafafa;
    padding: 50px 0
}

.history .container {
    position: relative;
    margin: 0 auto;
    max-width: 1100px;
}

.history .clearfx::after {
    content: "";
    display: block;
    clear: both
}

/* .history h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    width: 20%;
    float: left;
    display: inline-block;
    vertical-align: top
} */

.history .inner {
    width: 100%;
    float: left;
    display: inline-block;
    vertical-align: top;
    padding: 70px 0;
    position: relative;
    background: url(../img/history-ling.svg) no-repeat center center;
    background-size: auto 100%;
    display: flex;
    flex-direction: column-reverse
}

@media (max-width: 700px) {
    .history .inner {
        background:url(../img/history-ling.svg) no-repeat 5px center;
        background-size: contain;
        padding-top: 30px
    }
}

.history ul {
    width: 50%;
    padding: 0;
    padding: 0 40px 0 0;
    margin: 0
}

@media (max-width: 700px) {
    .history ul {
        width:100%;
        padding: 0 0 0 20px
    }
}

.history ul .year {
    position: relative;
    font-style: normal;
    font-weight: 800;
    font-size: 26px;
    line-height: 130%;
    color: #4081fe;
    margin-bottom: 0;
    justify-content: end
}

.history ul .year:before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 10px;
    border: 2px solid #4081fe;
    background: #fff;
    position: absolute;
    right: -45px;
    box-sizing: border-box;
    top: 22px
}

@media (max-width: 700px) {
    .history ul .year {
        justify-content:start;
        font-size: 18px;
        margin-top: 30px
    }

    .history ul .year:before {
        left: -19px;
        top: 16px
    }
}

.history ul li {
    display: flex;
    flex-direction: row;
    font-size: 18px;
    padding: 10px 0;
    color: rgba(0,0,0,.6)
}

.history ul li span {
    width: 60px
}

.history ul li p {
    width: calc(100% - 60px);
    word-break: keep-all
}

.history ul li.on {
    font-weight: 700
}

@media (max-width: 700px) {
    .history ul li {
        font-size:15px
    }
}

.history ul:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 0 40px
}

.history ul:nth-child(even) .year {
    justify-content: start
}

.history ul:nth-child(even) .year:before {
    left: -45px
}

@media (max-width: 700px) {
    .history ul:nth-child(even) {
        padding:0 0 0 20px;
        margin-left: 0
    }

    .history ul:nth-child(even) .year:before {
        left: -19px
    }
}

/* 주요고객사 섹션 스타일 */
.customers {
    padding: 80px 0;
    background-color: #fafafa;
}

.customer-image {
    max-width: 1200px;
    margin: 40px auto 0;
    text-align: center;
}

.customer-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.press {
    background-color: #fff;
    padding: 50px 0
}

.press ol, .press ul {
    list-style: none;
}

.press a {
    outline: 0;
    text-decoration: none;
    color: #231916;
    -webkit-transition: .3s;
    transition: .3s
}

.press ul>li {
    border-bottom: 1px solid #e0e0e0
}

.press ul>li:last-child {
    border-bottom: none
}

.press ul>li>a {
    position: relative;
    display: block;
    padding: 20px 40px 20px 0
}

.press ul>li>a::after {
    position: absolute;
    content: "";
    right: 10px;
    bottom: calc(50% - 13px);
    width: 20px;
    height: 14px;
    background-image: url(../img/arrow-icon.svg);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .4;
    -webkit-transition: .3s;
    transition: .3s
}

.press ul>li>a>h3 {
    color: #828282;
    font-size: 18px;
    margin-bottom: 8px;
    -webkit-transition: .3s;
    transition: .3s;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    max-height: 2.6em;
    text-align: left;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.press ul>li>a>span {
    display: inline-block;
    font-size: 14px;
    margin-right: 16px
}

.press ul>li>a .media {
    color: #4081fe;
    font-weight: 700
}

.press ul>li>a .date {
    color: #828282
}

@media (min-width: 1024px) {
    .press {
        padding:90px 0
    }


    .press ul>li>a {
        padding: 38px 60px 45px 0
    }

    .press ul>li>a>h3 {
        font-size: 24px
    }

    .press ul>li>a>span {
        font-size: 17px
    }

    .press ul>li>a:hover::after {
        opacity: 1;
        right: 0
    }

    .press ul>li>a:hover>h3 {
        color: #333
    }
}
