/* --- FONT DEFINITIONS --- */
@font-face {
    font-family: 'YAEEKFXsRzg-0'; /* Signature Font */
    src: url('fonts/f1d6aa500df57aeb5761bc94808fb281.woff2') format('woff2');
}

@font-face {
    font-family: 'YAFcfr0ZwUA-0'; /* Serif Font */
    src: url('fonts/161d1b56460d09660b2114be20502ca2.woff2') format('woff2');
}

@font-face {
    font-family: 'YAFcfuZZeUg-0'; /* Sans-Serif Regular & Bold */
    src: url('fonts/98aed3b349458a8d156efce96bc5d9d7.woff2') format('woff2');
    font-weight: normal;
}

@font-face {
    font-family: 'YAFcfuZZeUg-0'; /* Sans-Serif Bold */
    src: url('fonts/4726124a828759239125c3278c6c0b49.woff2') format('woff2');
    font-weight: bold;
}

@font-face {
    font-family: 'YACgEZ1cb1Q-0'; /* Display Font */
    src: url('fonts/f8f199f09526f79e87644ed227e0f651.woff2') format('woff2');
}

@font-face {
    font-family: 'YAEp1C81UGk-0'; /* Button Font */
    src: url('fonts/5c612a870b96ecbc73de2d0a0f12bbc9.woff2') format('woff2');
    font-weight: 700;
}

/* --- GENERAL STYLES --- */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh; /* Use viewport height */
    font-family: 'YAFcfuZZeUg-0', sans-serif;
    background-color: #000;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 4vw;
    box-sizing: border-box;
}

/* --- LEFT PANEL --- */
.left-panel {
    width: 50%;
    text-align: center;
    padding-right: 4vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 4vw;
}

.intro h1 {
    font-family: 'YAEEKFXsRzg-0', cursive;
    /* Fluid font size: scales between 24px and 48px */
    font-size: clamp(24px, 3.2vw, 48px);
    font-weight: normal;
    margin: 5;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.intro p {
    font-family: 'YAFcfr0ZwUA-0', serif;
    /* Fluid font size: scales between 14px and 18px */
    font-size: clamp(14px, 1.5vw, 18px);
    margin-top: 5px;
}

.profile-image {
    margin: 2vh 0;
}

.profile-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.connect p {
    font-family: 'YACgEZ1cb1Q-0', sans-serif;
    font-size: clamp(14px, 1.5vw, 18px);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons img {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease-in-out;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

/* --- RIGHT PANEL --- */
.right-panel {
    width: 50%;
    padding-left: 4vw;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 4vw;
}

.right-panel h2 {
    font-family: 'YAFcfuZZeUg-0', sans-serif;
    font-weight: bold;
    font-size: clamp(14px, 1.5vw, 18px);
    margin-bottom: 5px;
}

.right-panel h3 {
    font-family: 'YAFcfuZZeUg-0', sans-serif;
    font-size: clamp(26px, 3vw, 36px);
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: normal;
    letter-spacing: -0.02em;
}

.right-panel p {
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.6;
    margin: 2px 0;
}

section {
    margin-bottom: 2.5vh;
}

.details-entry {
    display: flex;
    align-items: flex-start;
}

.year {
    font-weight: bold;
    margin-right: 20px;
    min-width: 45px;
    font-size: clamp(12px, 1.1vw, 15px);
}

.resume-button {
    display: inline-block;
    background-color: #69005a;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-family: 'YAEp1C81UGk-0', sans-serif;
    font-weight: 700;
    font-size: clamp(12px, 1.1vw, 15px);
    margin-top: 2vh;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    float: right;
    width: auto;
    min-width: unset;
    max-width: 180px;
    align-self: flex-end;
}

.resume-button:hover {
    background-color: #8a0073;
}

/* --- RESPONSIVE STYLES for mobile --- */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        padding: 5vh 5vw;
        justify-content: center;
    }
    .left-panel, .right-panel {
        width: 100%;
        padding: 0;
        height: auto;
        max-height: 50vh; /* Split screen height */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .left-panel {
        padding-bottom: 2vh;
    }
    .right-panel {
        padding-top: 2vh;
    }
    .intro h1 {
        font-size: clamp(20px, 5vw, 32px);
    }
    .intro p {
        font-size: clamp(12px, 2.5vw, 16px);
    }
    .profile-image {
        margin: 1.5vh 0;
    }
    .profile-image img {
        max-width: 25vh; /* Scale with viewport height */
        max-height: 18vh;
        width: auto;
    }
    .connect p {
        font-size: clamp(12px, 2.5vw, 16px);
        margin-bottom: 1vh;
    }
    .right-panel h3 {
        font-size: clamp(18px, 4vw, 24px);
        margin-bottom: 1vh;
    }
    .right-panel p {
        font-size: clamp(10px, 2vw, 13px);
        line-height: 1.4;
    }
    section {
        margin-bottom: 1.5vh;
    }
    .resume-button {
        padding: 8px 20px;
        font-size: clamp(11px, 2.2vw, 14px);
        margin-top: 1.5vh;
    }
}
