/* 투그린피오텍 메인 스타일시트 - 개선된 버전 */

/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 헤더 스타일 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 80px;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

header ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

header ul li a {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

header ul li a:hover {
    color: #2c5530;
}

header ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c5530;
    transition: width 0.3s ease;
}

header ul li a:hover::after {
    width: 100%;
}

.lang-select {
    font-size: 14px;
}

.lang-select a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
}

.lang-select a.active {
    color: #2c5530;
    font-weight: bold;
}

/* Hero 섹션 - 피롤리시스 공정 배경 */
.hero-section {
    height: 120vh; /* 데스크탑에서도 배경 이미지 조금 늘림 */
    background: linear-gradient(rgba(44, 85, 48, 0.7), rgba(44, 85, 48, 0.5)),
                url('../images/공정도사진.png') center/cover no-repeat;
    display: flex;
    align-items: flex-start; /* 상단 정렬로 변경 */
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding-top: 120px; /* 헤더 높이 80px + 여백 40px = 120px */
    box-sizing: border-box; /* 패딩을 포함한 박스 사이즈 계산 */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 150px;
}

.cta-button.primary {
    background: #2c5530;
    color: white;
    border: 2px solid #2c5530;
}

.cta-button.primary:hover {
    background: transparent;
    color: #2c5530;
    background: white;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: #2c5530;
}

/* 비전 메시지 */
.vision-message {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vision-message h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.vision-message p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 뉴스 섹션 - 카드 뉴스 스타일 */
.news-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c5530;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.news-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.card-category {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.card-category.notice {
    background: #e3f2fd;
    color: #1976d2;
}

.card-category.article {
    background: #f3e5f5;
    color: #7b1fa2;
}

.card-date {
    font-size: 12px;
    color: #666;
}

.card-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.card-source {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

/* 회사소개 섹션 - 새만금 배경 */
.about-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f0f8ff" width="1200" height="800"/><path fill="%23e6f3ff" d="M0,400 Q300,300 600,400 T1200,400 V800 H0 Z"/></svg>');
    background-size: cover;
    background-position: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2c5530;
}

.company-profile h3 {
    font-size: 2rem;
    color: #2c5530;
    margin-bottom: 20px;
    text-align: center;
}

.company-description {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

.company-info-grid {
    display: grid;
    gap: 20px;
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.info-item strong {
    color: #2c5530;
    font-size: 14px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span {
    font-size: 16px;
    color: #333;
}

/* 사업 안내 섹션 */
.business-section {
    padding: 100px 0;
    background: white;
}

.business-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2c5530;
}

.business-highlight {
    text-align: center;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 50px;
}

.business-process {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.process-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.process-item:hover {
    transform: translateY(-5px);
}

.process-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.process-item h3 {
    color: #2c5530;
    margin-bottom: 15px;
}

.process-detail {
    display: inline-block;
    background: #e8f5e8;
    color: #2c5530;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 10px;
}

.process-arrow {
    font-size: 2rem;
    color: #2c5530;
    margin: 0 20px;
}

/* 설비 정보 */
.equipment-info {
    margin: 60px 0;
}

.equipment-info h3 {
    text-align: center;
    color: #2c5530;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

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

.equipment-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.equipment-item:hover {
    border-color: #2c5530;
}

.equipment-item strong {
    display: block;
    color: #2c5530;
    margin-bottom: 10px;
    font-size: 14px;
}

.equipment-item span {
    color: #666;
    font-size: 14px;
}

/* 공정도 이미지 */
.process-images {
    margin-top: 60px;
}

.process-images h3 {
    text-align: center;
    color: #2c5530;
    margin-bottom: 40px;
    font-size: 1.8rem;
}

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

.process-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.process-card img {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.process-card img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.process-card h4 {
    padding: 20px;
    text-align: center;
    color: #2c5530;
    margin: 0;
}

/* 기술 소개 섹션 */
.technology-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.technology-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c5530;
}

.tech-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.tech-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.tech-item h3 {
    color: #2c5530;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.tech-item p {
    color: #666;
    line-height: 1.6;
}

.tech-description {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border-radius: 15px;
    border-left: 5px solid #2c5530;
}

.tech-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* 인증서 카드 */
.certification-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

/* 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .certification-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .certification-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.cert-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.cert-header {
    padding: 25px;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
}

.cert-header h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.cert-header p {
    opacity: 0.9;
    font-size: 14px;
}

.cert-image {
    padding: 20px;
}

.cert-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 기술 테이블 */
.tech-table {
    margin-top: 60px;
    text-align: center;
}

.tech-table h3 {
    color: #2c5530;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.tech-process-table {
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
}

.process-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.process-table th {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 15px 12px;
    text-align: center;
    font-weight: 600;
}

.process-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.process-table td:first-child {
    background: #f8f9fa;
    font-weight: 600;
    text-align: center;
    color: #2c5530;
}

.process-table tr:hover {
    background: #f8f9fa;
}

.tech-output {
    margin-top: 40px;
}

.tech-output h4 {
    color: #2c5530;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.output-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.output-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #2c5530;
}

.output-item strong {
    display: block;
    color: #2c5530;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.output-item span {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a7c59;
    margin-bottom: 10px;
}

.output-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .output-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .output-items {
        grid-template-columns: 1fr;
    }
    
    .process-table {
        font-size: 0.9rem;
    }
    
    .process-table th,
    .process-table td {
        padding: 8px 6px;
    }
}

/* 참고 기사 섹션 */
.article-section {
    padding: 100px 0;
    background: white;
}

.article-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c5530;
}

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

.article-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    border-left: 5px solid #2c5530;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.article-source {
    background: #2c5530;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.article-date {
    font-size: 12px;
    color: #666;
}

.article-item h3 {
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-link {
    color: #2c5530;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.article-link:hover {
    color: #1e3a22;
}

.no-articles {
    text-align: center;
    color: #666;
    font-style: italic;
    grid-column: 1 / -1;
}

/* 오시는 길 섹션 */
.contact-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c5530;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    flex: 1;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    color: #2c5530;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.contact-details {
    display: grid;
    gap: 20px;
    flex: 1;
    align-content: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-item strong {
    color: #2c5530;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item span {
    color: #333;
    font-size: 16px;
}

/* 문의하기 섹션 */
.inquiry-section {
    padding: 100px 0;
    background: white;
}

.inquiry-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2c5530;
}

.inquiry-intro {
    text-align: center;
    margin-bottom: 50px;
}

.inquiry-intro p {
    font-size: 1.1rem;
    color: #666;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c5530;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5530;
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 85, 48, 0.3);
}

/* Footer */
footer {
    background: #2c5530;
    color: white;
    padding: 50px 0;
}

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

.footer-info h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.footer-info p {
    margin-bottom: 5px;
    opacity: 0.8;
}

.footer-links a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: background 0.3s ease;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 반응형 미디어 쿼리 */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 65vh; /* 뷰포트 높이의 65%로 훨씬 크게 증가 */
        min-height: 105vh; /* 배경 이미지 높이를 더 줄임 */
        height: auto;
        align-items: flex-start;
    }
    
    .hero-content {
        margin-top: 0;
        padding-top: 0;
        transform: translateY(-120px); /* 텍스트를 훨씬 위로 올리기 */
        margin-top: -20vh; /* 추가 마진으로 더 위로 이동 */
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
        margin-top: 0;
        padding-top: 0;
    }
}

/* 작은 모바일 화면 */
@media (max-width: 480px) {
    .hero-section {
        padding-top: 70vh; /* 뷰포트 높이의 70%로 극단적으로 증가 */
        min-height: 105vh; /* 작은 모바일에서 적당히 조정 */
        height: auto;
        align-items: flex-start;
    }
    
    .hero-content {
        margin-top: 0;
        padding-top: 0;
        transform: translateY(-150px); /* 텍스트를 극단적으로 위로 올리기 */
        margin-top: -25vh; /* 추가 마진으로 훨씬 더 위로 이동 */
    }
    
    .hero-text h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-top: 0;
        padding-top: 0;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .info-row,
    .form-row,
    .contact-grid,
    .tech-intro {
        grid-template-columns: 1fr;
    }
    
    .map-container,
    .contact-info {
        min-height: 300px;
    }
    
    .map-container iframe {
        min-height: 300px;
    }
    
    .business-process {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    header ul {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .news-grid,
    .process-cards,
    .certification-cards {
        grid-template-columns: 1fr;
    }
}

/* Contact Us 섹션 추가 스타일 (영문 페이지용) */
.contact-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-container {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-container h3 {
    color: #2c5530;
    margin-bottom: 30px;
    font-size: 1.5rem;
    text-align: center;
}

.contact-info-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-container h3 {
    color: #2c5530;
    margin-bottom: 30px;
    font-size: 1.5rem;
    text-align: center;
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateX(5px);
}

.method-icon {
    font-size: 2rem;
    margin-right: 20px;
    width: 60px;
    text-align: center;
}

.method-details h4 {
    color: #2c5530;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.method-details p {
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.business-hours {
    padding: 20px;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border-radius: 10px;
    border-left: 5px solid #2c5530;
}

.business-hours h4 {
    color: #2c5530;
    margin-bottom: 10px;
}

.business-hours p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 반응형: Contact Us 그리드 */
@media (max-width: 768px) {
    .contact-us-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-container,
    .contact-info-container {
        padding: 30px 20px;
    }
}

/* 기술 사양 테이블 스타일 */
.tech-spec-table {
    margin-top: 40px;
    overflow-x: auto;
}

.specification-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.specification-table thead th {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
}

.specification-table tbody td {
    padding: 18px 15px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.specification-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.specification-table tbody tr:hover {
    background-color: #e8f5e8;
    transition: background-color 0.3s ease;
}

.specification-table tbody td strong {
    color: #2c5530;
    font-weight: 600;
}

.specification-table tbody tr:last-child td {
    border-bottom: none;
}

/* 반응형 테이블 */
@media (max-width: 768px) {
    .specification-table {
        font-size: 14px;
    }
    
    .specification-table thead th,
    .specification-table tbody td {
        padding: 12px 8px;
    }
    
    .specification-table thead th {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .tech-spec-table {
        margin: 20px -20px 0;
    }
    
    .specification-table {
        font-size: 12px;
        border-radius: 0;
    }
    
    .specification-table thead th,
    .specification-table tbody td {
        padding: 10px 6px;
    }
}

/* 뉴스 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 30px 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-close {
    color: #999;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    padding: 5px;
}

.modal-close:hover {
    color: #333;
}

.modal-category-badge {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.modal-category-badge.notice {
    background: #e3f2fd;
    color: #1976d2;
}

.modal-category-badge.article {
    background: #f3e5f5;
    color: #7b1fa2;
}

.modal-body {
    padding: 20px 30px 30px;
}

.modal-title {
    font-size: 1.8rem;
    color: #2c5530;
    margin-bottom: 15px;
    line-height: 1.4;
}

.modal-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #666;
}

.modal-date {
    font-weight: 500;
}

.modal-source {
    color: #2c5530;
    font-weight: 600;
}

.modal-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
    white-space: pre-line;
}

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

.modal-link {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 85, 48, 0.3);
}

/* 반응형 모달 */
@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        max-height: 85vh;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
    
    .modal-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        border-radius: 15px;
        margin: 0;
    }
    
    .modal-header,
    .modal-body {
        padding: 15px;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .modal-text {
        font-size: 14px;
    }
}

/* 이미지 라이트박스 스타일 */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox.show .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-title {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    user-select: none;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

/* 반응형 라이트박스 */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
        width: 45px;
        height: 45px;
    }
    
    .lightbox-title {
        bottom: 10px;
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .lightbox-nav {
        font-size: 24px;
        width: 45px;
        height: 45px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .lightbox {
        padding: 10px;
    }
    
    .lightbox-close {
        top: 5px;
        right: 5px;
        font-size: 24px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-title {
        bottom: 5px;
        font-size: 12px;
        padding: 6px 12px;
    }
}



/* 참고기사 게시판 스타일 */
.page-header {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.articles-list {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.articles-board {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.board-header {
    padding: 20px 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.total-count {
    font-size: 14px;
    color: #666;
}

.board-table {
    overflow-x: auto;
}

.board-table table {
    width: 100%;
    border-collapse: collapse;
}

.board-table th {
    background: #2c5530;
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.board-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.col-no {
    width: 80px;
    text-align: center;
}

.col-title {
    text-align: left;
}

.col-source {
    width: 150px;
    text-align: center;
}

.col-date {
    width: 140px;
    text-align: center;
    white-space: nowrap;
}

.article-row:hover {
    background: #f8f9fa;
}

.article-title {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.article-title:hover {
    color: #2c5530;
    text-decoration: underline;
}

/* 페이징 스타일 */
.pagination {
    padding: 30px;
    text-align: center;
    border-top: 1px solid #eee;
}

.page-btn {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: #2c5530;
    color: white;
    border-color: #2c5530;
}

.page-btn.active {
    background: #2c5530;
    color: white;
    border-color: #2c5530;
}

.no-articles {
    padding: 80px 20px;
    text-align: center;
    color: #666;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .board-header {
        padding: 15px 20px;
    }
    
    .board-table th,
    .board-table td {
        padding: 10px 8px;
        font-size: 13px;
    }
    
    .col-source,
    .col-date {
        display: none;
    }
    
    .col-no {
        width: 60px;
    }
    
    .pagination {
        padding: 20px;
    }
    
    .page-btn {
        padding: 6px 8px;
        font-size: 12px;
        margin: 0 1px;
    }
}

/* active 메뉴 스타일 */
header ul li a.active {
    color: #2c5530;
    font-weight: bold;
}

header ul li a.active::after {
    width: 100%;
}

/* 파일 업로드 스타일 */
.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.file-upload-area:hover {
    border-color: #2c5530;
    background: #f0f4f0;
}

.file-upload-area.drag-over {
    border-color: #2c5530;
    background: #e8f5e8;
}

.file-upload-text {
    color: #666;
}

.file-upload-text span {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.file-upload-text small {
    font-size: 12px;
    color: #999;
}

.selected-files {
    margin-top: 15px;
    text-align: left;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: white;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 5px;
}

.file-item .file-name {
    font-size: 14px;
    color: #333;
    flex: 1;
    margin-right: 10px;
}

.file-item .file-size {
    font-size: 12px;
    color: #666;
    margin-right: 10px;
}

.file-item .file-remove {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 12px;
    cursor: pointer;
}

.file-item .file-remove:hover {
    background: #c82333;
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .file-upload-area {
        padding: 20px;
    }
    
    .file-upload-text span {
        font-size: 14px;
    }
    
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .file-item .file-remove {
        align-self: flex-end;
    }
}

/* 언어 선택 모바일 개선 */
@media (max-width: 768px) {
    .lang-select {
        position: fixed;
        top: 85px;
        right: 20px;
        background: white;
        padding: 8px 12px;
        border-radius: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        font-size: 12px;
    }
    
    .lang-select a {
        color: #666;
        text-decoration: none;
        margin: 0 3px;
        font-weight: 500;
    }
    
    .lang-select a.active {
        color: #2c5530;
        font-weight: bold;
    }
    
    /* 모바일 메뉴가 열렸을 때 언어 선택도 함께 표시 */
    header nav.mobile-open .lang-select {
        position: static;
        background: transparent;
        box-shadow: none;
        margin-top: 15px;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 15px;
    }
    
    header nav.mobile-open .lang-select a {
        color: white;
    }
    
    header nav.mobile-open .lang-select a.active {
        color: #8bc34a;
    }
}

/* Contact Us 그리드 개선 */
.contact-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .contact-us-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.contact-form-container,
.contact-info-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info .info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-info .info-item strong {
    color: #2c5530;
    font-size: 14px;
    font-weight: 600;
}

.contact-info .info-item span {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* 기술 사양 테이블 스타일 - 원본 이미지와 동일하게 */
.tech-spec-table {
    border: 2px solid #2c5530;
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

.tech-spec-table th,
.tech-spec-table td {
    border: 1px solid #2c5530;
    padding: 12px 15px;
    vertical-align: top;
    line-height: 1.6;
    text-align: left;
}

/* 첫 번째 행 (헤더) - 색깔 배경 */
.tech-spec-table th {
    background: #e8f5e8;
    font-weight: 600;
    color: #2c5530;
}

/* 나머지 행 (데이터) - 흰색 배경 */
.tech-spec-table td {
    background: white;
    color: #333;
}

/* 표의 전체 레이아웃 조정 */
.tech-process-table {
    max-width: 100%;
    overflow-x: auto;
}

/* 반응형 - 모바일에서는 세로 배치 */
@media (max-width: 768px) {
    .tech-spec-table {
        font-size: 14px;
    }
    
    .tech-spec-table th,
    .tech-spec-table td {
        padding: 8px 10px;
    }
}
