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

body {
    font-family: 'Source Serif 4', Georgia, serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fff;
    font-size: 18px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 48px;
}

.profile-link {
    display: inline-block;
    margin-bottom: 20px;
    cursor: pointer;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.15s ease;
}

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

h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    gap: 28px;
}

nav a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.15s ease;
}

nav a:hover {
    color: #1a1a1a;
}

/* About Section */
.about-section {
    margin-bottom: 48px;
}

.bio {
    font-size: 18px;
    color: #1a1a1a;
    text-align: center;
}

/* Divider */
.divider {
    text-align: center;
    color: #ccc;
    font-size: 14px;
    letter-spacing: 8px;
    margin: 48px 0;
}

/* Contact Section */
.contact-section {
    margin-bottom: 60px;
}

.contact-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    color: #666;
}

.form-group input,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.15s ease;
    background-color: #fff;
    color: #1a1a1a;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    align-self: center;
    padding: 10px 24px;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.contact-form button:hover {
    background-color: #333;
}

.contact-form button:disabled {
    background-color: #666;
    cursor: not-allowed;
}

/* Form Status Messages */
.form-status {
    text-align: center;
    font-size: 15px;
    min-height: 24px;
}

.form-status.success {
    color: #2e7d32;
}

.form-status.error {
    color: #c62828;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 48px;
    border-top: 1px solid #eee;
}

.copyright {
    font-size: 14px;
    color: #999;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #1a1a1a;
}

/* Photo Lightbox Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    cursor: pointer;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.15s ease;
    z-index: 1001;
}

.modal-close:hover {
    opacity: 1;
}

.modal-image {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 40px 16px;
    }

    h1 {
        font-size: 22px;
    }

    nav {
        gap: 20px;
    }

    .bio {
        font-size: 16px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #f0f0f0;
    }

    h1 {
        color: #f0f0f0;
    }

    nav a {
        color: #999;
    }

    nav a:hover {
        color: #fff;
    }

    .bio {
        color: #f0f0f0;
    }

    .divider {
        color: #444;
    }

    .contact-section h2 {
        color: #f0f0f0;
    }

    .form-group label {
        color: #999;
    }

    .form-group input,
    .form-group textarea {
        background-color: #2a2a2a;
        border-color: #444;
        color: #f0f0f0;
    }

    .form-group input:focus,
    .form-group textarea:focus {
        border-color: #888;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: #666;
    }

    .contact-form button {
        background-color: #f0f0f0;
        color: #1a1a1a;
    }

    .contact-form button:hover {
        background-color: #ddd;
    }

    .contact-form button:disabled {
        background-color: #666;
        color: #999;
    }

    .form-status.success {
        color: #66bb6a;
    }

    .form-status.error {
        color: #ef5350;
    }

    footer {
        border-top-color: #333;
    }

    .copyright {
        color: #666;
    }

    .footer-links a {
        color: #999;
    }

    .footer-links a:hover {
        color: #fff;
    }
}
