body {
    background-color: #f5f5f5;
    overflow-y: auto;
}

.page-container {
    max-width: 1200px;
    margin: 100px auto 2rem;
    padding: 0 2rem;
}

h1 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #007bff;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.year {
    background-color: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    margin: 0 2rem;
    min-width: 100px;
    text-align: center;
}

.content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 300px;
}

.content h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.content p {
    color: #666;
    line-height: 1.6;
}

.nav-links a.active {
    color: #007bff;
    font-weight: bold;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }

    .year {
        margin: 0 0 1rem 0;
    }

    .content {
        width: 100%;
    }
}

/* 조직도 스타일 */
.org-chart {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.org-level:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 1rem;
    background-color: #007bff;
}

.org-box {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    min-width: 200px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s;
}

.org-box:hover {
    transform: translateY(-5px);
}

.org-box.ceo {
    background-color: #007bff;
    color: white;
}

.org-box h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.org-box p {
    color: inherit;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .org-level {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .org-box {
        width: 100%;
        max-width: 300px;
    }
}

/* 기업이념 스타일 */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.philosophy-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: all 0.5s ease;
}

.philosophy-item::before {
    content: "";
    background: conic-gradient(
        from 0deg at 50% 50%,
        #0066ff 0deg,
        #00ff00 72deg,
        #ff0099 144deg,
        #0066ff 216deg,
        #00ff00 288deg,
        #ff0099 360deg
    );
    position: absolute;
    inset: -5px;
    border-radius: 25px;
    z-index: -2;
    animation: rotate 5s linear infinite;
}

.philosophy-item::after {
    content: "";
    background: #1a1a1a;
    position: absolute;
    inset: 2px;
    border-radius: 18px;
    z-index: -1;
}

.philosophy-item .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.philosophy-item h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.philosophy-item p {
    color: #ccc;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.philosophy-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.philosophy-item:hover::before {
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

/* 기업이념 페이지 배경 */
.philosophy-page {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    min-height: 100vh;
}

.philosophy-page h1 {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
} 