/* ==========================================================================
   회사소개자료(2024-02-22) 반영 — 로고 / 제품 카탈로그 / 거래처 / 회사소개 / 라이트박스
   style.css 다음에 로드됨 (header.php)
   ========================================================================== */
.nav-brand a { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.nav-logo { height: 38px; width: auto; display: block; }

.page-header {
    background: linear-gradient(rgba(12, 12, 12, 0.72), rgba(12, 12, 12, 0.85)), url('../images/company/company-02.jpg') center 35% / cover no-repeat;
    padding: 9rem 0 4.5rem;
}

.stats {
    background: linear-gradient(rgba(12, 12, 12, 0.8), rgba(12, 12, 12, 0.8)), url('../images/company/company-03.jpg') center / cover no-repeat;
    padding: 5rem 0;
}
.stat-number { color: var(--secondary-color); }
.products-cta p { color: #555; }

.gc-lead { text-align: center; color: var(--text-light); max-width: 760px; margin: -1.5rem auto 2.5rem; line-height: 1.8; }

/* 홈 제품 카드 */
.gc-home-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.gc-home-card { display: block; background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; text-decoration: none; transition: all 0.35s ease; }
.gc-home-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(0, 229, 255, 0.4); }
.gc-home-card-img { aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.gc-home-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gc-home-card:hover .gc-home-card-img img { transform: scale(1.06); }
.gc-home-card-body { padding: 1.1rem 1.2rem 1.3rem; }
.gc-home-card-body h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.35rem; }
.gc-home-card-body p { color: var(--text-light); font-size: 0.85rem; opacity: 0.8; }

/* 거래처 */
.gc-home-customers { background: var(--bg-dark); padding: 5rem 0; }
.gc-customers-group { color: var(--secondary-color); font-size: 1.1rem; margin: 2rem 0 1rem; letter-spacing: 0.5px; }
.gc-customers-group:first-child { margin-top: 0; }
.gc-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.gc-logo-card { background: #fff; border-radius: 12px; padding: 1rem 0.8rem 0.7rem; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.gc-logo-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0, 229, 255, 0.25); }
.gc-logo-img { height: 64px; display: flex; align-items: center; justify-content: center; }
.gc-logo-img img { max-height: 64px; max-width: 100%; object-fit: contain; }
.gc-logo-card span { display: block; margin-top: 0.6rem; font-size: 0.78rem; color: #555; font-weight: 600; line-height: 1.3; }

/* 제품 카탈로그 */
.gc-catalog { margin-bottom: 4rem; }
.gc-cat-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 3.5rem; }
.gc-cat-nav a { color: var(--text-light); text-decoration: none; border: 1px solid var(--border-color); border-radius: 30px; padding: 0.45rem 1rem; font-size: 0.9rem; transition: all 0.25s ease; }
.gc-cat-nav a:hover { color: var(--bg-dark); background: var(--secondary-color); border-color: var(--secondary-color); }
.gc-cat { padding: 2.5rem 0; border-top: 1px solid var(--border-color); scroll-margin-top: 90px; }
.gc-cat-head { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.5rem; }
.gc-cat-no { font-size: 2.2rem; font-weight: 800; color: var(--secondary-color); line-height: 1; min-width: 3rem; }
.gc-cat-head h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 0.4rem; }
.gc-cat-head h3 small { font-size: 0.95rem; font-weight: 500; color: var(--text-light); opacity: 0.7; margin-left: 0.4rem; }
.gc-materials { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0.3rem; }
.gc-materials strong { color: var(--secondary-color); margin-right: 0.4rem; }
.gc-cat-desc { color: var(--text-light); line-height: 1.7; }
.gc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); grid-auto-rows: 170px; grid-auto-flow: dense; gap: 0.8rem; }
.gc-photo { position: relative; display: block; overflow: hidden; border-radius: 10px; background: #111; cursor: zoom-in; }
.gc-photo.is-wide { grid-column: span 2; grid-row: span 2; }
.gc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.gc-photo:hover img { transform: scale(1.07); }
.gc-photo-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 0.7rem 0.5rem; font-size: 0.8rem; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); }

/* 회사소개 */
.gc-about-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; margin-bottom: 5rem; }
.gc-eyebrow { color: var(--secondary-color); font-weight: 700; letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 0.6rem; }
.gc-about-text h2 { color: var(--white); font-size: 2.1rem; line-height: 1.25; margin-bottom: 1.5rem; }
.gc-about-text p { color: var(--text-light); line-height: 1.9; margin-bottom: 1rem; }
.gc-about-visual { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; }
.gc-about-visual img { width: 100%; height: 100%; object-fit: cover; }
.gc-about-visual .gc-about-logo { position: absolute; left: 50%; top: 50%; width: 55%; height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6)); }
.gc-block { margin-bottom: 5rem; }
.gc-info-table { max-width: 860px; margin: 0 auto; border-top: 2px solid var(--secondary-color); }
.gc-info-row { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; padding: 1.1rem 0.5rem; border-bottom: 1px solid var(--border-color); align-items: center; }
.gc-info-row > span { color: var(--secondary-color); font-weight: 700; }
.gc-info-row > p { color: var(--white); }
.gc-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gc-tags li { background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.35); color: var(--white); padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.9rem; }
.gc-org { max-width: 980px; margin: 0 auto; }
.gc-org-top { display: flex; justify-content: center; align-items: center; gap: 2rem; margin-bottom: 2.5rem; }
.gc-org-root { display: flex; align-items: center; gap: 0.7rem; background: var(--secondary-color); color: var(--bg-dark); font-weight: 800; padding: 0.8rem 1.6rem; border-radius: 40px; }
.gc-org-root img { height: 26px; filter: invert(1); }
.gc-org-advisory { border: 1px dashed var(--secondary-color); color: var(--secondary-color); padding: 0.6rem 1.3rem; border-radius: 30px; font-weight: 600; }
.gc-org-teams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gc-org-team { background: var(--bg-dark); border: 1px solid var(--border-color); border-top: 3px solid var(--secondary-color); border-radius: 12px; padding: 1.4rem 1.5rem; }
.gc-org-team h4 { color: var(--white); font-size: 1.15rem; margin-bottom: 0.8rem; }
.gc-org-team ul { list-style: none; }
.gc-org-team li { color: var(--text-light); padding: 0.25rem 0 0.25rem 1rem; position: relative; font-size: 0.95rem; }
.gc-org-team li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 6px; height: 6px; border-radius: 50%; background: var(--secondary-color); }
.gc-process { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.9rem; }
.gc-process li { display: flex; align-items: center; gap: 0.8rem; background: var(--bg-dark); border: 1px solid var(--border-color); border-radius: 12px; padding: 0.9rem 1rem; color: var(--white); font-size: 0.95rem; }
.gc-process li span { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 229, 255, 0.12); color: var(--secondary-color); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.gc-process li.is-key { border-color: var(--secondary-color); box-shadow: 0 0 0 1px var(--secondary-color) inset; }
.gc-process li.is-key span { background: var(--secondary-color); color: var(--bg-dark); }

/* 라이트박스 */
.gc-lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(0, 0, 0, 0.92); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 3rem 4rem; }
.gc-lightbox[hidden] { display: none; }
.gc-lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); object-fit: contain; border-radius: 6px; }
.gc-lightbox-cap { color: #eee; margin-top: 1rem; text-align: center; font-size: 0.95rem; }
.gc-lightbox button { position: absolute; background: rgba(255, 255, 255, 0.1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.gc-lightbox button:hover { background: var(--secondary-color); color: var(--bg-dark); }
.gc-lb-close { top: 1.2rem; right: 1.2rem; }
.gc-lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.gc-lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 768px) {
    .nav-brand h1 { font-size: 1.3rem; letter-spacing: -0.5px; }
    .nav-logo { height: 28px; }
}
@media (max-width: 900px) {
    .gc-about-intro { grid-template-columns: 1fr; }
    .gc-about-visual { aspect-ratio: 16 / 10; }
    .gc-org-teams { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .page-header { padding: 7.5rem 0 3rem; }
    .gc-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
    .gc-cat-head { flex-direction: column; gap: 0.4rem; }
    .gc-cat-head h3 { font-size: 1.3rem; }
    .gc-info-row { grid-template-columns: 1fr; gap: 0.3rem; }
    .gc-logo-grid { grid-template-columns: repeat(2, 1fr); }
    .gc-org-top { flex-direction: column; gap: 1rem; }
    .gc-lightbox { padding: 3.5rem 0.5rem; }
    .gc-lb-prev, .gc-lb-next { top: auto; bottom: 1rem; transform: none; }
}
