/* HANGCHA 지게차 페이지 스타일 */

/* 공통 타이틀 스타일 */
.hangcha-title {
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.hangcha-title .point-color {
    display: block;
    font-size: 18px;
    margin-bottom: 15px;
    color: #3AAA35; /* HANGCHA 브랜드 그린 컬러 */
}

.hangcha-title h3 {
    font-size: 32px;
    line-height: 1.4;
}

/* HANGCHA 소개 섹션 */
.hangcha-intro {
    margin-bottom: 80px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.hangcha-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.2s;
}

/* 장점 그리드 섹션 */
.hangcha-advantages {
    margin-bottom: 100px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3AAA35; /* HANGCHA 브랜드 그린 */
    border-radius: 50%;
    padding: 15px;
}

.advantage-icon img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1); /* 아이콘을 흰색으로 변경 */
}

.advantage-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #3AAA35; /* HANGCHA 브랜드 그린 */
}

.advantage-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.advantage-item:nth-child(1) { animation-delay: 0.1s; }
.advantage-item:nth-child(2) { animation-delay: 0.2s; }
.advantage-item:nth-child(3) { animation-delay: 0.3s; }
.advantage-item:nth-child(4) { animation-delay: 0.4s; }
.advantage-item:nth-child(5) { animation-delay: 0.5s; }
.advantage-item:nth-child(6) { animation-delay: 0.6s; }

/* 효율성 섹션 */
.hangcha-efficiency {
    margin-bottom: 100px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.3s;
}

.efficiency-content {
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.efficiency-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.battery-options h4 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #3AAA35;
}

.battery-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.battery-table th, .battery-table td {
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.battery-table th {
    background-color: #f0f0f0;
    font-weight: 600;
    color: #333;
}

/* 안전성 섹션 */
.hangcha-safety {
    margin-bottom: 100px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.3s;
}

.safety-tests {
    display: flex;
    gap: 30px;
}

.test-item {
    flex: 1;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.test-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.test-image {
    height: 200px;
    overflow: hidden;
}

.test-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.test-item h4 {
    font-size: 20px;
    padding: 20px 20px 10px;
    color: #3AAA35;
}

.test-item p {
    padding: 0 20px 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* 성능 비교 섹션 */
.hangcha-performance {
    margin-bottom: 100px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.3s;
}

.performance-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.chart-container {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.chart-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.performance-features {
    flex: 1;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.performance-features h4 {
    font-size: 20px;
    margin-bottom: 15px;
    margin-top: 25px;
    color: #3AAA35;
}

.performance-features h4:first-child {
    margin-top: 0;
}

.performance-features ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.performance-features ul ul {
    margin-top: 10px;
    margin-bottom: 10px;
}

.performance-features li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.performance-features strong {
    color: #333;
    font-weight: 600;
}

/* TCO 분석 섹션 */
.hangcha-tco {
    margin-bottom: 100px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.3s;
}

.tco-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.tco-features {
    flex: 1;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tco-features h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #3AAA35;
}

.tco-features ul {
    padding-left: 20px;
}

.tco-features li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 배터리 사이클 섹션 */
.hangcha-battery-cycle {
    margin-bottom: 100px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.3s;
}

.cycle-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.cycle-chart {
    flex: 1;
    border-radius: 10px;
    padding-top: 20px;
    overflow: hidden;
}

.cycle-chart img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.cycle-info {
    flex: 1;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cycle-info h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #3AAA35;
}

.cycle-info p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #555;
}

.cycle-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.feature-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #3AAA35;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 16px;
}

.feature-desc h5 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.feature-desc p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: #555;
}


.battery-lifespan {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}  

.battery-lifespan h4 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #3AAA35;
}

.battery-lifespan ul {
    padding-left: 20px;
}

.battery-lifespan li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 페이드인 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 디자인 */
@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .safety-tests,
    .performance-content,
    .tco-content,
    .cycle-content {
        flex-direction: column;
    }
    
    .chart-container,
    .performance-features,
    .tco-features,
    .cycle-chart,
    .cycle-info {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .hangcha-title h3 {
        font-size: 26px;
    }
    
    .feature-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
