/* GENERAL */
body {
    font-family: 'Raleway', sans-serif;
    display: flex;
    height: 100vh;
    overflow: hidden;
    font-weight: 300;
}

html, body {
    height: 100%;
    position: relative;
    overflow-x: hidden;
}

.img-info {
    width: 50%;
    padding: 0 10px;
}

p {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #515151;
    margin-bottom: 1em;
    line-height: 1.6;
    font-weight: 350;
}

/* About me  -------------------------------------------------------------------------------------------------- */
.about-wrapper {
    display: flex;
    gap: 0px;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    width: 48%;
    margin-top: -20px;
}

.about-intro {
    font-size: 20px; 
    line-height: 1.5;
}  

.about-image {
    width: 48%;
}

/* Make solo image fit well */
.about-image .img-solo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.about-links {
    margin-top: 15px;
    font-size: 16px;
}

.about-links a {
    color: #0073e6; 
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s ease;
    font-weight: 600;
}

.about-links a:hover {
    color: #005bb5; 
    text-decoration: underline;
}

/* --- NAV BAR -------------------------------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 225px;
    height: 100vh;
    background-color: white;
    padding: 20px;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    z-index: 1000;
    flex-shrink: 0;

    /* Add transition and default transform */
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform: translateX(0);
}

.navbar.hidden {
    transform: translateX(-100%);
}

.img-original {
    width: 100%;
    height: auto;
    max-width: 100%;
    padding: 15px 0 60px;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.nav-button {
    font-family: 'Raleway', sans-serif;
    background: none;
    border: none;
    color: #828282;
    font-size: 16px;
    text-align: left;
    padding: 8px 12px;
    cursor: pointer;
    width: 100%;
}

.nav-button:hover {
    background-color: #f0f0f0;
}

.nav-section-title {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    font-size: 18px;
    padding: 8px 12px;
    color: #000000;
}

/* --- MAIN CONTENT AREA  ------------------------------------------------------------------------ */
.main-content {
    max-width: 100vw;
    margin-left: 250px; 
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    box-sizing: border-box;
    flex-grow: 1;
    scroll-behavior: smooth;
}

/* ---- FLEX IMAGE ROWS ---- */
.image-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.image-row img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* ---- SPECIFIC IMAGE STYLES ---- */
.img-solo {
    width: 50%;
    padding: 0 10px;
    object-fit: contain;
}

.img-Icon-Logos,
.img-Icon-Sketches,
.img-Identity-Logo,
.img-Magazine-All,
.img-Event-Collateral,
.img-Hack404-Signage,
.img-Hack404-Figma,
.img-Exhibition-Works {
    width: 100%;
    padding: 0 10px;
}

.img-Exhibition-Me {
    width: 60%;
    padding: 0 10px;
}

/* Scroll target section */
.content-section {
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 0;
}

.content-section h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 35px;
    margin-bottom: 20px;
    color: #111;
    font-weight: 500;
}

.content-section h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    margin-bottom: 0px;
    color: #000000;
    font-weight: 500;
    padding-top: 30px;
}


/* --- HAMBURGER MENU (for mobile) ----------------------------------------------------------------------------- */
.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 30px;
    cursor: pointer;
    z-index: 1100;
}

body.nav-open .hamburger {
    display: none;
}

/* --- RESPONSIVE ---------------------------------------------------------------------------------------------- */
@media only screen and (max-width: 925px) {
    body {
        flex-direction: column;
    }

    body, html {
        overflow-x: hidden;
      }
      .main-content {
        max-width: 100vw;
        padding-left: 1rem; /* optional */
        padding-right: 1rem; /* optional */
    }

    /* about me*/
    .about-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .about-text,
    .about-image {
        width: 90%;
    }

    .navbar {
        position: fixed;
        width: 225px;
        z-index: 1000;
    }

    .navbar.open {
        transform: translateX(0);
    }

    .hamburger {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding-left: 40px; 
    }

    .img-info {
        width: 100%;
        padding: 0 10px;
    }

    .img-solo {
        width: 90%;
        padding: 0 10px;
        display: block;
        margin: 20px auto 0; 
    }

    p {
        font-family: 'Raleway', sans-serif;
        font-size: 16px;
        color: #515151;
        margin-bottom: 1em;
        line-height: 1.6;
    }
    
    .img-Laptop-Charger-Sketch,
    .img-Power-Bank-Sketch,
    .img-Battery-Sketch,
    .img-Exhibition-Me {
        width: 90%;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }
}

.circle {
    position: fixed;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgb(102, 102, 102);
    opacity: 0.7;
    pointer-events: none;
    transition: all 0.1s ease;
    top: 0;
    left: 0;
    z-index: 2000;
  }