/**
 * 회사소개 페이지 CSS 스타일
 */

/* 섹션 타이틀 스타일 */
.section-title-center {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title-center::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
}

.section-title-left {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
}

.section-title-light {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title-light::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
}

/* Hero Section */
.about-hero {
    position: relative;
    height: 400px;
    margin-top: 70px;
    overflow: hidden;
}

.about-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    z-index: 0;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    color: white;
    text-align: center;
}

.about-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.about-hero-content p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.element-1 {
    width: 150px;
    height: 150px;
    top: -50px;
    right: 10%;
    animation: float-1 8s ease-in-out infinite;
}

.element-2 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 5%;
    animation: float-2 6s ease-in-out infinite;
}

.element-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: -50px;
    animation: float-3 10s ease-in-out infinite;
}

@keyframes float-1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

@keyframes float-2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, -15px); }
}

@keyframes float-3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 10px); }
}

/* Brand Identity Section */
.brand-identity {
    padding: 80px 0;
    background-color: white;
}

.brand-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.brand-text {
    flex: 1;
}

.brand-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

.brand-visual {
    flex: 1;
}

.color-blocks {
    display: flex;
    gap: 30px;
}

.color-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.color-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.color-block.block-main {
    border-top: 5px solid var(--primary);
}

.color-sample {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.color-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

.color-info p {
    color: var(--gray);
    font-family: monospace;
    font-size: 1rem;
}

/* Vision & Mission Section */
.vision-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.vision-item {
    display: flex;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.vision-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.vision-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 2rem;
}

.vision-text {
    padding: 25px;
}

.vision-text p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

/* Company Info Section */
.company-info {
    padding: 80px 0;
    background-color: white;
}

.info-table-container {
    max-width: 800px;
    margin: 0 auto;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    overflow: hidden;
}

.info-table tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table tr:hover {
    background-color: rgba(231, 40, 85, 0.03);
}

.info-table th, .info-table td {
    padding: 20px;
    text-align: left;
}

.info-table th {
    background-color: #f9f9f9;
    color: var(--secondary);
    font-weight: 600;
    width: 30%;
}

.info-table td {
    color: var(--gray);
}

/* Core Values Section */
.core-values-section {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.core-values-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

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

.value-card-about {
    background-color: transparent;
    width: 100%;
    height: 280px;
    perspective: 1000px;
}

.value-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.value-card-about:hover .value-card-inner {
    transform: rotateY(180deg);
}

.value-card-inner.touched {
    transform: rotateY(180deg);
}

.value-card-front, .value-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-card-front {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.value-card-back {
    background-color: white;
    color: var(--gray);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.value-card-back p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.value-icon-large {
    width: 80px;
    height: 80px;
    background-color: rgba(231, 40, 85, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 2rem;
}

.value-card-front h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.value-card-front h4 {
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 500;
}

/* About Stats Section */
.about-stats-section {
    padding: 80px 0;
    background-color: white;
}

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

.about-stat-item {
    background-color: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 5px solid transparent;
}

.about-stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary);
}

.about-stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.about-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
    line-height: 1;
}

.about-stat-number span {
    font-size: 1.5rem;
    margin-left: 5px;
}

.about-stat-text {
    color: var(--gray);
    font-size: 1.2rem;
}

/* History Section */
.history-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.history-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 4px;
}

.history-year {
    position: relative;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
}

.history-year.animated {
    opacity: 1;
    transform: translateX(0);
}

.history-year:last-child {
    margin-bottom: 0;
}

.year-label {
    position: relative;
    background-color: var(--primary);
    color: white;
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-left: 20px;
    margin-bottom: 15px;
}

.year-label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -26px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--primary);
}

.year-events {
    margin-left: 20px;
}

.event-item {
    background-color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.event-item:last-child {
    margin-bottom: 0;
}

.event-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* 반응형 조정 */
@media (max-width: 992px) {
    .brand-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-hero {
        height: 350px;
    }
    
    .about-hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title-left, 
    .section-title-center, 
    .section-title-light {
        font-size: 2.2rem;
    }
    
    .about-stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 300px;
    }
    
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-hero-content p {
        font-size: 1.2rem;
    }
    
    .section-title-left, 
    .section-title-center, 
    .section-title-light {
        font-size: 2rem;
    }
    
    .values-cards {
        grid-template-columns: 1fr;
    }
    
    .info-table th, .info-table td {
        padding: 15px;
    }
    
    .info-table th {
        width: 40%;
    }
    
    .brand-description {
        font-size: 1rem;
    }
    
    .vision-text p {
        font-size: 1rem;
    }
    
    .value-card-back p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .about-hero {
        height: 250px;
    }
    
    .about-hero-content h1 {
        font-size: 2rem;
    }
    
    .about-hero-content p {
        font-size: 1rem;
    }
    
    .section-title-left, 
    .section-title-center, 
    .section-title-light {
        font-size: 1.8rem;
    }
    
    .color-blocks {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-stat-number {
        font-size: 2rem;
    }
    
    .about-stat-number span {
        font-size: 1.2rem;
    }
    
    .about-stat-text {
        font-size: 1rem;
    }
    
    .value-card-about {
        height: 250px;
    }
    
    .value-icon-large {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .vision-icon {
        min-width: 80px;
        font-size: 1.5rem;
    }
    
    .year-label {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .event-item {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}