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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #8B0029;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #8B0029;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B0029;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-subtitle {
    color: #8B0029;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-position {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-placeholder {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B0029 0%, #c9415b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(139, 0, 41, 0.3);
}

.profile-placeholder svg {
    width: 200px;
    height: 200px;
    color: rgba(255, 255, 255, 0.9);
}

.profile-image {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(139, 0, 41, 0.3);
    border: 5px solid #fff;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #8B0029;
    color: #fff;
}

.btn-primary:hover {
    background: #a00030;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 0, 41, 0.3);
}

/* Section Styles */
.section {
    padding: 100px 20px;
}

.section-alt {
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #8B0029;
    border-radius: 2px;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

/* Specialty Section */
.specialty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.specialty-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.specialty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.specialty-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8B0029 0%, #c9415b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.specialty-icon svg {
    width: 35px;
    height: 35px;
    color: #fff;
}

.specialty-card h3 {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.specialty-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ddd;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 114px;
    top: 8px;
    width: 14px;
    height: 14px;
    background: #8B0029;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #8B0029;
}

.timeline-date {
    width: 100px;
    flex-shrink: 0;
    font-weight: 600;
    color: #8B0029;
    text-align: right;
    padding-top: 3px;
}

.timeline-content {
    flex: 1;
    padding-left: 30px;
}

.timeline-content h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.timeline-content p {
    color: #666;
    font-size: 0.95rem;
}

/* Activities Section */
.activities-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.activity-group h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8B0029;
}

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

.activity-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 0.95rem;
}

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

.activity-period {
    display: inline-block;
    background: #8B0029;
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 10px;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.contact-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B0029 0%, #c9415b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.contact-card h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.contact-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.contact-cta {
    text-align: center;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: #8B0029;
    border: 2px solid #8B0029;
}

.btn-secondary:hover {
    background: #8B0029;
    color: #fff;
}

/* Publications Section */
.publications-list {
    max-width: 900px;
    margin: 0 auto;
}

.publication-item {
    display: flex;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.publication-item:last-child {
    border-bottom: none;
}

.publication-year {
    width: 80px;
    flex-shrink: 0;
    font-weight: 700;
    color: #8B0029;
    font-size: 0.9rem;
}

.publication-content h3 {
    font-size: 1.05rem;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.5;
}

.publication-journal {
    color: #8B0029;
    font-weight: 500;
    font-size: 0.9rem;
}

.publication-desc {
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Awards Section */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.award-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.award-item:hover {
    transform: translateY(-5px);
}

.award-year {
    display: inline-block;
    background: linear-gradient(135deg, #8B0029 0%, #c9415b 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.award-content h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.award-content p {
    color: #666;
    font-size: 0.9rem;
}

/* Grants Section */
.grants-list {
    max-width: 800px;
    margin: 0 auto;
}

.grant-item {
    display: flex;
    gap: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
    align-items: center;
    transition: all 0.3s ease;
}

.grant-item:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.grant-period {
    width: 150px;
    flex-shrink: 0;
    font-weight: 600;
    color: #8B0029;
    font-size: 0.95rem;
}

.grant-content h3 {
    font-size: 1.05rem;
    color: #1a1a1a;
}

/* Timeline Highlight */
.timeline-item.highlight .timeline-content h3 {
    color: #8B0029;
}

.timeline-item.highlight::before {
    width: 18px;
    height: 18px;
    left: 112px;
    top: 6px;
}

/* Contact Card Link */
.contact-card a {
    color: #8B0029;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: #888;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .specialty-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        order: -1;
    }

    .profile-placeholder,
    .profile-image {
        width: 250px;
        height: 250px;
    }

    .profile-placeholder svg {
        width: 140px;
        height: 140px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

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

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        flex-direction: column;
        gap: 10px;
        padding-left: 30px;
    }

    .timeline-item::before {
        left: -6px;
    }

    .timeline-date {
        width: auto;
        text-align: left;
    }

    .timeline-content {
        padding-left: 0;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .publication-item {
        flex-direction: column;
        gap: 10px;
    }

    .publication-year {
        width: auto;
    }

    .grant-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .grant-period {
        width: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-position {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .profile-placeholder,
    .profile-image {
        width: 200px;
        height: 200px;
    }

    .profile-placeholder svg {
        width: 100px;
        height: 100px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}
