@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #004098;
    --secondary-color: #0056b3;
    --accent-color: #00a0e9;
    --light-blue: #eef5ff;
    --dark-blue: #002d6b;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Header */
header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    /* 여백을 넓혀 큰 로고가 답답하지 않게 조정 */
}

.logo img {
    max-width: 160px;
    height: auto !important;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.contact-info {
    text-align: right;
}

.contact-info .phone {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.contact-info .time {
    font-size: 0.8rem;
    color: var(--text-light);
}

.btn-inquiry {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-inquiry:hover {
    background: var(--secondary-color);
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 3px 0;
    border-top: 1px solid var(--gray-100);
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 30px 0;
    background-color: #ffffff;
    /* 순수한 화이트 톤 */
    /* overflow: hidden 제거 - 통 이미지 배너 잘림 방지 */
    overflow: visible;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1.main-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 12px;
    color: #111;
}

.hero-text h1.main-title span {
    color: var(--primary-color);
}

.hero-text p.sub-title {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

/* 3대 핵심 강점 리스트 */
.hero-features {
    margin-top: 20px;
}

.hero-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.hero-features li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.hero-features li div {
    display: flex;
    flex-direction: column;
}

.hero-features li strong {
    font-size: 1rem;
    color: #222;
    margin-bottom: 2px;
}

.hero-features li span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.hero-image img {
    max-width: 380px;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.08));
}

/* ----------------------------------------
   통 이미지 배너 방식 (hero-banner)
   .hero.hero-banner 일 때만 적용
   ---------------------------------------- */
.hero.hero-banner {
    padding: 20px 0;
    background-color: #ffffff;
    /* overflow: hidden 제거 - 이미지 잘림 방지 */
}

/* 배너 이미지
   - width:auto + max-width:100% + max-height 조합
   - object-fit:contain: 이미지 졸림 없이 비율 유지
   - margin: 0 auto: 가운데 정렬 */
.hero.hero-banner img.hero-banner-img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 400px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

/* 배너 링크 래퍼 */
.hero.hero-banner a.hero-banner-link {
    display: block;
    text-align: center;      /* img(width:auto)를 가운데 정렬 */
    text-decoration: none;
    line-height: 0;
    transition: opacity 0.2s ease;
}

.hero-banner-link:hover {
    opacity: 0.95;
}

/* 모바일: 히어로 배너 이미지 높이 축소 */
@media (max-width: 768px) {
    .hero.hero-banner {
        padding: 12px 0;
    }
    .hero.hero-banner img.hero-banner-img {
        max-height: 260px;
    }
}


/* Features Icons - Removed as integrated to hero */
.features-bar {
    display: none;
}

.features-list {
    display: flex;
    justify-content: space-around;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.feature-item span {
    font-weight: 500;
    font-size: 0.85rem;
}

/* Category Grid */
.categories {
    padding: 15px 0;
    background: var(--primary-color);
    color: var(--white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 1.4rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.category-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 10px;
    text-align: center;
    color: var(--text-color);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 5px;
    margin-bottom: 8px;
}

.category-card h3 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.category-card .more {
    font-size: 0.8rem;
    color: var(--primary-color);
}

/* Process Section */
.process {
    padding: 35px 0;
}

.process-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px;
    background: var(--light-blue);
    border-radius: 12px;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
}

.step:not(:last-child)::after {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: -10%;
    color: var(--primary-color);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

.step h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.step p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.3;
}

.custom-order {
    background: #7caeff;
    padding: 25px;
    border-radius: 12px;
    color: var(--white);
}

.custom-order h3 {
    margin-bottom: 15px;
}

.custom-order p {
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
}

/* Footer Final - UI/UX Optimized */
footer {
    background: var(--dark-blue);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-layout-final {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.footer-col-final h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    letter-spacing: -0.3px;
}

/* 1열 Identity */
.identity-col .since-2006 {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.brand-slogan-footer {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: 25px;
}

.identity-links-footer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.identity-links-footer .blog-link i {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.identity-links-footer .blog-link:hover i {
    color: #2db400; /* Naver Green */
}

.footer-intro-link {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 2열 Products (Parallel Grid) */
.product-grid-footer-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.product-grid-footer-inline li a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.product-grid-footer-inline li a:hover {
    color: var(--white);
}

/* 3열 Support */
.footer-link-list li {
    margin-bottom: 10px;
}

.footer-link-list li a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 4열 CS Center */
.btn-footer-cta-ultimate {
    display: block;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-cs-info p {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-cs-info p i {
    color: rgba(255, 255, 255, 0.4);
}

/* Bottom Info Area */
.footer-bottom-info-area {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.info-row-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    margin-bottom: 5px;
}

.info-row-footer span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    position: relative;
}

.info-row-footer span:not(:last-child)::after {
    content: '|';
    margin-left: 20px;
    opacity: 0.2;
}

.copyright-text-final {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 15px;
}

/* Sidebar Layout for Subpages */
.sub-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    padding: 40px 0;
}

.sidebar {
    background: var(--white);
}

.menu-group {
    margin-bottom: 25px;
    /* 그룹 간 여백 대폭 추가 */
}

.menu-group h3 {
    background: var(--primary-color);
    /* 짙은 파란색 배경 */
    color: var(--white);
    /* 흰색 글자 */
    padding: 10px 15px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 4px 4px 0 0;
    margin-bottom: 0;
}

.menu-group ul {
    border: 1px solid var(--gray-200);
    border-top: none;
    background: var(--white);
    margin-bottom: 0;
}

.side-menu ul li {
    border-bottom: 1px solid var(--gray-100);
}

.side-menu ul li:last-child {
    border-bottom: none;
}

.side-menu ul li a {
    display: block;
    padding: 10px 15px;
    font-size: 0.88rem;
    color: var(--text-color);
    transition: var(--transition);
}

.side-menu ul li a:hover,
.side-menu ul li a.active {
    background: var(--light-blue);
    color: var(--primary-color);
    padding-left: 20px;
    font-weight: 500;
}

.side-contact {
    border: 1px solid var(--gray-200);
    padding: 20px;
    border-radius: 5px;
    background: var(--gray-100);
}

/* Table Style */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.price-table th,
.price-table td {
    border: 1px solid var(--gray-200);
    padding: 12px;
    text-align: center;
}

.price-table th {
    background: var(--light-blue);
    font-weight: 500;
}

.price-table .highlight {
    background: #fdfdfd;
}

/* Sub-page Content Area */
.sub-content {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-height: 500px;
}

.sub-title-area {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.sub-title-area h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 20px 0;
    }

    .hero-text h1.main-title {
        font-size: 2.2rem;
    }

    .hero-features li {
        justify-content: center;
        text-align: left;
    }

    .hero-image img {
        max-width: 300px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-text h1.main-title {
        font-size: 1.8rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-right {
        display: none;
    }
}

/* Footer Bank Info */
.footer-bank-info {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.footer-bank-info h5 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-bank-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
    line-height: 1.4;
}

.footer-bank-info p:last-child {
    margin-bottom: 0;
}

.kb-symbol-footer {
    height: 18px;
    width: auto;
    vertical-align: middle;
    margin-right: 5px;
    display: inline-block;
}