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

body {
    font-family: 'chhf', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1c1c1c;
    background: #36675B;
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(255,255,255,0.05) 2px, transparent 2px),
        radial-gradient(circle at 75px 75px, rgba(255,255,255,0.05) 2px, transparent 2px);
    background-size: 100px 100px;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #36675B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 20px;
}

.nav-logo a {
    font-family: 'chhf';
    font-size: 18px;
    color: #36675B;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
}

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

.nav-link {
    font-family: 'chhf';
    color: #1c1c1c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link.active {
    font-weight: 600;
}

.nav-link:hover {
    color: #36675B;
}

.nav-submenu {
    display: flex;
    gap: 30px;
}

.social {
    display: flex;
    align-items: center;
}

.social ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

.social .icon {
    width: 20px;
    height: 20px;
    fill: #1c1c1c;
}

/* Profile Image */
.profile-image-container {
    width: 100%;
    height: 300px;
    background: #ffffff;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    padding-top: 100px;
    padding-bottom: 60px;
}

/* Font Size Controls */
.font-size-controls {
    position: fixed;
    top: 100px;
    right: 20px;
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
}

.font-size-btn {
    background: #36675B;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    min-width: 24px;
}

.font-size-btn:hover {
    background: #2a5148;
}

.font-size-label {
    display: none;
}

/* Resume Section */
.resume-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

.resume-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 60px;
}

.resume-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.resume-logo {
    width: 60px;
    height: 60px;
    background: #36675B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 28px;
}

.resume-name {
    font-family: 'chhf';
    font-size: 36px;
    font-weight: 600;
    color: #36675B;
    letter-spacing: 1px;
}

.resume-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.resume-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.resume-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.resume-block h3 {
    font-family: 'chhf';
    font-size: 14px;
    font-weight: 600;
    color: #1c1c1c;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.resume-block p {
    font-size: 14px;
    color: #1c1c1c;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Awards */
.award-item {
    margin-bottom: 20px;
}

.award-item h4 {
    font-family: 'chhf';
    font-size: 14px;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 5px;
}

.award-period {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.award-desc {
    font-size: 12px;
    color: #444;
    line-height: 1.4;
}

/* Education */
.education-item h4 {
    font-family: 'chhf';
    font-size: 14px;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 8px;
}

.degree {
    font-size: 14px;
    color: #1c1c1c;
    margin-bottom: 5px;
}

.gpa {
    font-size: 14px;
    color: #666;
}

/* Work Experience */
.work-item {
    margin-bottom: 30px;
}

.work-item h4 {
    font-family: 'chhf';
    font-size: 14px;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 5px;
}

.work-company {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.work-details {
    list-style: none;
    padding-left: 0;
}

.work-details li {
    font-size: 12px;
    color: #444;
    margin-bottom: 5px;
    line-height: 1.4;
    position: relative;
    padding-left: 15px;
}

.work-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1c1c1c;
}

/* Involvement */
.involvement-item h4 {
    font-family: 'chhf';
    font-size: 14px;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 5px;
}

.involvement-company {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.involvement-details {
    list-style: none;
    padding-left: 0;
}

.involvement-details li {
    font-size: 12px;
    color: #444;
    margin-bottom: 5px;
    line-height: 1.4;
    position: relative;
    padding-left: 15px;
}

.involvement-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1c1c1c;
}

/* Download Button */
.download-section {
    text-align: center;
    margin-top: 50px;
}

.download-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #36675B;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #2a5148;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.pf-footer-social {
    display: flex;
    justify-content: center;
}

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

    .nav-menu {
        display: none;
    }

    .nav-submenu {
        display: none;
    }

    .resume-section {
        padding: 40px 20px;
    }

    .resume-container {
        padding: 40px 30px;
    }

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

    .resume-name {
        font-size: 28px;
    }

    .resume-logo {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Background Pattern Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(255,255,255,0.03) 2px, transparent 2px),
        radial-gradient(circle at 75px 75px, rgba(255,255,255,0.03) 2px, transparent 2px);
    background-size: 100px 100px;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}
