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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #121212;
    color: #e8e8e8;
    line-height: 1.6;
    min-height: 100vh;
}

.site-nav {
    background: #1a1a1c;
    border-bottom: 1px solid #2a2a2c;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-brand {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ff6b5a;
    text-decoration: none;
    letter-spacing: 0.2px;
}

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

.nav-links a {
    display: block;
    padding: 0.5rem 1rem;
    color: #ff6b5a;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
    background: #2a2a2c;
    color: #ff8a7d;
    text-decoration: none;
}

.nav-links a.active {
    background: #ff6b5a;
    color: #1a1a1a;
}

.nav-links a.active:hover {
    background: #ff8a7d;
    color: #1a1a1a;
}

main {
    max-width: 760px;
    margin: 2rem auto;
    background: #1c1c1e;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid #2a2a2c;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #2a2a2c;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.tagline {
    color: #9a9a9a;
    font-size: 1.05rem;
}

section {
    margin-bottom: 2.5rem;
}

h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f0f0f0;
}

.apps ul {
    list-style: none;
}

.apps li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #242426;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    border: 1px solid #2f2f31;
}

.app-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.app-icon-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3a3a3d, #2a2a2c);
    color: #888;
    font-weight: 700;
    font-size: 1.5rem;
    border: 1px dashed #4a4a4d;
}

.contact p {
    color: #c0c0c0;
}

a {
    color: #ff6b5a;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2a2a2c;
    text-align: center;
    color: #6a6a6a;
    font-size: 0.9rem;
}

/* Resume page */
.resume-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #2a2a2c;
    text-align: left;
    flex-wrap: wrap;
}

.resume-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.resume-contact {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.resume-contact .sep {
    color: #555;
    margin: 0 0.4rem;
}

.download-btn {
    display: inline-block;
    background: #ff6b5a;
    color: #1a1a1a !important;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.download-btn:hover {
    background: #ff8a7d;
    text-decoration: none;
}

.resume-section {
    margin-bottom: 2rem;
}

.resume-section h2 {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #ff6b5a;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #2a2a2c;
    margin-bottom: 1.2rem;
}

.resume-entry {
    margin-bottom: 1.4rem;
}

.resume-entry:last-child {
    margin-bottom: 0;
}

.entry-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.3rem;
}

.entry-head h3 {
    font-size: 1.05rem;
}

.entry-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    color: #cfcfcf;
    margin-bottom: 0.2rem;
}

.date {
    color: #9a9a9a;
    font-size: 0.9rem;
    font-style: italic;
    white-space: nowrap;
}

.muted {
    color: #9a9a9a;
    font-weight: 400;
}

.resume-entry ul {
    list-style: none;
    margin-top: 0.4rem;
}

.resume-entry ul li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.25rem;
    color: #d0d0d0;
}

.resume-entry ul li::before {
    content: "•";
    color: #ff6b5a;
    position: absolute;
    left: 0;
}

.skill-line {
    color: #d0d0d0;
    margin-bottom: 0.4rem;
}

.skill-line strong {
    color: #ffffff;
}

@media (max-width: 600px) {
    main {
        padding: 2rem 1.25rem;
        margin: 1rem;
    }

    .site-nav {
        padding: 0.75rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .resume-header {
        flex-direction: column;
    }

    .download-btn {
        align-self: flex-start;
    }
}
