/* ========================================
   근영방수 - 회사소개 페이지 스타일
   Noto Sans KR 폰트 적용
   ======================================== */

/* ========== 폰트 임포트 ========== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;900&display=swap');

/* ========== 기본 폰트 설정 ========== */
.page-hero,
.stats-section,
.intro-section,
.values-section,
.history-section,
.capability-section,
.gallery-section,
.location-section,
.cta-section {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ========== Page Hero ========== */
.page-hero {
    min-height: 450px;
    max-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.page-hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%);
    display: none;
    align-items: center;
    justify-content: center;
}

.page-hero-bg-wrapper.no-image .page-hero-bg {
    display: none;
}

.page-hero-bg-wrapper.no-image .page-hero-placeholder {
    display: flex;
}

.page-hero-placeholder .placeholder-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    text-align: center;
    padding: 2rem;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.page-hero-placeholder .placeholder-icon {
    font-size: 3rem;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgb(0 0 0 / 70%) 100%);
    z-index: -1;
}

.page-hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
    z-index: 10;
}

.page-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--white);
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border-radius: 4px;
}

.page-hero-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.page-hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.7;
    opacity: 0.95;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/* ========== 1. 핵심 숫자 섹션 ========== */
.stats-section {
    background: var(--gray-light);
    padding: 5rem 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--white);
    border: 2px solid var(--gray-medium);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 71, 171, 0.1);
}

.stat-number {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-dark);
    font-weight: 500;
}

/* ========================================
   INTRO SECTION - 회사 소개
   ======================================== */

.intro-section {
    background: var(--gray-light);
    padding: 100px 0;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   INTRO IMAGE - 대표 사진 영역
   ======================================== */

.intro-image {
    flex-shrink: 0;
    position: relative;
    width: 280px;
}



.intro-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--primary-blue);
    /* 살짝 밝은 회색 배경 추가 */
 background: linear-gradient(180deg, #f5f3f0 0%, #e0dcd8 60%, #cdc8c3 100%);

}

.intro-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 상단 여백 50% 고려 - 아래쪽 중심으로 크롭 */
    object-position: center 30%;
    display: block;
}

/* Since 1998 뱃지 - 하단 배치 */
.intro-image-badge {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 20px;
    background: var(--primary-blue);
    border-radius: 4px;
}

.intro-image-badge .badge-year {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro-image-badge .badge-number {
    font-size: 24px;
    font-weight: 900;
    color: var(--white);
    font-family: 'Noto Sans KR', sans-serif;
}

/* Placeholder 스타일 */
.intro-image-wrapper .intro-image-placeholder {
    display: none;
}

.intro-image-wrapper.no-image img {
    display: none;
}

.intro-image-wrapper.no-image .intro-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--gray-medium);
}

.intro-image .placeholder-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.intro-image .placeholder-label {
    font-size: 12px;
    color: var(--gray-dark);
    text-align: center;
    line-height: 1.5;
}

/* ========================================
   INTRO TEXT - 텍스트 영역
   ======================================== */

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.intro-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.intro-text .highlight {
    color: var(--primary-blue);
    font-weight: 600;
}

/* 인용구 */
.intro-quote {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-left: 4px solid var(--primary-blue);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.intro-quote p {
    font-size: 1.1rem;
    font-weight: 500;
    font-style: italic;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.intro-quote .quote-author {
    font-size: 0.9rem;
    color: var(--gray-dark);
    font-style: normal;
}

/* ========================================
   INTRO SECTION - MOBILE RESPONSIVE
   ======================================== */

@media screen and (max-width: 1024px) {
    .intro-section {
        padding: 80px 0;
    }
    
    .intro-content {
        gap: 50px;
    }
    
    .intro-image {
        width: 240px;
    }
    
    .intro-text h2 {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 768px) {
    .intro-section {
        padding: 4rem 1.5rem;
    }
    
    .intro-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 0;
    }
    
    .intro-image {
        width: 200px;
    }
    
    .intro-text h2 {
        font-size: 1.6rem;
    }
    
    .intro-text h2 br {
        display: none;
    }
    
    .intro-quote {
        border-left: none;
        border-top: 4px solid var(--primary-blue);
        border-radius: 0 0 8px 8px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .intro-section {
        padding: 3rem 1rem;
    }
    
    .intro-content {
        gap: 1.5rem;
    }
    
    .intro-image {
        width: 180px;
    }
    
    .intro-image-badge {
        padding: 8px 16px;
        gap: 6px;
    }
    
    .intro-image-badge .badge-year {
        font-size: 11px;
    }
    
    .intro-image-badge .badge-number {
        font-size: 20px;
    }
    
    .intro-text h2 {
        font-size: 1.4rem;
    }
    
    .intro-text p {
        font-size: 0.95rem;
    }
    
    .intro-quote {
        padding: 1.25rem;
    }
    
    .intro-quote p {
        font-size: 1rem;
    }
}


/* ========== 3. 철학/가치 섹션 ========== */
.values-section {
    background: var(--primary-blue);
    color: var(--white);
    padding: 6rem 2rem;
}

.values-section .section-title {
    color: var(--white);
}

.values-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.value-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.value-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--yellow);
}

.value-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-desc {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* ========== 4. 연혁 섹션 ========== */
.history-section {
    background: var(--gray-light);
    padding: 6rem 2rem;
}

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

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gray-medium);
    top: 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
    align-items: flex-start;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 calc(50% - 30px);
    text-align: right;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-year {
    text-align: left;
    padding-right: 0;
    padding-left: 2rem;
}

.timeline-year span {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.timeline-content {
    flex: 0 0 calc(50% - 30px);
    padding-left: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
    padding-left: 0;
    padding-right: 2rem;
}

.timeline-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 1rem;
    color: var(--gray-dark);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--yellow);
    border: 4px solid var(--primary-blue);
    border-radius: 50%;
    z-index: 10;
    top: 5px;
}

/* ========== 5. 공법/장비 섹션 ========== */
.capability-section {
    background: var(--white);
    padding: 6rem 2rem;
}

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

.capability-box {
    border: 2px solid var(--gray-medium);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.capability-box:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 40px rgba(0, 71, 171, 0.08);
}

.capability-box h3 {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-medium);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

.capability-icon {
    font-size: 1.5rem;
}

.capability-list {
    list-style: none;
}

.capability-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.capability-list li:last-child {
    border-bottom: none;
}

.capability-list li:hover {
    padding-left: 0.5rem;
}

.capability-list .cap-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}
.capability-list:hover{
	color:white;
}
.capability-list li:hover .cap-icon {
    background: var(--primary-blue);
    transform: scale(1.05);
}

.capability-list .cap-text {
    flex: 1;
}

.capability-list .cap-name {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.capability-list .cap-desc {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.capability-list .cap-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    color: var(--gray-dark);
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    text-decoration: none;
}

.capability-list li:hover .cap-link {
    background: var(--yellow);
    color: var(--black);
    transform: translateX(3px);
}

/* ========== 6. 대표 시공사례 섹션 ========== */
.gallery-section {
    background: var(--gray-light);
    padding: 6rem 2rem;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    background: #fff;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-image-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.05);
}

.gallery-image-wrapper.no-image {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
}

.gallery-image-wrapper.no-image img {
    display: none;
}

.gallery-badge {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    background: var(--primary-blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    letter-spacing: 0.02em;
    z-index: 2;
}

.gallery-caption {
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.gallery-caption-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-caption-desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-caption-arrow {
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption-arrow {
    opacity: 1;
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: #fff;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .gallery-caption-title {
        font-size: 0.8rem;
    }
    .gallery-caption-arrow {
        opacity: 1;
    }
}

/* 이전 갤러리 호환 (사용하지 않음) */
.gallery-overlay, .gallery-zoom {
    display: none;
    color: var(--white);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-zoom {
    transform: scale(1);
}

/* 갤러리 라이트박스 */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--yellow);
    color: var(--black);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--yellow);
    color: var(--black);
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.lightbox-caption {
    color: var(--white);
    margin-top: 1rem;
    font-size: 1rem;
    opacity: 0.8;
}

/* ========== 7. 오시는 길 섹션 ========== */
.location-section {
    background: var(--white);
    padding: 6rem 2rem;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.location-map {
    height: 450px;
    border: 2px solid var(--gray-medium);
    overflow: hidden;
    position: relative;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.map-placeholder .placeholder-icon {
    font-size: 4rem;
    opacity: 0.5;
}

.map-placeholder .placeholder-label {
    color: var(--gray-dark);
    font-size: 0.95rem;
    text-align: center;
}

.map-placeholder .placeholder-label small {
    display: block;
    margin-top: 0.5rem;
    opacity: 0.7;
}

.location-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info h3 {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 2rem;
    font-weight: 700;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.location-detail .detail-icon {
    font-size: 1.25rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 8px;
    flex-shrink: 0;
}

.location-detail .detail-content {
    flex: 1;
}

.location-detail .label {
    font-size: 0.85rem;
    color: var(--gray-dark);
    margin-bottom: 0.25rem;
}

.location-detail .value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--black);
}

.location-detail .value a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-detail .value a:hover {
    text-decoration: underline;
}

.location-detail .value small {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--gray-dark);
    margin-top: 0.25rem;
}

.location-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.location-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid;
    transition: all 0.3s ease;
}

.location-btn-primary {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
}

.location-btn-primary:hover {
    background: transparent;
    color: var(--black);
}

.location-btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.location-btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* ========== CTA 섹션 ========== */
.cta-section {
    background: var(--yellow);
    padding: 5rem 2rem;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--black);
    opacity: 0.8;
    margin-bottom: 2rem;
}

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

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
}

.cta-btn-primary {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.cta-btn-primary:hover {
    background: transparent;
    color: var(--black);
}

.cta-btn-secondary {
    background: transparent;
    color: var(--black);
    border-color: var(--black);
}

.cta-btn-secondary:hover {
    background: var(--black);
    color: var(--white);
}

/* ========== Section Header ========== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-dark);
}

/* ========== 애니메이션 (AOS 대체) ========== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ========== 반응형 ========== */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .intro-image-badge {
        bottom: 20px;
        right: 20px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .capability-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-map {
        height: 350px;
    }
}

@media (max-width: 992px) {
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: column;
        padding-left: 50px;
    }
    
    .timeline-year,
    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        text-align: left;
        padding: 0;
        margin-bottom: 0.5rem;
        flex: none;
    }
    
    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
        padding: 0;
        flex: none;
    }
    
    .timeline-dot {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .page-hero-title {
        font-size: 2.5rem;
    }
    
    .page-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stats-section,
    .intro-section,
    .values-section,
    .history-section,
    .capability-section,
    .gallery-section,
    .location-section,
    .cta-section {
        padding: 4rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .intro-text h2 {
        font-size: 1.6rem;
    }
    
    .intro-image-wrapper {
        height: 300px;
    }
    
    .capability-box {
        padding: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .location-actions {
        flex-direction: column;
    }
    
    .location-btn {
        width: 100%;
        justify-content: center;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 2rem;
    }
    
    .page-hero-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-unit {
        font-size: 1.1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
}
