@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&display=swap');

:root {
    --walnut-dark: #3e2615;
    --walnut: #6b4226;
    --walnut-light: #9c6b3e;
    --metal-light: #eef0f2;
    --metal-mid: #aeb3ba;
    --metal-dark: #565b62;
    --brass: #b8893f;
    --brass-light: #d9b36c;
    --parchment: #f1e6cf;
    --ink: #2b1b12;
    --linen: #e8ddc8;
    --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* {
    box-sizing: border-box;
}

p, h1, h2, h3, h4, h5, h6, button {
    font-family: "Roboto", serif;
}

body {
    background-color: var(--linen);
    background-image: var(--noise);
    background-blend-mode: soft-light;
    width: auto;
    overflow-x: hidden;
    font-family: "Roboto", serif;
    margin: 0px;
    color: var(--ink);
}

/* ---------- NAV: brushed aluminum panel ---------- */

.nav-bar {
    width: 100%;
    display: inline-block;
    position: relative;
    background:
    var(--noise),
    repeating-linear-gradient(100deg, rgba(255,255,255,0.18) 0px, rgba(255,255,255,0.18) 1px, transparent 1px, transparent 3px),
    linear-gradient(180deg, var(--metal-light) 0%, var(--metal-mid) 55%, var(--metal-dark) 100%);
    background-blend-mode: soft-light, normal, normal;
    font-family: "Roboto", serif;
    font-weight: 700 !important;
    padding: 14px 24px;
    border-bottom: 3px solid var(--metal-dark);
    box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -6px 10px -6px rgba(0,0,0,0.35),
    0 4px 10px rgba(0,0,0,0.25);
}

.nav-bar::before,
.nav-bar::after {
    content: "";
    position: absolute;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--brass-light), var(--brass) 60%, #7a5723 100%);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.6), 0 1px 2px rgba(0,0,0,0.5);
}

.nav-bar::before { left: 14px; }
.nav-bar::after { right: 14px; }

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.nav-content .logo-touch-target {
    display: inline-flex;
    height: 60%;
    width: 350px;
}

.nav-content .nav-logo {
    height: 60px;
    margin: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo img {
    width: 200px;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.35));
}

.nav-content nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-content nav a {
    font-family: "Oswald", "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--walnut-dark);
    padding: 10px 20px;
    border-radius: 6px;
    background: linear-gradient(180deg, var(--brass-light), var(--brass) 70%, #8a611f);
    border: 1px solid #7a5723;
    box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -2px 3px rgba(0,0,0,0.25),
    0 2px 4px rgba(0,0,0,0.3);
    text-shadow: 0 1px 0 rgba(255,255,255,0.35);
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.nav-content nav a:hover {
    background: linear-gradient(180deg, #e6c483, var(--brass) 70%, #8a611f);
}

.nav-content nav a:active {
    transform: translateY(1px);
    box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.4),
    inset 0 -1px 0 rgba(255,255,255,0.2);
}

/* ---------- PROFILE: walnut panel with brass-framed portrait ---------- */

.profile {
    position: relative;
    text-align: center;
    padding: 50px 20px 40px;
    margin-bottom: 50px;
    background:
    var(--noise),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.05) 0px, rgba(0,0,0,0.05) 2px, transparent 2px, transparent 6px),
    linear-gradient(180deg, var(--walnut-light), var(--walnut) 55%, var(--walnut-dark));
    background-blend-mode: soft-light, normal, normal;
    box-shadow: inset 0 -8px 16px -10px rgba(0,0,0,0.6), 0 3px 8px rgba(0,0,0,0.3);
}

.profile h1 {
    font-family: "Oswald", "Roboto", sans-serif;
    font-size: 46px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--parchment);
    text-shadow: 0 1px 0 rgba(255,255,255,0.15), 0 2px 3px rgba(0,0,0,0.6);
    margin: 0;
}

.profile .profile-picture {
    margin: 0 auto 24px;
    height: 200px;
    width: 200px;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(145deg, var(--brass-light), var(--brass) 60%, #7a5723);
    box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.5),
    inset 0 -2px 4px rgba(0,0,0,0.4),
    0 6px 14px rgba(0,0,0,0.45);
}

.profile img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* ---------- CONTENT SECTIONS: parchment plaques on linen ---------- */

.about,
.experience,
.education,
.travel-map {
    max-width: 860px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.about h2,
.experience h2,
.education h2,
.travel-map h2,
.page-header h1 {
    font-family: "Oswald", "Roboto", sans-serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--walnut-dark);
    border-bottom: 3px solid var(--brass);
    padding-bottom: 8px;
    margin-bottom: 22px;
}

.about p {
    background:
    var(--noise),
    linear-gradient(180deg, var(--parchment), #e8d8b3);
    background-blend-mode: soft-light, normal;
    border: 1px solid #cdb685;
    border-radius: 4px;
    padding: 24px 28px;
    line-height: 1.6;
    box-shadow:
    inset 0 0 0 6px rgba(255,255,255,0.15),
    0 4px 10px rgba(0,0,0,0.15);
}

.experience-card,
.education-card,
.hobby-card {
    position: relative;
    background:
    var(--noise),
    linear-gradient(180deg, var(--parchment), #e8d8b3);
    background-blend-mode: soft-light, normal;
    border: 1px solid #cdb685;
    border-left: 6px solid var(--brass);
    border-radius: 4px;
    padding: 18px 22px;
    margin-bottom: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.experience-card::before,
.education-card::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--metal-light), var(--metal-mid) 60%, var(--metal-dark) 100%);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.6), 0 1px 1px rgba(0,0,0,0.4);
}

.experience-card h3,
.education-card h3,
.hobby-card h3 {
    font-family: "Oswald", "Roboto", sans-serif;
    font-size: 19px;
    letter-spacing: 0.02em;
    color: var(--walnut-dark);
    margin: 0 0 6px;
}

.dates {
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7a6a4d;
    margin: 0 0 10px;
}

/* ---------- HOBBIES PAGE ---------- */

.page-header {
    max-width: 860px;
    margin: 40px auto 10px;
    padding: 0 20px;
}

.hobbies-list {
    max-width: 860px;
    margin: 0 auto 50px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.hobby-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #cdb685;
    box-shadow: inset 0 0 0 4px rgba(255,255,255,0.2);
    margin-bottom: 12px;
}

/* ---------- TRAVEL MAP: framed in wood ---------- */

.travel-map #map {
    height: 400px;
    border-radius: 4px;
    border: 10px solid var(--walnut);
    box-shadow:
    inset 0 0 0 3px var(--brass),
    0 6px 16px rgba(0,0,0,0.3);
}

/* ---------- BANNER (legacy, kept consistent with theme) ---------- */

.banner {
    padding: 20px 0px 50px 0px;
    height: 150px;
    background: linear-gradient(180deg, var(--walnut-light), var(--walnut-dark));
}

.banner .logo {
    max-width: 180px;
    max-height: 60px;
    width: auto;
    height: auto;
}

.banner .title {
    font-family: "Oswald", "Roboto", sans-serif;
    color: var(--parchment);
    font-size: 50px;
    font-weight: 700;
    text-shadow: 0 2px 3px rgba(0,0,0,0.5);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 640px) {
    .nav-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-content nav {
        width: 100%;
    }

    .profile h1 {
        font-size: 32px;
    }
}
