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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
        Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.photo {
    width: 250px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 30px;
    border: 3px solid #f0f0f0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

nav a:hover {
    background-color: #f0f0f0;
}

/* Page styles for other pages */
.page-container {
    text-align: left;
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #666;
    text-decoration: none;
}

.back-link:hover {
    color: #333;
}

/* Content sections */
.section {
    margin-bottom: 40px;
}

.section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
}

.section p {
    margin-bottom: 15px;
    color: #555;
}

/* Contact page styles */
.contact-info {
    margin: 30px 0;
}

.contact-info a {
    color: #0066cc;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Resume page styles */
.resume-section {
    margin-bottom: 35px;
}

.resume-item {
    margin-bottom: 20px;
}

.resume-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.resume-date {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 0.95rem;
    }

    .profile-photo {
        width: 200px;
        height: auto;
    }
}
