/* ----- RESUME.CSS ----- */

/* -------------------------------------------- */
/* GLOBAL LAYOUT                                */
/* -------------------------------------------- */
html, body {
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

/* -------------------------------------------- */
/* HEADER                                       */
/* -------------------------------------------- */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: black;
    z-index: 1500;
    padding: 10px 0;
}

#site-title {
    font-size: clamp(36px, 4vw, 60px);
    margin: 10px 0 0 75px;
}

#site-subtitle {
    font-size: clamp(24px, 3vw, 40px);
    margin: 10px 0 0 75px;
}

/* -------------------------------------------- */
/* SOCIAL BAR                                   */
/* -------------------------------------------- */
#social-bar {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 4px;
    z-index: 2000;
}

#social-bar a {
    width: clamp(28px, 6vw, 42px);
}

#social-bar img {
    width: 100%;
    transition: 0.2s;
}

#social-bar img:hover {
    filter: brightness(1.5);
    transform: scale(1.1);
}

.about-link {
    position: relative;
    top: -7px;
}

/* -------------------------------------------- */
/* MAIN CONTENT                                 */
/* -------------------------------------------- */
#main-content {
    padding: clamp(20px, 3vw, 60px);
    padding-top: 180px;
}

/* Resume container */
.image-column {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden; /* THIS makes the SVG respect the rounded corners */
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* SVG */
.resume-svg {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: auto;
}

/* -------------------------------------------- */
/* OVERLAY                                      */
/* -------------------------------------------- */
#image-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#image-overlay.active {
    display: flex;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.overlay-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255,255,255,0.9);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* -------------------------------------------- */
/* FOOTER                                       */
/* -------------------------------------------- */
#site-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    padding: clamp(3px, 1vw, 6px) clamp(6px, 2vw, 12px);
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: clamp(10px, 2.5vw, 14px);
    letter-spacing: 0.5px;
    background-color: black;
    z-index: 100;
}

#site-footer .logo {
    width: clamp(50px, 5vw, 80px);
    opacity: 0.8;
}

#site-footer p {
    margin: 0;
    opacity: 0.85;
    text-align: right;
    flex: 1;
}

/* -------------------------------------------- */
/* RESPONSIVE                                   */
/* -------------------------------------------- */
@media (max-width: 600px) {

    #site-header {
        height: 130px;
    }

    #site-title {
        margin: 16px 0 0 0;
        text-align: center;
    }

    #site-subtitle {
        margin: 0 10px;
        text-align: center;
        font-size: 24px;
    }

    #social-bar {
        top: 125px;
        right: 0;
        width: 100%;
        justify-content: center;
        background-color: black;
    }
}