/* ==========================================================================
   주식회사 코스트씨엠 통합 스타일시트 (로고 및 헤더 글자 대폭 확대)
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: #334155;
    background-color: #ffffff;
    line-height: 1.6;
    word-break: keep-all;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 상단 헤더 (높이 100px로 확대) */
.site-header {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    background: #ffffff;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* 로고 이미지 엄청 큼직하게 확대 */
.brand-logo {
    height: 68px; /* 기존 42px -> 68px로 시원하게 확대 */
    width: auto;
    display: block;
    object-fit: contain;
}

/* 오른쪽 메뉴 목차 폰트 크기 대폭 확대 */
.main-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #0f172a;
    font-weight: 800;
    font-size: 1.15rem; /* 기존 1.05rem -> 1.15rem으로 확대 */
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ff6b35;
}

/* 메인 Hero 슬라이드 */
.hero-section {
    position: relative;
    height: calc(100vh - 100px);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    background: #0f172a;
}

.hero-bg-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s ease-out;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.75) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ff6b35;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: linear-gradient(120deg, #ff6b35 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 36px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary { background-color: #ff6b35; color: #ffffff; }
.btn-primary:hover { background-color: #e85a24; transform: translateY(-3px); }

.btn-outline { border: 2px solid rgba(255, 255, 255, 0.8); color: #ffffff; }
.btn-outline:hover { background: #ffffff; color: #0f172a; transform: translateY(-3px); }

.btn-light { background: #ffffff; color: #0f172a; }
.btn-light:hover { background: #ff6b35; color: #ffffff; transform: translateY(-3px); }

/* 서브페이지 공통 배너 & 레이아웃 */
.sub-hero {
    padding: 90px 0 60px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    text-align: center;
}

.sub-hero-kicker { color: #ff6b35; font-weight: 700; letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 10px; }
.sub-hero h1 { font-size: 2.5rem; font-weight: 900; margin-bottom: 12px; }
.sub-hero p { color: #94a3b8; font-size: 1.05rem; }

.about-content-section { padding: 90px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* 통계 바 */
.stats-section {
    background: #0f172a;
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: #ff6b35;
}

.stat-label { color: #94a3b8; font-size: 0.95rem; }

/* 카드 및 그리드 섹션 */
.main-services, .projects-section, .section { padding: 90px 0; }

.section-header.center { text-align: center; margin-bottom: 50px; }
.section-kicker { color: #ff6b35; font-weight: 700; letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 8px; }
.section-title { font-size: 2.2rem; color: #0f172a; font-weight: 800; }
.title-bar { width: 50px; height: 4px; background: #ff6b35; margin: 14px auto 0; border-radius: 2px; }

.service-cards-grid, .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card, .project-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.35s ease;
}

.service-card { padding: 36px 28px; }
.service-card:hover, .project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
    border-color: #ff6b35;
}

.card-number { font-family: 'Montserrat', sans-serif; font-size: 1.8rem; font-weight: 900; color: #e2e8f0; margin-bottom: 16px; }
.service-card:hover .card-number { color: #ff6b35; }
.card-link { color: #ff6b35; font-weight: 700; text-decoration: none; }

.project-img-box { position: relative; height: 220px; }
.project-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-img-box img { transform: scale(1.08); }

.project-badge {
    position: absolute; top: 14px; right: 14px;
    background: rgba(15, 23, 42, 0.85); color: #ff6b35;
    padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700;
}

.project-info { padding: 24px; }
.project-client { color: #ff6b35; font-size: 0.85rem; font-weight: 700; display: block; margin-bottom: 6px; }
.project-title { font-size: 1.3rem; color: #0f172a; margin-bottom: 10px; font-weight: 800; }
.project-desc { color: #64748b; font-size: 0.95rem; margin-bottom: 16px; }
.project-meta { font-size: 0.88rem; color: #475569; border-top: 1px solid #f1f5f9; padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }

/* CTA 배너 및 푸터 */
.cta-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 70px 0;
    color: #ffffff;
    text-align: center;
}

.cta-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-content p { color: #94a3b8; font-size: 1.05rem; margin-bottom: 28px; }

.footer {
    background: #ffffff;
    padding: 50px 0;
    border-top: 1px solid #e2e8f0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo { height: 75px; }
.footer-info { text-align: right; color: #64748b; font-size: 0.95rem; }
.copyright { margin-top: 6px; font-size: 0.85rem; color: #94a3b8; }

/* 모바일 반응형 */
@media (max-width: 768px) {
    .site-header { padding: 0 20px; height: 80px; }
    .brand-logo { height: 48px; }
    .main-nav { display: none; }
    .hero-title { font-size: 2.1rem; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
    .footer-info { text-align: center; }
}