/* ===== About Us 섹션 CSS ===== */
.about-bg{
    background-image:
            linear-gradient(rgba(0,0,0,0.40), rgba(0,0,0,0.40)),url('/assets/img/background/aboutus_1.jpg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}
.about-section {
    padding: 80px 60px;
    max-width: 1800px;
    margin: 0 auto;
}
/* ===== CEO 메시지 스타일 ===== */
.ceo-message {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(18, 18, 26, 0.5) 100%);
    border: 1px solid rgba(51, 153, 209, 0.1);
    border-radius: 20px;
    padding: 60px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.ceo-message:hover {
    border-color: rgba(51, 153, 209, 0.3);
    box-shadow: 0 20px 60px rgba(51, 153, 209, 0.1);
    transform: translateY(-4px);
}
.ceo-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(51, 153, 209, 0.1);
}
.ceo-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.ceo-title {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
}
.ceo-content {
    margin-bottom: 40px;
}
.ceo-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.ceo-content p:last-child {
    margin-bottom: 0;
}

/* ===== 회사정보 그리드 ===== */
.company-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid rgba(51, 153, 209, 0.1);
}
.info-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.info-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.info-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== 연혁(History) 스타일 ===== */
.history-section {
    padding: 100px 60px;
}
.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    padding: 40px 0;
}
.history-timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
}
.history-item {
    position: relative;
    padding-left: 200px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.history-item::before {
    content: attr(data-badge);
    position: absolute;
    left: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid var(--primary);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    line-height: 1.2;
    padding: 10px;
    box-sizing: border-box;
    /*transition: transform 0.3s ease;*/
}
.history-item:hover {
    background-color: rgba(0,0,0,0.02);
}
.history-item:hover::before {
    box-shadow: 0 0 0 8px rgba(51, 153, 209, 0.1);
    transform: scale(1.05);
}
.history-item.no-marker::before {
    display: none !important;
    content: none !important;
}
.history-year {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 20px;
    font-family: 'Sora', sans-serif;
}
.history-events {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
            max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.5s ease,
            margin-top 0.5s ease;
}
.history-item.active .history-events {
    max-height: 1700px;
    opacity: 1;
    margin-top: 15px;
}
.history-event {
    background: var(--bg-card);
    border: 1px solid rgba(51, 153, 209, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.history-event:hover {
    background: var(--bg-card-hover);
    border-color: rgba(51, 153, 209, 0.3);
    transform: translateX(8px);
}
.history-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.content-section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 16px;
}

/* ===== Contact 섹션 스타일 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.map-container {
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    border: 1px solid rgba(51, 153, 209, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.contact-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid rgba(51, 153, 209, 0.1);
    border-radius: 16px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    justify-content: space-between;
}
.contact-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(51, 153, 209, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(51, 153, 209, 0.1);
}
.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}
.contact-details {
    flex: 1;
}
.contact-details h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.contact-details p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}
.contact-details p:not(:last-child) {
    margin-bottom: 4px;
}
.contact-details p.contact-point {
    margin-top: 8px;
    color: var(--primary);
    font-size: 0.85rem;
}

/* 폼 스타일 */
.submit-button {
    background: var(--gradient-1);
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-left: 0;
}
.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(51, 153, 209, 0.3);
}
.submit-button:active {
    transform: translateY(0);
}

/* ===== 반응형 ===== */
@media (max-width: 1350px) {
    .contact-item { flex-wrap: wrap; }
    .copy-wrap { flex-basis: 100%; }
    .submit-button { width: 100%; margin-top: 16px; justify-content: center; }
}
@media (max-width: 1024px) and (min-width: 769px) {
    .about-section { padding: 60px 30px; }
    .history-section { padding: 80px 30px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .map-container { height: 350px; }
}
@media (max-width: 768px) {
    .about-section { padding: 60px 30px; }
    .ceo-message { padding: 40px 24px; }
    .ceo-header { flex-direction: column; gap: 16px; text-align: center; }
    .company-info { grid-template-columns: 1fr; gap: 24px; }
    .history-timeline::before { left: 40px; }
    .history-item { padding-left: 120px; }
    .history-item::before { width: 80px; height: 80px; left: 0; font-size: 9px; padding: 8px; border-width: 2px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .map-container { height: 300px; }
    .history-section { padding: 60px 30px; }
}