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

body {
    background-color: #f5f5f9;
    background-size: cover;
    width: auto;
    overflow-x: hidden;
    font-family: "Roboto", serif;
    margin: 0px;
}

/* ── Nav ── */
.nav-bar {
    width: 100%;
    background-color: #1C539F;
    font-family: "Roboto", serif;
    box-sizing: border-box;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 32px;
    max-width: 1100px;
    margin: 0 auto;
}

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

.nav-logo img {
    width: 160px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: color 0.15s;
}

.nav-links a:hover {
    color: white;
}

/* ── Profile ── */
.profile {
    background-color: #1d539f !important;
    text-align: center;
    padding: 32px 20px 36px;
    margin-bottom: 50px;
}

.profile h1 {
    font-size: 32px;
    font-weight: 400;
    color: white;
    letter-spacing: 1.5px;
    margin: 8px 0 4px;
}

.profile-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.5px;
    margin: 0;
    font-weight: 300;
}

.profile img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.profile .profile-picture {
    margin-bottom: 14px;
}

/* ── About ── */
.about {
    max-width: 800px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.about h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1C539F;
    margin-bottom: 16px;
}

.about p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

/* ── Sections ── */
.section {
    padding: 40px 20px;
    scroll-margin-top: 64px;
}

.section:nth-child(odd) {
    background-color: #fff;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1C539F;
    margin-bottom: 24px;
}

/* ── Cards ── */
.card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    background-color: #fff;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #222;
}

.card .company {
    font-weight: 500;
    color: #555;
    margin: 4px 0 0 0;
}

.card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.duration {
    font-size: 14px;
    color: #888;
    white-space: nowrap;
}

.location {
    font-size: 13px;
    color: #aaa;
    font-weight: 400;
}

/* ── Hobbies link (main page) ── */
.hobbies-link {
    display: inline-block;
    background-color: #1C539F;
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    transition: background-color 0.15s;
}

.hobbies-link:hover {
    background-color: #164080;
}

/* ── Hobbies page ── */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 20px;
}

.hobby-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hobby-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.hobby-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.hobby-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 14px 0 4px;
    color: #222;
}

.hobby-card p {
    font-size: 13px;
    color: #777;
    padding: 0 14px 16px;
    margin: 0;
    line-height: 1.5;
}

/* ── Map ── */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    width: 100%;
    height: 420px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ── Location tags ── */
.location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.location-tags span {
    background-color: white;
    color: #1C539F;
    border: 1px solid #d0d8e8;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
}

/* ── Back link (hobbies page) ── */
.back-link {
    display: inline-block;
    margin: 24px 0 40px;
    color: #1C539F;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* ── Legacy banner (unused but kept) ── */
.banner {
    padding: 20px 0px 50px 0px;
    height: 150px;
    background-color: #1d539f;
}

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

.banner .title {
    color: white;
    font-size: 50px;
    font-weight: 700;
}
