/* About Page Mobile Styles */

@media (max-width: 768px) {
    /* 회사 소개 텍스트 중앙 정렬 */
    section[style*="background-color: var(--bg-dark)"] p {
        text-align: center !important;
    }
    
    section[style*="background-color: var(--bg-dark)"] h2 {
        text-align: center !important;
    }
    /* Hero 섹션 모바일 */
    .page-hero {
        height: 400px !important;
        margin-top: 60px !important;
    }

    .page-hero h1 {
        font-size: 2.5rem !important;
        margin-bottom: 1rem !important;
    }

    .page-hero p {
        font-size: 1rem !important;
        padding: 0 1rem !important;
        line-height: 1.5 !important;
    }

    /* 회사 개요 섹션 */
    section[style*="background-color: var(--bg-dark)"] {
        padding: 60px 0 !important;
    }

    /* 회사 개요 그리드 - 모바일에서 1열로 */
    div[style*="display: grid; grid-template-columns: 1fr 1fr"] {
        display: block !important;
    }

    div[style*="display: grid; grid-template-columns: 1fr 1fr"] > div {
        margin-bottom: 2rem !important;
    }

    /* 회사 개요 텍스트 */
    div[style*="display: grid; grid-template-columns: 1fr 1fr"] h2 {
        font-size: 2rem !important;
        margin-bottom: 1.5rem !important;
    }

    div[style*="display: grid; grid-template-columns: 1fr 1fr"] p {
        font-size: 1rem !important;
        line-height: 1.7 !important;
        margin-bottom: 1rem !important;
    }

    /* 기업 정보 박스 */
    div[style*="background: var(--bg-darker)"] {
        padding: 1.5rem !important;
        margin: 0 !important;
    }

    div[style*="background: var(--bg-darker)"] h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* 기업 정보 그리드 */
    div[style*="display: grid; grid-template-columns: 120px 1fr"] {
        grid-template-columns: 100px 1fr !important;
        gap: 1rem !important;
        font-size: 0.95rem !important;
    }

    /* 연혁 섹션 */
    section[style*="background-color: var(--bg-darker)"] {
        padding: 60px 0 !important;
    }

    /* 연혁 타이틀 */
    section[style*="background-color: var(--bg-darker)"] h2 {
        font-size: 2rem !important;
        margin-bottom: 3rem !important;
    }

    /* 가로 타임라인 숨기기 */
    .timeline-horizontal {
        display: none !important;
    }

    /* 모바일 연혁 새로운 스타일 */
    .mobile-timeline {
        display: block !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    .mobile-timeline-item {
        background: var(--bg-darker) !important;
        border: 1px solid var(--border-gray) !important;
        padding: 20px !important;
        margin-bottom: 20px !important;
        border-radius: 8px !important;
        text-align: center !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .mobile-timeline-item::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 4px !important;
        height: 100% !important;
        background: var(--primary-red) !important;
    }
    
    .mobile-timeline-year {
        color: var(--primary-red) !important;
        font-size: 1.3rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .mobile-timeline-content {
        color: #ffffff !important;
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }

    /* 찾아오는 길 섹션 */
    section[style*="padding: 100px 0; border-top"] {
        padding: 60px 0 !important;
    }

    /* 찾아오는 길 타이틀 */
    section[style*="padding: 100px 0; border-top"] h2 {
        font-size: 2rem !important;
        margin-bottom: 2rem !important;
    }

    /* 지도와 주소 정보 그리드 */
    div[style*="display: grid; grid-template-columns: 1fr 1fr; gap: 60px"] {
        display: block !important;
    }

    /* 지도 컨테이너 */
    div[style*="background: var(--bg-darker); border: 1px solid var(--border-gray); padding: 20px"] {
        padding: 10px !important;
        margin-bottom: 2rem !important;
    }

    /* 지도 iframe */
    iframe {
        height: 300px !important;
    }

    /* 주소 정보 박스들 */
    div[style*="background: var(--bg-darker); border: 1px solid var(--border-gray); padding: 40px"] {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    div[style*="background: var(--bg-darker); border: 1px solid var(--border-gray); padding: 40px"] h3 {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
    }

    div[style*="background: var(--bg-darker); border: 1px solid var(--border-gray); padding: 40px"] p {
        font-size: 1rem !important;
    }

    /* 대중교통 안내 박스 숨기기 */
    div[style*="background: var(--bg-darker); border: 1px solid var(--border-gray); padding: 40px"]:last-child {
        display: none !important;
    }

    /* 전체 컨테이너 패딩 조정 */
    .container {
        padding: 0 1rem !important;
    }
}

/* 작은 모바일 기기 (480px 이하) */
@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 2rem !important;
    }

    .page-hero p {
        font-size: 0.9rem !important;
    }

    /* 회사 개요 제목 */
    div[style*="display: grid; grid-template-columns: 1fr 1fr"] h2 {
        font-size: 1.7rem !important;
    }

    /* 기업 정보 그리드 더 작게 */
    div[style*="display: grid; grid-template-columns: 120px 1fr"] {
        grid-template-columns: 80px 1fr !important;
        font-size: 0.9rem !important;
    }

    /* 연혁 타이틀 */
    section[style*="background-color: var(--bg-darker)"] h2 {
        font-size: 1.7rem !important;
    }

    /* 찾아오는 길 타이틀 */
    section[style*="padding: 100px 0; border-top"] h2 {
        font-size: 1.7rem !important;
    }
}

/* 모바일 전용 스타일 추가 */
@media (max-width: 768px) {
    /* 스크롤 애니메이션 비활성화 */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* 버튼 스타일 개선 */
    .btn-more {
        width: 100% !important;
        padding: 1rem !important;
        font-size: 1rem !important;
        margin-top: 2rem !important;
    }

    /* 기업 정보 feature 아이템 */
    .intro-features {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin: 2rem 0 !important;
    }

    .feature-item {
        background: var(--bg-darker) !important;
        padding: 1.5rem !important;
        border-radius: 8px !important;
        border: 1px solid var(--border-gray) !important;
        text-align: center !important;
    }

    .feature-number {
        font-size: 1.8rem !important;
        color: var(--primary-red) !important;
        font-weight: 900 !important;
        display: block !important;
        margin-bottom: 0.5rem !important;
    }

    .feature-text {
        font-size: 1rem !important;
        color: var(--text-gray) !important;
    }

    /* 세로 타임라인 숨기기 */
    .timeline-vertical {
        display: none !important;
    }
}
