/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #FFD600;
    --secondary-black: #000000;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f8f8;
    --bg-gray: #E8E8E8;
    --bg-darker: #C0C0C0;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 26px;
    font-weight: 800;
    color: var(--secondary-black);
    letter-spacing: -0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link.active {
    color: var(--secondary-black);
    font-weight: 700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--secondary-black);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* About Hero Section */
.about-hero {
    padding: 180px 0 120px;
    background: linear-gradient(135deg, #f5f7fa 0%, #E8EEF2 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 214, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-slow 20s ease-in-out infinite;
}

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

.hero-content {
    max-width: 800px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.2s;
}

.about-hero h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -2px;
    color: var(--text-dark);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.4s;
}

.hero-description {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
}

.hero-description p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

/* Mission Section */
.mission-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mission-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.mission-text.animated {
    opacity: 1;
    transform: translateX(0);
}

.mission-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.mission-text h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-yellow);
}

.mission-text h2 {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 30px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.mission-text p {
    font-size: 15px;
    line-height: 2;
    color: var(--text-light);
    letter-spacing: -0.3px;
}

.mission-image {
    width: 100%;
    height: 450px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.mission-image.animated {
    opacity: 1;
    transform: translateX(0);
}

.mission-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 214, 0, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.mission-image:hover::before {
    opacity: 1;
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    image-rendering: auto;
    will-change: transform;
    content-visibility: auto;
}

.mission-image:hover img {
    transform: scale(1.1);
}

/* Values Section */
.values-section {
    padding: 120px 0;
    background: var(--bg-light);
    position: relative;
}

.values-section .section-title,
.partners-section .section-title {
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 60px;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.values-section .section-title::after,
.partners-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-yellow);
}

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

.value-card {
    background: var(--white);
    padding: 0;
    border-radius: 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.value-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.value-card:nth-child(1) {
    transition-delay: 0s;
}

.value-card:nth-child(2) {
    transition-delay: 0.1s;
}

.value-card:nth-child(3) {
    transition-delay: 0.2s;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-darker);
    margin-bottom: 30px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 36px;
    color: var(--text-dark);
    transition: all 0.4s ease;
    z-index: 2;
    position: relative;
}

.value-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 214, 0, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.value-card:hover .value-icon::before {
    left: 100%;
}

.value-card:hover .value-icon {
    background: var(--bg-gray);
    transform: scale(1.05);
}

.value-card:hover .value-icon i {
    color: var(--secondary-black);
    transform: scale(1.1);
}

.value-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.value-card:hover h4 {
    color: var(--secondary-black);
}

.value-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
    letter-spacing: -0.3px;
}

/* History Section */
.history-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.history-section .section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 80px;
    font-size: 18px;
    font-weight: 700;
}

.history-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-yellow);
}

.timeline {
    position: relative;
    max-width: 800px;
}

.timeline-year {
    position: relative;
    display: flex;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-year.animated {
    opacity: 1;
    transform: translateY(0);
}

.timeline-year:nth-child(1) { transition-delay: 0s; }
.timeline-year:nth-child(2) { transition-delay: 0.1s; }
.timeline-year:nth-child(3) { transition-delay: 0.2s; }
.timeline-year:nth-child(4) { transition-delay: 0.3s; }
.timeline-year:nth-child(5) { transition-delay: 0.4s; }

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

/* 연도 레이블 */
.year-label {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -2px;
    width: 150px;
    flex-shrink: 0;
    padding-right: 30px;
}

/* 세로 라인과 점 영역 */
.timeline-year::before {
    content: '';
    position: absolute;
    left: 150px;
    top: 25px;
    width: 3px;
    height: calc(100% + 100px);
    background: var(--primary-yellow);
}

.timeline-year:last-child::before {
    height: 100%;
}

.timeline-year::after {
    content: '';
    position: absolute;
    left: 144px;
    top: 20px;
    width: 15px;
    height: 15px;
    background: var(--primary-yellow);
    border-radius: 50%;
    box-shadow: 0 0 0 5px var(--white);
}

/* 이벤트 목록 */
.year-events {
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding-left: 70px;
    flex: 1;
}

.event-item {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.event-month {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    min-width: 40px;
    flex-shrink: 0;
}

.event-text {
    font-size: 16px;
    color: var(--text-light);
    transition: color 0.3s ease;
    line-height: 1.6;
}

.event-item:hover .event-text {
    color: var(--text-dark);
}

/* Partners Section */
.partners-section {
    padding: 120px 0;
    background: var(--bg-light);
    position: relative;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 60px;
    line-height: 1.8;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-logo {
    background: var(--white);
    height: 120px;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--bg-light);
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.4s ease;
    opacity: 0.6;
    image-rendering: auto;
    content-visibility: auto;
}

.partner-logo.animated {
    opacity: 1;
    transform: scale(1);
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 214, 0, 0.1);
    border-radius: 50%;
    transition: all 0.5s ease;
    z-index: 0;
}

.partner-logo:hover {
    background: var(--white);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-yellow);
}

.partner-logo:hover::before {
    width: 200%;
    height: 200%;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Stagger animation for partner logos */
.partner-logo:nth-child(1) { transition-delay: 0s; }
.partner-logo:nth-child(2) { transition-delay: 0.05s; }
.partner-logo:nth-child(3) { transition-delay: 0.1s; }
.partner-logo:nth-child(4) { transition-delay: 0.15s; }
.partner-logo:nth-child(5) { transition-delay: 0.2s; }
.partner-logo:nth-child(6) { transition-delay: 0.25s; }
.partner-logo:nth-child(7) { transition-delay: 0.3s; }
.partner-logo:nth-child(8) { transition-delay: 0.35s; }
.partner-logo:nth-child(9) { transition-delay: 0.4s; }
.partner-logo:nth-child(10) { transition-delay: 0.45s; }
.partner-logo:nth-child(11) { transition-delay: 0.5s; }
.partner-logo:nth-child(12) { transition-delay: 0.55s; }
.partner-logo:nth-child(13) { transition-delay: 0.6s; }
.partner-logo:nth-child(14) { transition-delay: 0.65s; }
.partner-logo:nth-child(15) { transition-delay: 0.7s; }
.partner-logo:nth-child(16) { transition-delay: 0.75s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .about-hero h1 {
        font-size: 44px;
    }

    .mission-content {
        gap: 50px;
    }

    .mission-text h2 {
        font-size: 32px;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 40px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 0;
    }

    .nav-menu li {
        padding: 15px 40px;
        border-bottom: 1px solid var(--bg-light);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .about-hero {
        padding: 140px 0 80px;
    }

    .about-hero h1 {
        font-size: 36px;
    }

    .mission-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-image {
        height: 350px;
    }

    .timeline {
        max-width: 100%;
    }

    .timeline-year {
        flex-direction: column;
        margin-bottom: 60px;
        padding-left: 40px;
    }

    .timeline-year::before {
        left: 15px;
        top: 60px;
    }

    .timeline-year::after {
        left: 9px;
        top: 55px;
    }

    .year-label {
        font-size: 32px;
        width: auto;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .year-events {
        padding-left: 30px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

    .about-hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .mission-text h2 {
        font-size: 26px;
    }

    .section-title {
        font-size: 14px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partner-logo {
        height: 100px;
    }
}

/* Footer */
.footer {
    background: var(--secondary-black, #000000);
    color: var(--white, #ffffff);
    padding: 80px 0 40px;
}

.footer .container {
    max-width: 1200px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-company-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-yellow, #FFD600);
}

.footer-info p {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-yellow, #FFD600);
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white, #ffffff);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-yellow, #FFD600);
    color: var(--secondary-black, #000000);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-info p {
        font-size: 12px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-social {
        justify-content: flex-start;
    }
}
