@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1c1c1e;
    background: linear-gradient(135deg, #e0e5ec 0%, #c4d7ed 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    padding: 2rem;
    margin-bottom: 2rem;
}

.container > .glass-effect{
    background-color: rgba(255, 255, 255, 0.7);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    color: #1c1c1e;
    gap: 3rem;
    text-align: center;
    background: none;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 0 0 300px;
    text-align: center;
}

.profile-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeInScale 1s ease forwards;
}

.profile-image:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.12);
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
    color: #1c1c1e;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
    color: #48484a;
    font-weight: 500;
    line-height: 1.6;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    margin: 0 12px;
    background: rgba(0, 122, 255, 0.3);
    color: #1c1c1e;
    text-decoration: none;
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(0, 122, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn:hover {
    background: rgba(0, 122, 255, 0.5);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.2);
}

.content {
    animation: fadeInUp 1s ease 0.9s both;
    background-color: rgba(255, 255, 255, 0.1);
}

.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #1c1c1e;
    border-bottom: 2px solid rgba(0, 122, 255, 0.3);
    padding-bottom: 0.8rem;
    font-weight: 600;
}

.skills,
.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.skill-card,
.project-card,
.education-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: none;
    border-radius: 18px;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);
    padding: 1.8rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover,
.project-card:hover,
.education-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.skill-card h3,
.project-card h3,
.education-item h3 {
    color: #1c1c1e;
    margin-bottom: 0.8rem;
    font-weight: bolder;
}

/* 프로젝트 탭 스타일 */
.project-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 122, 255, 0.1);
}

.tab-button {
    background: none;
    border: none;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #48484a;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.tab-button.active {
    color: #007aff;
    border-bottom-color: #007aff;
    background: rgba(0, 122, 255, 0.05);
}

.tab-button:hover:not(.active) {
    color: #1c1c1e;
    background: rgba(0, 122, 255, 0.03);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Material Symbols for Core Strengths */
.core-strength-icon {
    font-size: 1.8rem;
    vertical-align: middle;
    margin-right: 8px;
    color: #007aff;
}

/* Material Symbols for Skill Statuses */
.skill-card .status .material-symbols-outlined {
    font-size: 1.2rem;
    vertical-align: middle;
    margin-right: 5px;
}

/* 아이콘 색상 유지 */
.skill-card .status.blue { color: #007aff; }
.skill-card .status.green { color: #34c759; }
.skill-card .status.yellow { color: #ffcc00; }

.skill-card img {
    margin: 0.3rem;
    filter: grayscale(10%);
    opacity: 0.9;
    border-radius: 5px;
}

.project-links {
    text-align: center;
    margin-top: 1.5rem;
}

.project-links a {
    display: inline-block;
    padding: 14px 28px;
    margin: 0 8px 10px;
    background: rgba(0, 122, 255, 0.3);
    color: #1c1c1e;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 122, 255, 0.1);
}

.project-links a:hover {
    background: rgba(0, 122, 255, 0.5);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.2);
}

.project-docs {
    margin-top: 1.2rem;
    text-align: center;
}

.project-docs a {
    display: inline-block;
    padding: 8px 18px;
    margin: 0 8px 8px 0;
    background: rgba(52, 199, 89, 0.3);
    color: #1c1c1e;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.88rem;
    border: none;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 10px rgba(52, 199, 89, 0.08);
}

.project-docs a:hover {
    background: rgba(52, 199, 89, 0.5);
    color: white;
    transform: translateY(-2px);
}

.project-meta, .demo-login {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 12px;
    padding: 1rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: #3a3a3c;
    line-height: 1.4;
}

.demo-login {
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.demo-login strong {
    color: #1c1c1e;
    display: block;
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.demo-login div {
    color: #48484a;
    font-family: 'SF Mono', 'Courier New', monospace;
    margin: 0.3rem 0;
}

.contact {
    text-align: center;
    background: rgba(0, 122, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    padding: 2.5rem;
    margin-top: 3rem;
    color: #1c1c1e;
}

.contact h2 {
    color: #1c1c1e;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.contact-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-links a {
    color: #1c1c1e;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-links a .material-symbols-outlined {
    font-size: 1.5rem;
    color: #007aff;
}

.contact-links a:hover {
    color: #007aff;
    transform: translateY(-2px);
    text-decoration: underline;
}

.contact-links a:hover .material-symbols-outlined {
    color: #007aff;
}

.contact p {
    margin-top: 1.5rem;
    font-size: 1.3rem;
    color: #3a3a3c;
    font-weight: 500;
}

.contact p .material-symbols-outlined {
    font-size: 1.5rem;
    vertical-align: middle;
    margin-right: 8px;
    color: #007aff;
}

.education-item {
    margin-bottom: 1.5rem;
}

.education-item .period {
    color: #48484a;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: bold;
}

.badge {
    display: inline-block;
    background: rgba(0, 122, 255, 0.6);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 18px;
    font-size: 0.8rem;
    margin: 0.3rem;
    backdrop-filter: blur(5px);
}

.skill-card .status {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.skill-card .status.blue { color: #007aff; }
.skill-card .status.green { color: #34c759; }
.skill-card .status.yellow { color: #ffcc00; }

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 122, 255, 0.3);
    color: #1c1c1e;
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    cursor: pointer;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: rgba(0, 122, 255, 0.5);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.projects .project-card img {
    border-radius: 5px;
}

/* 느낀점 텍스트 스타일 */
.insights-content {
    color: #3a3a3c;
    line-height: 1.7;
    font-size: 0.95rem;
}

.insights-content h4 {
    color: #1c1c1e;
    margin: 1rem 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.insights-content ul {
    margin: 0.5rem 0;
    padding-left: 1.2rem;
}

.insights-content li {
    margin: 0.3rem 0;
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .hero-image {
        flex: none;
    }
    
    .profile-image {
        width: 180px;
        height: 180px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    .container {
        padding: 1rem;
    }
    
    .glass-effect {
        padding: 1.5rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 80%;
        max-width: 280px;
        margin: 0;
    }
    
    .skills,
    .projects {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .project-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .project-links a {
        width: 80%;
        max-width: 250px;
        margin: 0;
    }

    .project-docs a {
        margin-right: 8px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-links a {
        font-size: 1rem;
    }

    .contact-links a .material-symbols-outlined,
    .contact p .material-symbols-outlined {
        font-size: 1.2rem;
    }

    .scroll-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        bottom: 20px;
        right: 20px;
    }

    .project-tabs {
        flex-direction: column;
        border-bottom: none;
    }

    .tab-button {
        border-bottom: 1px solid rgba(0, 122, 255, 0.1);
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .tab-button.active {
        border-bottom: 1px solid #007aff;
    }
}
