/* Reset and basic styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: #fafafa;
    color: #2b2b2b;
    line-height: 1.6;
}

/* Navigation Bar */
nav {
    background-color: #ffffff;
    padding: 25px 0;
    border-bottom: 1px solid #e0e0e0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: right;
    gap: 45px;
    padding: 0 60px;
    max-width: 1200px;
    margin: 0 auto;
}

nav a {
    color: #2b2b2b;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #1a5490;
}

/* Main Container */
main {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 40px;
    display: flex;
    gap: 60px;
}

/* Left Column: Picture and Info Box */
.left-column {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 35px;
    background-color: transparent;
}

.picture-box {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    overflow: visible; /* keeps image inside the octagon */
    clip-path: polygon(
        30% 0%, 70% 0%,    /* top-left, top-right */
        100% 30%, 100% 70%,/* right-top, right-bottom */
        70% 100%, 30% 100%,/* bottom-right, bottom-left */
        0% 70%, 0% 30%     /* left-bottom, left-top */
    ); /* octagon shape */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.picture-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* fills the octagon container */
    display: block;    /* removes inline spacing */
}


.info-box {
    width: 100%;
    padding: 0;
}

.info-box h3 {
    font-size: 14px;
    margin-bottom: 6px;
    margin-top: 22px;
    color: #1a5490;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-box h3:first-child {
    margin-top: 0;
}

.info-box p {
    font-size: 15px;
    margin-bottom: 18px;
    color: #4a4a4a;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Right Column: Name and About Me */
.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.name-box {
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 30px;
}

.name-box h1 {
    font-size: 38px;
    margin-bottom: 18px;
    color: #1a1a1a;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.info-a {
    font-size: 16px;
    line-height: 1.9;
    color: #4a4a4a;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.about-box {
    flex: 1;
    padding: 0;
}

.about-box h2 {
    font-size: 22px;
    margin-bottom: 25px;
    text-align: left;
    color: #1a1a1a;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.about-box p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
    color: #3a3a3a;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    main {
        flex-direction: column;
        gap: 40px;
    }

    .left-column {
        width: 100%;
        align-items: center;
    }

    nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 25px;
        padding: 0 20px;
    }
}