/* 기본 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 스타일 */
header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 22px;
    color: #0f3661;
    font-weight: 700;
}

.logo h1 span {
    color: #4b3894;
}

.logo p {
    font-size: 11px;
    letter-spacing: 2px;
    color: #666;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #4b3894;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-phone i {
    font-size: 24px;
    color: #4b3894;
}

.header-phone div strong {
    display: block;
    font-size: 16px;
    color: #0f3661;
}

.header-phone div span {
    font-size: 11px;
    color: #888;
}

/* 메인 비주얼 (Hero) */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('main.jpg') no-repeat center center/cover;
    height: 550px;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-text h2 {
    font-size: 42px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-text h2 strong {
    font-weight: 700;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
    text-center: center;
}

.btn-primary {
    background-color: #4b3894;
    color: #fff;
}

.btn-primary:hover {
    background-color: #35266d;
}

.btn-outline {
    border: 1px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: #333;
}

/* 섹션 타이틀 공통 */
.section-title span {
    display: block;
    font-size: 14px;
    color: #4b3894;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.section-title h2 {
    font-size: 32px;
    color: #111;
    margin-bottom: 20px;
}

.text-center {
    text-align: center;
}

/* About Us */
.about {
    padding: 80px 0;
    background-color: #fff;
}

.about .section-title {
    max-width: 600px;
    margin-bottom: 50px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: #f0edf8;
    color: #4b3894;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: #666;
}

/* Services */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 40px;
    color: #0f3661;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #111;
}

.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Works */
.works {
    padding: 80px 0;
    background: #fff;
}

.works-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.btn-more {
    padding: 8px 16px;
    border: 1px solid #ccc;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.works-item h4 {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 500;
}

.img-placeholder {
    width: 100%;
    height: 200px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    font-size: 14px;
    border-radius: 6px;
}

/* Estimate Banner */
.estimate-banner {
    background: linear-gradient(135deg, #242b5c, #4b3894);
    color: #fff;
    padding: 60px 0;
}

.estimate-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.estimate-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.estimate-title p {
    opacity: 0.8;
}

.estimate-steps {
    display: flex;
    gap: 20px;
}

.estimate-steps .step {
    background: rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-estimate-go {
    background: #fff;
    color: #4b3894;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer */
footer {
    background: #141a29;
    color: #a0aec0;
    padding: 60px 0;
    font-size: 14px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-left h2 {
    color: #fff;
    font-size: 24px;
}

.footer-left h2 span {
    color: #6b56ca;
}

.footer-left .sub {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.footer-left .ceo {
    color: #fff;
    margin-bottom: 15px;
}

.info-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.btn-kakao {
    background: #ffeb00;
    color: #3c1e1e;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

/* 반응형 대응 (모바일 기기) */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    nav ul {
        gap: 15px;
    }
    .header-phone {
        display: none;
    }
    .hero-text h2 {
        font-size: 30px;
    }
    .estimate-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .estimate-steps {
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-right {
        text-align: center;
        align-items: center;
    }
.works-item img {
    width: 100%;
    height: 200px; /* 원하시는 높이로 조절 가능 */
    object-fit: cover; /* 사진 비율이 깨지지 않게 꽉 채움 */
    border-radius: 6px;
}
