/* 기본 스타일 */
:root {
    --primary-color: #0066cc;
    --secondary-color: #004a99;
    --accent-color: #3b82f6;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --text-light: #999;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
}

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

/* 헤더 */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

/* 관리자 버튼 */
.admin-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
}

.admin-btn:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.7);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.admin-btn i {
    animation: adminPulse 2s infinite;
}

@keyframes adminPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.navbar {
    padding: 1.2rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: -3px;
}

.since {
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-left: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* 페이지 헤더 */
.page-header {
    margin-top: 70px;
    padding: 4rem 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* 히어로 슬라이더 */
.hero-slider {
    margin-top: 70px;
    height: 500px;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/automation-machine.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.slide-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.slide-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* 섹션 */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 3rem;
}

/* 제품 카테고리 그리드 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-image .image-placeholder {
    width: 100%;
    height: 200px;
    background: var(--bg-light);
}

.category-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.category-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-gray);
}

/* 서비스 그리드 */
.services-section {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* 산업별 적용 */
.industry-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.industry-item {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.industry-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.industry-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.industry-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* CTA 섹션 */
.cta-section {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 품질관리 페이지 스타일 */
.quality-policy {
    padding: 4rem 0;
    background: var(--bg-light);
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.policy-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.policy-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.policy-icon i {
    font-size: 3rem;
}

.policy-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.policy-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* 품질 프로세스 */
.quality-process {
    padding: 4rem 0;
    background: white;
}

.process-flow {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.process-row-1 {
    margin-bottom: 0;
}

.process-row-2 {
    margin-top: 1rem;
}

.process-flow-divider {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.arrow-down {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.process-step {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    background: var(--bg-light);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border-top: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.step-content p {
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.step-content ul {
    list-style: none;
    padding: 0;
}

.step-content ul li {
    padding: 0.4rem 0;
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.step-content ul li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    align-self: center;
    padding: 0 0.5rem;
    flex-shrink: 0;
}

/* 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .process-flow {
        flex-wrap: wrap;
    }
    
    .process-step {
        min-width: 200px;
        max-width: 250px;
    }
    
    .process-arrow {
        display: none;
    }
    
    .process-flow-divider {
        display: none;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .process-flow {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        max-width: 100%;
        width: 100%;
    }
    
    .process-arrow {
        display: block;
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}

/* 검사 기준 및 장비 */
.inspection-standards {
    padding: 4rem 0;
    background: var(--bg-light);
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.standard-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.standard-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.standard-card ul {
    list-style: none;
    padding: 0;
}

.standard-card ul li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-gray);
    line-height: 1.6;
}

.standard-card ul li:last-child {
    border-bottom: none;
}

.standard-card ul li strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* 리드타임 안내 */
.lead-time {
    padding: 4rem 0;
    background: white;
}

.leadtime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.leadtime-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--text-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leadtime-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.leadtime-card.highlight {
    border-top-color: var(--primary-color);
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.leadtime-card.urgent {
    border-top-color: #dc3545;
    background: linear-gradient(135deg, #ffe5e5 0%, #ffd6d6 100%);
}

.leadtime-type {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.leadtime-duration {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.leadtime-card.urgent .leadtime-duration {
    color: #dc3545;
}

.leadtime-detail p {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.leadtime-detail ul {
    list-style: none;
    padding-left: 1rem;
}

.leadtime-detail ul li {
    padding: 0.3rem 0;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.leadtime-detail .note {
    margin-top: 1rem;
    padding: 0.8rem;
    background: white;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #666;
    border-left: 3px solid var(--primary-color);
}

.leadtime-factors {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.leadtime-factors h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.factor-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.factor-item strong {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.factor-item ul {
    list-style: none;
    padding-left: 1rem;
}

.factor-item ul li {
    padding: 0.4rem 0;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* 인증 및 품질 보증 */
.certifications {
    padding: 4rem 0;
    background: var(--bg-light);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cert-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.cert-logo {
    margin-bottom: 1.5rem;
}

.cert-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: var(--bg-light);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cert-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cert-card > p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.cert-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.cert-card ul li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.cert-card ul li:last-child {
    border-bottom: none;
}

/* 품질 보증 정책 */
.quality-guarantee {
    padding: 4rem 0;
    background: white;
}

.guarantee-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guarantee-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.guarantee-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.guarantee-card p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.guarantee-card ul,
.guarantee-card ol {
    padding-left: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.guarantee-card ul li,
.guarantee-card ol li {
    margin-bottom: 0.5rem;
}

.guarantee-card strong {
    color: var(--text-dark);
}

/* 품질 보증 정책 */
.quality-guarantee {
    padding: 4rem 0;
    background: white;
}

.guarantee-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guarantee-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.guarantee-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.guarantee-card p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.guarantee-card ul,
.guarantee-card ol {
    padding-left: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.guarantee-card ul li,
.guarantee-card ol li {
    margin-bottom: 0.5rem;
}

.guarantee-card strong {
    color: var(--text-dark);
}

/* 오시는길 페이지 스타일 */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.info-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

.map-container {
    margin: 2rem 0;
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.direction-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.direction-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.direction-card ul {
    list-style: none;
    padding: 0;
}

.direction-card ul li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color);
}

.direction-card ul li:last-child {
    border-bottom: none;
}

/* 오시는길 페이지 스타일 */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.info-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

.map-container {
    margin: 2rem 0;
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.direction-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.direction-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.direction-card ul {
    list-style: none;
    padding: 0;
}

.direction-card ul li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color);
}

.direction-card ul li:last-child {
    border-bottom: none;
}

/* 조직도 스타일 */
.org-chart-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.org-chart-image-container {
    text-align: center;
    margin-top: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.org-chart-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 반응형 */
@media (max-width: 768px) {
    .org-chart-image-container {
        padding: 1rem;
    }
}

/* 조직도 스타일 */
.org-chart-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.org-chart-image-container {
    text-align: center;
    margin-top: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.org-chart-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 반응형 */
@media (max-width: 768px) {
    .org-chart-image-container {
        padding: 1rem;
    }
}

/* 품질목표 스타일 */
.quality-goals-section {
    padding: 4rem 0;
    background: white;
}

.quality-goals-image-container {
    text-align: center;
    margin: 2rem 0;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.quality-goals-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.quality-goals-text {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.goal-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goal-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.goal-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.goal-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.goal-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* 대응방안 스타일 - 완전 새로운 디자인 */
.response-strategy-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* 중앙 다이어그램 */
.value-diagram {
    position: relative;
    max-width: 1100px;
    margin: 3rem auto;
    padding: 3rem;
}

.value-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.center-circle {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #0066cc 0%, #004a99 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0,102,204,0.3);
    border: 4px solid white;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
    font-family: 'Arial Black', sans-serif;
}

.company-slogan {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    margin-top: 0.3rem;
    font-weight: 500;
}

/* 4개 가치 아이템 */
.value-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 0;
}

.value-item {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0066cc, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0,102,204,0.15);
    border-color: #0066cc;
}

.value-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0066cc 0%, #3b82f6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Arial', sans-serif;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    color: var(--primary-color);
}

.value-icon i {
    font-size: 3rem;
}

.value-price .value-icon { color: #28a745; }
.value-quality .value-icon { color: #ffc107; }
.value-development .value-icon { color: #17a2b8; }
.value-delivery .value-icon { color: #6f42c1; }

.value-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
}

.value-desc {
    margin-top: 1rem;
}

.value-main {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.value-sub {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* 아이콘 색상 - 이미 위에서 정의함 */

/* 블루텍의 약속 */
.value-commitment {
    margin-top: 4rem;
    text-align: center;
}

.commitment-box {
    background: linear-gradient(135deg, #0066cc 0%, #004a99 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,102,204,0.2);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.commitment-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.commitment-box i {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
}

.commitment-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.commitment-box p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* 반응형 */
@media (max-width: 992px) {
    .value-items {
        grid-template-columns: 1fr;
    }
    
    .value-center {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto 3rem;
        text-align: center;
    }
    
    .value-diagram {
        padding: 2rem 1rem;
    }
}

@media (max-width: 768px) {
    .center-circle {
        width: 150px;
        height: 150px;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
    
    .value-item {
        padding: 2rem;
    }
    
    .value-item h3 {
        font-size: 1.3rem;
    }
    
    .value-main {
        font-size: 1rem;
    }
    
    .commitment-box {
        padding: 2rem;
    }
    
    .commitment-box h3 {
        font-size: 1.5rem;
    }
    
    .commitment-box p {
        font-size: 1rem;
    }
}

/* 버튼 */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

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

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* 회사소개 */
.intro-content {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.intro-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-icon i {
    font-size: 3rem;
    display: inline-block;
}

.feature-icon img {
    width: 3rem;
    height: 3rem;
    display: inline-block;
    object-fit: contain;
}

.feature-icon-image img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(2831%) hue-rotate(201deg) brightness(98%) contrast(101%);
}

.feature-box h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-box p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* 연혁 */
.history-section {
    background: var(--bg-light);
}

.history-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.history-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.history-item:last-child {
    border-bottom: none;
}

.history-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 100px;
}

.history-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.history-content p {
    color: var(--text-gray);
}

/* 생산 능력 */
.production-capacity {
    background: var(--bg-white);
}

/* 생산 능력 이미지 */
.production-image-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.production-image {
    width: 100%;
    height: auto;
    display: block;
}

.capacity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.capacity-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.capacity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: white;
}

.capacity-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.capacity-icon i {
    font-size: 3rem;
    display: inline-block;
}

.capacity-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.capacity-detail p {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.capacity-detail p strong {
    color: var(--text-dark);
    font-size: 1rem;
}

.capacity-features {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.capacity-features h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.feature-list {
    max-width: 800px;
    margin: 0 auto;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-row i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-row span {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.feature-row strong {
    color: var(--primary-color);
}

/* 인증 */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cert-placeholder {
    height: 150px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-gray);
}

/* 주요 고객사 */
.clients-section {
    background: var(--bg-light);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.client-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.client-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.client-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.client-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* 제품 페이지 */
.product-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.product-tab {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.product-tab:hover,
.product-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image-placeholder {
    width: 100%;
    height: 200px;
    background: var(--bg-light);
}

.product-info {
    padding: 1.5rem;
}

.product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.product-specs {
    list-style: none;
    margin-bottom: 1rem;
}

.product-specs li {
    padding: 0.3rem 0;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.product-specs li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
}

/* 맞춤 제작 */
.custom-order {
    background: var(--bg-light);
}

.custom-order-content {
    text-align: center;
    padding: 3rem 0;
}

.custom-order-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.custom-order-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* 문의 페이지 */
.inquiry-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.inquiry-tab {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.inquiry-tab:hover,
.inquiry-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.inquiry-form-wrapper {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.inquiry-form-wrapper.active {
    display: block;
}

.inquiry-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.inquiry-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.required {
    color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: 'Noto Sans KR', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

/* 문의 절차 */
.inquiry-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
}

.step-item {
    text-align: center;
    flex: 1;
    max-width: 200px;
}

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

.step-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-item p {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--text-gray);
}

.inquiry-notice {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.inquiry-notice h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.inquiry-notice ul {
    list-style: none;
}

.inquiry-notice li {
    padding: 0.5rem 0;
    color: var(--text-gray);
}

.inquiry-notice li:before {
    content: "• ";
    color: var(--primary-color);
    font-weight: bold;
}

/* 연락처 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.contact-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item span {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* 컷팅 페이지 */
.cutting-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.cutting-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cutting-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,102,204,0.15);
}

.cutting-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052a3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(0,102,204,0.3);
}

.cutting-icon i {
    font-size: 2.5rem;
    color: white;
}

.cutting-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.cutting-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* 포트폴리오 섹션 */
.portfolio-section {
    margin-top: 5rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* 메인 페이지 포트폴리오 그리드 (4열, 12개 고정) */
#portfolioGrid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
    max-height: none !important;
    overflow: visible !important;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f8f9fa;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,102,204,0.2);
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* 라이트박스 */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.98);
    animation: fadeIn 0.2s;
    overflow: hidden;
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(255,255,255,0.1);
    animation: zoomIn 0.3s;
}

.lightbox-close {
    position: fixed;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100000;
    background: rgba(0,0,0,0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
    padding: 0;
}

.lightbox-close:hover {
    background: rgba(220,53,69,0.9);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem 2rem;
    background: rgba(0,0,0,0.8);
    border-radius: 30px;
    max-width: 80%;
    backdrop-filter: blur(10px);
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: all 0.3s;
    border: none;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0,102,204,0.9);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* 모바일 라이트박스 최적화 */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 100vw;
        max-height: 100vh;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 40px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-caption {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        bottom: 20px;
        max-width: 90%;
    }
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes zoomIn {
    from {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* 스펙 섹션 */
.spec-section {
    margin-top: 3rem;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.spec-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.spec-item h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.spec-item h4 i {
    margin-right: 0.5rem;
}

.spec-item p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* 자료실 */
.resource-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.resource-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.resource-item i {
    font-size: 4rem;
    color: #dc2626;
    margin-bottom: 1rem;
}

.resource-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.resource-item p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* 푸터 */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.footer-desc {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-slogan {
    color: #d1d5db;
    font-size: 0.85rem;
    font-style: italic;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #d1d5db;
    font-size: 0.9rem;
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.85rem;
}

.copyright-notice {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.5;
}

/* ========================================
   반응형 디자인 - 모바일 최적화
======================================== */

/* 태블릿 (1024px 이하) */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .category-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .services-grid,
    .features-grid,
    .cutting-grid,
    .spec-grid,
    .clients-grid,
    .capacity-grid,
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    /* 메인 페이지 포트폴리오는 태블릿에서도 3열 유지 */
    #portfolioGrid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* 모바일 (768px 이하) */
@media (max-width: 768px) {
    /* 네비게이션 */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
    }

    .nav-menu li {
        padding: 1.2rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* 로고 크기 조정 */
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .logo-sub {
        font-size: 0.75rem;
    }

    /* 히어로 슬라이더 - 모바일도 동일하게 */
    .hero-slider {
        height: 400px;
    }

    .slide-content h2 {
        font-size: 2rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .slide-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    /* 모든 그리드 1열로 */
    .category-grid,
    .products-grid,
    .services-grid,
    .industry-list,
    .features-grid,
    .contact-grid,
    .cutting-grid,
    .spec-grid,
    .clients-grid,
    .capacity-grid,
    .resource-list,
    .footer-content,
    .contact-info-grid,
    .directions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 포트폴리오는 2열로 */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* 메인 페이지 포트폴리오는 모바일에서도 2열 유지 */
    #portfolioGrid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .portfolio-item img {
        height: 150px;
    }

    /* 폼 레이아웃 */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* 문의 단계 */
    .inquiry-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    /* 섹션 패딩 조정 */
    .section {
        padding: 3rem 0;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    /* 버튼 크기 조정 */
    .btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    /* 테이블 반응형 */
    .data-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .data-table table {
        min-width: 800px;
    }
    
    /* 카드 패딩 조정 */
    .service-item,
    .feature-card,
    .client-item,
    .capacity-card,
    .info-card,
    .direction-card {
        padding: 1.5rem;
    }
    
    /* 아이콘 크기 조정 및 강조 */
    .service-icon i,
    .client-icon i,
    .capacity-icon i,
    .feature-icon i,
    .info-card i {
        font-size: 2.5rem !important;
        color: var(--primary-color) !important;
        display: block;
    }
    
    /* 420mm 강조 박스 */
    .size-highlight {
        padding: 1.5rem 1rem !important;
    }
    
    .size-highlight h3 {
        font-size: 1.5rem !important;
    }
    
    .size-highlight p {
        font-size: 1rem !important;
    }
    
    /* 품질 프로세스 */
    .process-grid {
        gap: 1rem;
    }
    
    /* 조직도 이미지 */
    .org-chart-image {
        width: 100%;
        height: auto;
    }
    
    /* CTA 섹션 */
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* 소형 모바일 (480px 이하) */
@media (max-width: 480px) {
    /* 컨테이너 패딩 더 줄이기 */
    .container {
        padding: 0 15px;
    }
    
    /* 섹션 패딩 */
    .section {
        padding: 2.5rem 0;
    }

    /* 페이지 헤더 */
    .page-header {
        padding: 5rem 0 2.5rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    /* 섹션 타이틀 */
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }

    /* 히어로 슬라이더 */
    .hero-slider {
        height: 300px;
    }

    .slide-content h2 {
        font-size: 1.3rem;
    }
    
    .slide-content p {
        font-size: 0.85rem;
    }

    /* 로고 */
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo-sub {
        font-size: 0.7rem;
    }

    /* 버튼 */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    /* 카드 패딩 더 줄이기 */
    .service-item,
    .feature-card,
    .client-item,
    .capacity-card,
    .info-card,
    .direction-card {
        padding: 1.2rem;
    }

    /* 아이콘 크기 조정 */
    .service-icon,
    .client-icon,
    .info-card i {
        font-size: 2rem !important;
    }

    /* 폼 입력 필드 */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        padding: 0.8rem;
        font-size: 1rem;
    }

    /* 푸터 */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }

    /* 420mm 강조 박스 */
    .size-highlight {
        padding: 1rem 0.8rem !important;
    }
    
    .size-highlight i {
        font-size: 2rem !important;
    }
    
    .size-highlight h3 {
        font-size: 1.3rem !important;
    }
    
    .size-highlight p {
        font-size: 0.9rem !important;
    }

    /* 관리자 페이지 */
    .admin-header h1 {
        font-size: 1.4rem;
    }
    
    .tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-btn {
        width: 100%;
        padding: 0.8rem;
    }
    
    .filter-bar {
        flex-direction: column;
    }
    
    .filter-bar select,
    .filter-bar input {
        width: 100%;
    }

    /* 테이블 스크롤 힌트 */
    .data-table::after {
        content: '← 좌우로 스크롤하세요 →';
        display: block;
        text-align: center;
        padding: 0.5rem;
        background: #f8f9fa;
        color: #666;
        font-size: 0.85rem;
    }
}
