
/* =========================================
   HARSH KUMAR - DEVELOPER PORTFOLIO
   HERO SECTION
========================================= */

/* GLOBAL RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* PAGE SETTINGS */

html {
    scroll-behavior: smooth;
}

body {
    background: #000;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* HERO SECTION */

.hero {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background: #000;

    display: flex;
    align-items: center;

    padding: 55px 24px;
}

/* LEFT CONTENT */

.hero-content {
    width: 62%;
    position: relative;
    z-index: 2;
}

/* MAIN HEADING */

.hero-title {
    font-family: Arial Black, Arial, sans-serif;
    font-size: clamp(42px, 5.2vw, 76px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -3px;
    text-transform: uppercase;
    color: #fff;
}

/* SUBTITLE */

.hero-subtitle {
    font-size: clamp(14px, 1.5vw, 20px);
    font-weight: 800;
    margin-top: 22px;
    letter-spacing: -0.5px;
}

/* BIO SECTION */

.hero-info {
    margin-top: 38px;
    max-width: 520px;
}

.hero-info h3 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.7px;
    margin-bottom: 15px;
}

.hero-bio p {
    color: #a5a5a5;
    font-size: 14px;
    line-height: 1.8;
    max-width: 470px;
}

/* SKILLS AND EDUCATION */

.hero-details {
    display: flex;
    gap: 85px;
    margin-top: 42px;
}

.hero-details p {
    color: #a5a5a5;
    font-size: 13px;
    line-height: 2;
}

/* RIGHT GEOMETRIC VISUAL */

.hero-visual {
    width: 38%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-diamond {
    width: min(36vw, 390px);
    aspect-ratio: 1 / 1;
    position: relative;

    clip-path: polygon(
        50% 0,
        100% 50%,
        50% 100%,
        0 50%
    );
}

.diamond-part {
    position: absolute;
    inset: 0;
}

/* YELLOW */

.diamond-yellow {
    background: #e9d529;

    clip-path: polygon(
        0 50%,
        50% 0,
        50% 100%
    );
}

/* BLUE */

.diamond-blue {
    background: #168fb8;

    clip-path: polygon(
        50% 0,
        100% 50%,
        50% 50%
    );
}

/* BEIGE */

.diamond-beige {
    background: #d9b89b;

    clip-path: polygon(
        50% 50%,
        100% 50%,
        50% 100%
    );
}

/* SOCIAL LINKS */

.hero-socials {
    position: absolute;
    right: 25px;
    bottom: 25px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
}

.hero-socials a {
    font-size: 10px;
    font-weight: 700;
    color: #aaa;

    transition: color 0.3s ease;
}

.hero-socials a:hover {
    color: #e9d529;
}

/* TABLET RESPONSIVENESS */

@media (max-width: 900px) {

    .hero {
        padding: 45px 20px;
    }

    .hero-content {
        width: 60%;
    }

    .hero-title {
        font-size: clamp(36px, 6vw, 55px);
        letter-spacing: -2px;
    }

    .hero-visual {
        width: 40%;
    }

    .hero-diamond {
        width: 32vw;
    }

    .hero-details {
        gap: 40px;
    }

    .hero-bio p {
        font-size: 13px;
    }
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 600px) {

    .hero {
        min-height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: 55px 20px 80px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-title {
        font-size: clamp(34px, 9vw, 52px);
        letter-spacing: -1.8px;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 13px;
        margin-top: 16px;
    }

    .hero-info {
        margin-top: 30px;
    }

    .hero-bio p {
        font-size: 13px;
        line-height: 1.7;
    }

    .hero-details {
        gap: 45px;
        margin-top: 30px;
    }

    .hero-details p {
        font-size: 12px;
    }

    .hero-visual {
        width: 100%;
        margin-top: 45px;
    }

    .hero-diamond {
        width: min(65vw, 280px);
    }

    .hero-socials {
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        margin-top: 45px;
    }
}

/* =========================================
   ABOUT SECTION
========================================= */

.about-section {
    min-height: 100vh;
    padding: 70px 5%;
    background: linear-gradient(120deg, #063d43, #12a6b2, #e9bc00);
    color: white;
    display: flex;
    align-items: center;
}

.about-container {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    background: #090909;
    border-radius: 28px;
    padding: 35px;
}

.about-top {
    display: flex;
    justify-content: space-between;
    color: #d9ff00;
    font-size: 11px;
}

.section-heading {
    font-size: 38px;
    margin: 45px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 55px;
}

.about-visual {
    min-height: 480px;
    background: #20aeb7;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual > span {
    font-size: 160px;
    font-weight: 900;
    color: #071719;
    z-index: 1;
}

.about-visual small {
    position: absolute;
    bottom: 25px;
    left: 25px;
    color: #071719;
    font-size: 11px;
    letter-spacing: 2px;
}

.visual-circle {
    width: 270px;
    height: 270px;
    border: 2px solid rgba(0,0,0,0.25);
    border-radius: 50%;
    position: absolute;
}

.about-content h3 {
    font-size: 25px;
    line-height: 1.3;
    margin-bottom: 25px;
}

.about-content p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.skills-area,
.education-area {
    margin-top: 35px;
}

.skills-area h4,
.education-area h4 {
    color: #d9ff00;
    font-size: 12px;
    margin-bottom: 18px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills-list span {
    border: 1px solid #444;
    padding: 10px 14px;
    font-size: 11px;
    color: #ddd;
}


/* =========================================
   PROJECTS SECTION
========================================= */

.projects-section {
    background: #080808;
    color: white;
    padding: 100px 5%;
}

.projects-header {
    margin-bottom: 60px;
}

.projects-header span {
    color: #d9ff00;
    font-size: 12px;
}

.projects-header h2 {
    font-size: clamp(50px, 8vw, 100px);
    line-height: 0.95;
    margin-top: 25px;
    letter-spacing: -4px;
}

.project-main,
.project-secondary {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 90px;
}

.project-preview {
    min-height: 390px;
    border-radius: 18px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.retrace-preview {
    background: linear-gradient(135deg, #123c42, #111);
    border: 1px solid #333;
}

.project-preview > span,
.freehour-preview > span {
    font-size: 11px;
    color: #d9ff00;
}

.project-preview h3 {
    font-size: 70px;
    margin-top: 100px;
}

.project-preview p {
    font-size: 12px;
}

.preview-symbol {
    position: absolute;
    right: 35px;
    top: 65px;
    font-size: 150px;
    font-weight: 900;
    color: rgba(255,255,255,0.08);
}

.project-description > span {
    color: #d9ff00;
    font-size: 11px;
}

.project-description h3 {
    font-size: 38px;
    margin: 20px 0;
}

.project-description p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.project-description .project-tech {
    font-size: 11px;
    color: #ddd;
    margin-top: 25px;
}

.project-description a {
    display: inline-block;
    border-bottom: 1px solid white;
    padding-bottom: 8px;
    margin-top: 15px;
    font-size: 12px;
}

.freehour-preview {
    min-height: 330px;
    background: #e7d326;
    color: #080808;
    border-radius: 18px;
    padding: 30px;
}

.freehour-preview h3 {
    font-size: 75px;
    line-height: 0.9;
    margin-top: 65px;
}

.freehour-preview p {
    margin-top: 20px;
    font-size: 11px;
}

.freehour-preview > span {
    color: #080808;
}

.development-label {
    display: inline-block;
    margin-top: 15px;
    padding: 10px;
    border: 1px solid #555;
}


/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    min-height: 100vh;
    background: #050505;
    padding: 30px 4%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-nav,
.contact-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.contact-nav {
    font-size: 12px;
}

.contact-box {
    min-height: 480px;
    border: 1px solid #444;
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(#171717, #080808);
    padding: 30px;
}

.contact-box > span {
    color: #aaa;
    font-size: 11px;
}

.contact-box h2 {
    font-size: clamp(45px, 8vw, 100px);
    font-weight: 400;
    letter-spacing: -4px;
    margin: 20px 0 35px;
}

.contact-button {
    border: 1px solid #aaa;
    border-radius: 50px;
    padding: 17px 25px;
    font-size: 11px;
    transition: 0.3s;
}

.contact-button:hover {
    background: white;
    color: black;
}

.contact-footer {
    font-size: 10px;
    color: #aaa;
}

.contact-footer div {
    display: flex;
    gap: 25px;
}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 700px) {

    .about-section {
        padding: 35px 15px;
    }

    .about-container {
        padding: 22px;
    }

    .about-grid,
    .project-main,
    .project-secondary {
        grid-template-columns: 1fr;
    }

    .about-visual {
        min-height: 300px;
    }

    .about-visual > span {
        font-size: 110px;
    }

    .projects-section {
        padding: 65px 20px;
    }

    .projects-header h2 {
        font-size: 55px;
    }

    .project-preview {
        min-height: 280px;
    }

    .project-preview h3 {
        font-size: 55px;
        margin-top: 75px;
    }

    .freehour-preview {
        min-height: 270px;
    }

    .freehour-preview h3 {
        font-size: 60px;
    }

    .contact-box {
        min-height: 350px;
    }

    .contact-box h2 {
        font-size: 45px;
        letter-spacing: -2px;
    }

    .contact-nav,
    .contact-footer {
        flex-wrap: wrap;
        font-size: 9px;
    }

    .contact-footer div {
        gap: 12px;
    }
}
.main-nav {
    position: fixed;
    top: 20px;
    right: 25px;
    z-index: 1000;
    display: flex;
    gap: 22px;
    background: #111;
    padding: 15px 22px;
    border-radius: 30px;
}

.main-nav a {
    color: white;
    font-size: 11px;
    font-weight: bold;
}

.main-nav a:hover {
    color: #d9ff00;
}

section {
    scroll-margin-top: 60px;
}

.retrace-preview {
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #f5f5f5;
}

.retrace-image {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
    object-position: top;
}

@media (max-width: 700px) {
    .retrace-image {
        height: auto;
    }
}

/* FREEHOUR PROJECT VISUAL */

.freehour-preview {
    min-height: 390px;
    padding: 25px;
    background: #e9d529;
    color: #080808;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.freehour-top {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 800;
}

.freehour-content {
    margin-top: 30px;
}

.freehour-tag {
    font-size: 10px;
    letter-spacing: 2px;
}

.freehour-content h3 {
    font-size: clamp(65px, 8vw, 105px);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -6px;
    margin: 20px 0;
}

.freehour-content h3 span {
    color: #168fb8;
}

.freehour-content p {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.activity-cards {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.activity-card {
    flex: 1;
    min-width: 0;
    background: #090909;
    color: white;
    padding: 13px 10px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    border-radius: 8px;
}

.activity-card span {
    color: #d9ff00;
    font-size: 10px;
}

.activity-card strong {
    font-size: 10px;
}

.activity-card small {
    color: #aaa;
    font-size: 8px;
}

@media (max-width: 700px) {
    .freehour-preview {
        min-height: 350px;
        padding: 18px;
    }

    .activity-cards {
        gap: 6px;
    }

    .activity-card {
        padding: 10px 6px;
    }

    .activity-card strong {
        font-size: 8px;
    }
}

