/* Base Styles */
:root {
    --text-color: #000000;
    --bg-color: #ffffff;
    --menu-text-color: #aaaaaa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

/* Header */
.site-header, .overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--bg-color);
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 0;
    z-index: 50;
}

.menu-toggle, .menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1rem;
}

.spacer {
    width: 40px; /* Balances the layout against the menu icon */
}

/* Full Screen Navigation Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateY(0);
}

.overlay-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 4rem;
    flex-grow: 1;
    gap: 2rem;
}

.overlay-nav a {
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--menu-text-color);
    transition: color 0.2s ease;
}

.overlay-nav a:hover {
    color: var(--text-color);
}

/* Home Page: Gallery Stack */
.gallery-stack {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.gallery-link {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-link img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

.gallery-label {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 300;
}

/* Internal Pages: About & Contact */
.page-content {
    max-width: 600px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.profile-pic {
    width: 100%;
    height: auto;
    margin-bottom: 3rem;
}

.text-block {
    margin-bottom: 3rem;
}

.text-block h2 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.text-block p {
    line-height: 1.6;
    font-size: 1rem;
    color: #444444;
}

.text-center {
    text-align: center;
}

.email-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 2px;
}