/* yongzoon.com — Corporate Gradient SaaS Personal Brand */

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
    background: #F8FAFC;
    color: #1E293B;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(11, 22, 40, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.nav-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: -0.02em;
}
.nav-links {
    display: flex;
    gap: 1.75rem;
}
.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}
.nav-link:hover {
    color: #FFFFFF;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-accent-bar {
    height: 3px;
    background: linear-gradient(90deg, #3B82F6, #10B981);
}

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, #0B1628, #1A3654);
    color: #FFFFFF;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
}
.hero-inner {
    max-width: 760px;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.photo-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.photo-icon {
    opacity: 0.6;
}
.hero-text {
    text-align: left;
}
.hero-name {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}
.hero-title-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}
.hero-summary {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.75rem;
    line-height: 1.65;
    max-width: 520px;
}
.hero-ctas {
    display: flex;
    gap: 1rem;
}
.cta-primary {
    display: inline-block;
    padding: 0.65rem 1.6rem;
    background: #3B82F6;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}
.cta-secondary {
    display: inline-block;
    padding: 0.65rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.cta-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
}

/* ── Shared Section Styles ── */
.section-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.section-heading {
    font-weight: 700;
    font-size: 26px;
    color: #1E293B;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

/* ── Experience ── */
.experience {
    background: #FFFFFF;
}
.timeline {
    border-left: 2px solid #E5E7EB;
    padding-left: 1.75rem;
}
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: -2.05rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    background: #3B82F6;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 0 2px #3B82F6;
}
.timeline-content {
    padding-left: 0;
}
.role {
    font-weight: 600;
    font-size: 18px;
    color: #1E293B;
    margin-bottom: 0.2rem;
}
.company {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 0.5rem;
}
.role-desc {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

/* ── Skills ── */
.skills {
    background: #F8FAFC;
}
.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.skill-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.skill-name {
    font-size: 14px;
    font-weight: 600;
    color: #1E293B;
    min-width: 180px;
}
.skill-bar {
    flex: 1;
    height: 10px;
    background: #E5E7EB;
    border-radius: 999px;
    overflow: hidden;
}
.skill-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #3B82F6, #10B981);
    border-radius: 999px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Projects ── */
.projects {
    background: #FFFFFF;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.project-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.project-thumb {
    width: 100%;
    overflow: hidden;
}
.project-thumb svg {
    display: block;
    width: 100%;
    height: auto;
}
.project-body {
    padding: 1.5rem;
}
.project-title {
    font-weight: 700;
    font-size: 20px;
    color: #1E293B;
    margin-bottom: 0.5rem;
}
.project-desc {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.project-metrics {
    display: flex;
    gap: 1.5rem;
}
.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: #10B981;
    line-height: 1.2;
}
.metric-unit {
    font-size: 14px;
    font-weight: 600;
    color: #10B981;
}
.metric-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.15rem;
}

/* ── Testimonials ── */
.testimonials {
    background: #F8FAFC;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.testimonial-card {
    background: #FFFFFF;
    border-left: 3px solid #3B82F6;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.testimonial-quote {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 18px;
    color: #1E293B;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.testimonial-author {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #64748B;
    font-weight: 600;
}

/* ── Contact ── */
.contact {
    background: #FFFFFF;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.availability-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 999px;
    width: fit-content;
}
.availability-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.availability-text {
    font-size: 13px;
    font-weight: 600;
    color: #10B981;
}
.contact-text {
    font-size: 16px;
    color: #64748B;
    line-height: 1.65;
}
.contact-email-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.contact-email {
    font-size: 18px;
    color: #3B82F6;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.contact-email:hover {
    color: #2563EB;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #1E293B;
}
.form-input,
.form-textarea {
    padding: 0.65rem 0.9rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #1E293B;
    background: #F8FAFC;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}
.form-input:focus,
.form-textarea:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form-textarea {
    resize: vertical;
    min-height: 100px;
}
.form-submit {
    padding: 0.7rem 1.6rem;
    background: #3B82F6;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: fit-content;
}
.form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}
.form-status {
    font-size: 14px;
    font-weight: 600;
    min-height: 20px;
}
.form-status.success {
    color: #10B981;
}
.form-status.error {
    color: #EF4444;
}

/* ── Footer ── */
.footer {
    background: #0B1628;
    color: rgba(255, 255, 255, 0.6);
    padding: 2.5rem 2rem;
    text-align: center;
}
.footer-inner {
    max-width: 760px;
    margin: 0 auto;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}
.flink {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}
.flink:hover {
    color: #FFFFFF;
}
.flink-icon {
    flex-shrink: 0;
}
.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

/* ── Fade-in Animation ── */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Mobile Nav Open ── */
.nav.nav-open .nav-links {
    display: flex;
}
.nav.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.nav.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(11, 22, 40, 0.97);
        flex-direction: column;
        padding: 1rem 2rem 1.5rem;
        gap: 0.75rem;
    }
    .nav-toggle {
        display: flex;
    }
    .hero {
        padding: 5rem 1.5rem 3rem;
    }
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        text-align: center;
    }
    .hero-summary {
        max-width: none;
    }
    .hero-ctas {
        justify-content: center;
    }
    .section-inner {
        padding: 3rem 1.5rem;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .skill-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .skill-name {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 28px;
    }
    .section-heading {
        font-size: 22px;
    }
    .project-metrics {
        gap: 1rem;
    }
    .metric-value {
        font-size: 20px;
    }
}
