/* History Page Styles */

/* History Section */
.history_section {
    padding: 2rem 0 4rem;
    background: #fff;
}

.history_section .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Breadcrumb Navigation */
.location {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 1px solid #e1e8ff;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
}

.loc_dep01 {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0.5rem;
}

.loc_dep01 li {
    position: relative;
}

.loc_dep01 li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: #999;
    font-weight: 600;
}

.loc_tit {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.loc_tit:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.loc_tit.arrow::after {
    content: '▼';
    margin-left: 0.5rem;
    font-size: 0.8em;
}

.loc_dep02 {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e1e8ff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 100;
    display: none;
    margin-top: 0.5rem;
}

.loc_dep01 li:hover .loc_dep02 {
    display: block;
}

.loc_dep02 li {
    margin: 0;
    padding: 0;
}

.loc_dep02 a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.loc_dep02 a:hover {
    background: #f8f9ff;
    color: #667eea;
}

.loc_dep02 .curr a {
    background: #667eea;
    color: #fff;
    font-weight: 600;
}

/* Page Header */
.header {
    margin-bottom: 2rem;
}

.tit {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

/* History Intro */
.history_intro {
    text-align: center;
    margin-bottom: 4rem;
}

.tit_page {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.tit_page_s {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.intro_visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
}

.intro_visual img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.intro_visual::before {
    content: '회사 발전 과정 이미지';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 18px;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 10px;
}

.intro_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    padding: 2rem;
}

.milestone_stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.milestone_stats.animate {
    opacity: 1;
    transform: translateY(0);
}

.milestone_item {
    text-align: center;
    color: #fff;
}

.milestone_number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.milestone_label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Section Titles */
.section_title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section_title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Timeline Section */
.timeline_section {
    margin-bottom: 5rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline_item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline_item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline_item:nth-child(odd) {
    text-align: right;
    padding-right: 50%;
}

.timeline_item:nth-child(even) {
    text-align: left;
    padding-left: 50%;
}

.timeline_year {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.timeline_content {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.timeline_content:hover {
    border-color: #667eea;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
    transform: translateY(-5px);
}

.timeline_icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.timeline_content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.timeline_content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline_content li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.timeline_content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Timeline connector dots */
.timeline_item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #667eea;
    border: 4px solid #fff;
    border-radius: 50%;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
    z-index: 2;
}

/* Achievements Section */
.achievements_section {
    margin-bottom: 5rem;
}

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

.achievement_card {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 2px solid #e1e8ff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.achievement_card.animate {
    opacity: 1;
    transform: translateY(0);
}

.achievement_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.achievement_icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.achievement_card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.achievement_card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.achievement_card li {
    color: #666;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    font-size: 0.95rem;
}

.achievement_card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Future Vision */
.future_vision {
    margin-bottom: 5rem;
}

.vision_content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 2px solid #e1e8ff;
    border-radius: 20px;
    padding: 3rem;
}

.vision_text h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.vision_text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.goal_item {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 15px;
    border: 1px solid #e1e8ff;
    transition: all 0.3s ease;
}

.goal_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

.goal_number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.goal_label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.vision_image {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    background: #f8f9ff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

.vision_image::before {
    content: '미래 비전 이미지';
    position: absolute;
    color: #999;
    font-size: 14px;
    z-index: 1;
}

/* Contact CTA */
.contact_cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
    margin-top: 3rem;
}

.contact_cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact_cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta_buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn_primary,
.btn_secondary {
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
}

.btn_primary {
    background: #fff;
    color: #667eea;
    border: 2px solid #fff;
}

.btn_primary:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px);
}

.btn_secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn_secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .history_section .inner {
        padding: 0 1.5rem;
    }
    
    .tit_page {
        font-size: 2.5rem;
    }
    
    .milestone_stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline_item {
        padding-left: 80px !important;
        text-align: left !important;
    }
    
    .timeline_item::before {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .vision_content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vision_goals {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .history_section .inner {
        padding: 0 1rem;
    }
    
    .tit_page {
        font-size: 2rem;
    }
    
    .tit_page_s {
        font-size: 1rem;
    }
    
    .intro_visual {
        height: 250px;
    }
    
    .intro_visual img {
        height: 250px;
    }
    
    .milestone_stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .milestone_number {
        font-size: 2rem;
    }
    
    .section_title {
        font-size: 2rem;
    }
    
    .timeline_item {
        padding-left: 60px !important;
    }
    
    .timeline_item::before {
        left: 20px;
    }
    
    .timeline_content {
        padding: 1.5rem;
    }
    
    .achievements_grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .achievement_card {
        padding: 2rem 1.5rem;
    }
    
    .vision_content {
        padding: 2rem 1.5rem;
    }
    
    .vision_text h4 {
        font-size: 1.5rem;
    }
    
    .contact_cta {
        padding: 2rem 1.5rem;
    }
    
    .contact_cta h3 {
        font-size: 1.5rem;
    }
    
    .cta_buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .history_section {
        padding: 1rem 0 2rem;
    }
    
    .tit_page {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .milestone_stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .milestone_item {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }
    
    .timeline_item {
        padding-left: 50px !important;
    }
    
    .timeline_item::before {
        left: 15px;
        width: 15px;
        height: 15px;
    }
    
    .timeline_content {
        padding: 1rem;
    }
    
    .timeline_content h4 {
        font-size: 1.2rem;
    }
    
    .achievement_card {
        padding: 1.5rem 1rem;
    }
    
    .vision_content {
        padding: 1.5rem 1rem;
    }
    
    .goal_item {
        padding: 1rem;
    }
    
    .goal_number {
        font-size: 1.5rem;
    }
    
    .contact_cta {
        padding: 2rem 1rem;
    }
}

/* Animation delays for staggered effect */
.timeline_item:nth-child(1) { animation-delay: 0.1s; }
.timeline_item:nth-child(2) { animation-delay: 0.2s; }
.timeline_item:nth-child(3) { animation-delay: 0.3s; }
.timeline_item:nth-child(4) { animation-delay: 0.4s; }
.timeline_item:nth-child(5) { animation-delay: 0.5s; }
.timeline_item:nth-child(6) { animation-delay: 0.6s; }
.timeline_item:nth-child(7) { animation-delay: 0.7s; }
.timeline_item:nth-child(8) { animation-delay: 0.8s; }
.timeline_item:nth-child(9) { animation-delay: 0.9s; }

.achievement_card:nth-child(1) { animation-delay: 0.1s; }
.achievement_card:nth-child(2) { animation-delay: 0.2s; }
.achievement_card:nth-child(3) { animation-delay: 0.3s; }
.achievement_card:nth-child(4) { animation-delay: 0.4s; }

