/* 
   Yonghee Kim - Personal Homepage Styles
   A blend of academic professionalism and warm counseling aesthetics.
*/

:root {
    /* Color Palette */
    --primary: #2C3E50;       /* Deep Slate Blue */
    --primary-light: #34495E;
    --accent: #D4A373;        /* Warm Earth Tone / Counsel */
    --text-main: #333333;
    --text-muted: #666666;
    --bg-main: #FFFFFF;
    --bg-light: #F9F9F8;      /* Off-white, warm */
    --border-color: #EAEAEA;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Layout */
    --max-width: 1100px;
    --section-pad: 80px 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section {
    padding: var(--section-pad);
}

.bg-light {
    background-color: var(--bg-light);
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.2em;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(135deg, rgba(249,249,248,1) 0%, rgba(255,255,255,1) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,163,115,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    animation: fadeUp 1s ease forwards;
}

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

.hero .greeting {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
    border: 4px solid white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero .name {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.hero .title {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero .summary {
    font-size: 1.1rem;
    color: var(--text-main);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.contact-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Research Grid */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.research-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border-top: 3px solid var(--accent);
    transition: var(--transition);
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.research-card .icon {
    color: var(--accent);
    width: 32px;
    height: 32px;
    margin-bottom: 1.5rem;
}

.research-card h3 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.research-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

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

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 20px;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px 40px;
    position: relative;
    background-color: inherit;
    width: 100%;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-main);
    border: 4px solid var(--accent);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    left: 12px;
}

.timeline-content {
    background: var(--bg-light);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.timeline-date {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--primary);
    color: white;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.institution {
    font-weight: 500;
    color: var(--primary-light);
}

.specialization {
    color: var(--text-muted);
}

.thesis {
    margin-top: 1rem !important;
    font-size: 0.9rem !important;
    font-style: italic;
    color: var(--text-muted);
}

/* Counseling Experience */
.experience-list {
    max-width: 900px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-card {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.experience-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.exp-header h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    margin: 0;
}

.exp-date {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

.exp-location {
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.exp-details {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.licenses-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.licenses-wrapper h3 {
    margin-bottom: 1.5rem;
}

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

.license-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.license-list i {
    color: var(--accent);
    width: 20px;
    height: 20px;
}

/* Publications */
.pub-group {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.pub-group h3 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.pub-list {
    list-style-type: none;
}

.pub-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.7;
    font-size: 0.95rem;
}

.pub-list li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

/* Activities */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.activity-col h3 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

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

.activity-item h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.activity-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.last-updated {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        text-align: center;
        padding: 0.5rem 0;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline::after {
        left: 10px;
    }

    .timeline-item {
        padding-left: 30px;
    }

    .timeline-dot {
        left: 2px;
    }
}
