@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


:root {
    --bg: #080808;
    --surface: #111111;
    --surface-light: #171717;
    --border: #272727;

    --text: #f5f5f5;
    --muted: #a3a3a3;

    --accent: #d4a62a;
    --accent-light: #f0c75e;

    --max-width: 1150px;
}


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


html {
    scroll-behavior: smooth;
}


body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}


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


button {
    font-family: inherit;
}


img {
    max-width: 100%;
    display: block;
}


/* =========================
   NAVIGATION
========================= */


.topnav {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 76px;

    display: flex;
    align-items: center;

    padding: 0 5%;

    background: rgba(8, 8, 8, 0.92);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(12px);

    z-index: 1000;
}


.logo {
    font-size: 1.4rem;
    font-weight: 800;

    margin-right: auto;
}


.logo span {
    color: var(--accent);
}


.desktop-nav {
    display: flex;
    gap: 35px;
}


.desktop-nav a {
    color: var(--muted);

    font-size: 0.9rem;

    transition: 0.25s;
}


.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--accent-light);
}


.social-link {
    display: flex;
    gap: 18px;

    margin-left: 40px;
}


.social-link a {
    color: var(--muted);

    font-size: 1.15rem;

    transition: 0.25s;
}


.social-link a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}


.menu-icon {
    display: none;

    border: none;
    background: none;

    color: white;

    font-size: 1.5rem;

    cursor: pointer;

    margin-left: 20px;
}


.mobile-nav {
    display: none;
}


/* =========================
   HERO
========================= */


.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 120px 8% 70px;

    background:
        linear-gradient(
            90deg,
            rgba(8,8,8,0.98),
            rgba(8,8,8,0.82),
            rgba(8,8,8,0.65)
        ),
        url("background1.jpg");

    background-size: cover;
    background-position: center;
}


.hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;
}


.hero-image {
    width: 105px;
    height: 105px;

    margin-bottom: 30px;
}


.hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    border: 3px solid var(--accent);
}


.eyebrow {
    color: var(--accent);

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 18px;
}


.hero h1 {
    font-size: clamp(2.7rem, 7vw, 5.8rem);

    line-height: 1.02;

    letter-spacing: -3px;

    max-width: 850px;

    margin-bottom: 25px;
}


.hero h1 span {
    display: block;

    color: var(--accent);
}


.hero-description {
    color: var(--muted);

    max-width: 650px;

    font-size: 1.05rem;

    margin-bottom: 35px;
}


.hero-buttons {
    display: flex;
    gap: 15px;

    flex-wrap: wrap;
}


.btn {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    padding: 13px 22px;

    border-radius: 8px;

    font-size: 0.9rem;

    font-weight: 600;

    transition: 0.25s;
}


.btn.primary {
    background: var(--accent);

    color: #111;
}


.btn.primary:hover {
    background: var(--accent-light);

    transform: translateY(-2px);
}


.btn.secondary {
    border: 1px solid var(--border);

    color: white;

    background: rgba(255,255,255,0.03);
}


.btn.secondary:hover {
    border-color: var(--accent);

    color: var(--accent);
}


.quick-links {
    display: flex;

    gap: 25px;

    margin-top: 45px;

    flex-wrap: wrap;
}


.quick-links a {
    color: var(--muted);

    font-size: 0.85rem;

    transition: 0.25s;
}


.quick-links a:hover {
    color: var(--accent);
}


.quick-links i {
    margin-right: 7px;
}


/* =========================
   GENERAL PAGES
========================= */


.page {
    min-height: 100vh;

    padding: 130px 5% 80px;
}


.section-heading {
    max-width: 800px;

    margin-bottom: 60px;
}


.section-heading h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);

    line-height: 1.1;

    letter-spacing: -2px;

    margin-bottom: 20px;
}


.section-heading > p:last-child {
    color: var(--muted);

    font-size: 1rem;

    max-width: 650px;
}


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


.about-page {
    max-width: var(--max-width);

    margin: auto;
}


.about-grid {
    display: grid;

    grid-template-columns: 1.4fr 0.8fr;

    gap: 70px;

    margin-bottom: 80px;
}


.about-text p {
    color: #c9c9c9;

    margin-bottom: 22px;

    font-size: 1rem;
}


.skills-box {
    background: var(--surface);

    border: 1px solid var(--border);

    padding: 30px;

    border-radius: 14px;

    height: fit-content;
}


.skills-box h2 {
    margin-bottom: 25px;

    font-size: 1.2rem;
}


.skills {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}


.skills span,
.tech-stack span {
    padding: 6px 10px;

    border: 1px solid #333;

    background: var(--surface-light);

    color: #d4d4d4;

    border-radius: 6px;

    font-size: 0.75rem;
}


.experience {
    border-top: 1px solid var(--border);

    padding-top: 55px;
}


.experience-card {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    background: var(--surface);

    border: 1px solid var(--border);

    padding: 25px;

    border-radius: 12px;
}


.experience-card h2 {
    font-size: 1.15rem;
}


.company {
    color: var(--accent);

    margin-top: 4px;
}


.experience-type {
    color: var(--muted);

    font-size: 0.8rem;
}


.experience-list {
    margin-top: 25px;

    padding-left: 20px;

    color: var(--muted);
}


.experience-list li {
    margin-bottom: 12px;
}


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


.projects-page {
    max-width: var(--max-width);

    margin: auto;
}


.projects-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}


.project-card {
    position: relative;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 14px;

    padding: 30px;

    transition:
        transform 0.25s,
        border-color 0.25s;
}


.project-card:hover {
    transform: translateY(-5px);

    border-color: #5a4b22;
}


.project-card.featured {
    border-color: #4c401f;
}


.project-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;
}


.project-number {
    color: #555;

    font-size: 0.8rem;

    font-weight: 700;
}


.project-status {
    color: var(--accent);

    font-size: 0.7rem;

    border: 1px solid #4d401d;

    padding: 4px 8px;

    border-radius: 20px;
}


.project-icon {
    font-size: 1.8rem;

    color: var(--accent);

    margin-bottom: 18px;
}


.project-card h2 {
    font-size: 1.35rem;

    margin-bottom: 12px;
}


.project-card p {
    color: var(--muted);

    font-size: 0.9rem;

    line-height: 1.7;

    margin-bottom: 22px;
}


.tech-stack {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 25px;
}


.project-links {
    display: flex;

    gap: 20px;

    flex-wrap: wrap;
}


.project-links a {
    color: var(--accent);

    font-size: 0.8rem;

    font-weight: 600;
}


.project-links a:hover {
    color: var(--accent-light);
}


.projects-cta {
    margin-top: 80px;

    padding: 55px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 15px;

    text-align: center;
}


.projects-cta h2 {
    font-size: 2rem;

    margin-bottom: 25px;
}


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


.contact-page {
    max-width: 900px;

    margin: auto;
}


.contact-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}


.contact-card {
    display: flex;

    align-items: center;

    gap: 20px;

    padding: 25px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 12px;

    transition: 0.25s;
}


.contact-card:hover {
    border-color: #66551e;

    transform: translateY(-3px);
}


.contact-card > i {
    color: var(--accent);

    font-size: 1.6rem;

    width: 35px;

    text-align: center;
}


.contact-card h2 {
    font-size: 1rem;

    margin-bottom: 4px;
}


.contact-card p {
    color: var(--muted);

    font-size: 0.85rem;
}


.availability {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 50px;

    color: #aaa;

    font-size: 0.85rem;
}


.availability span {
    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #55b86a;

    box-shadow: 0 0 10px #55b86a;
}


/* =========================
   MOBILE
========================= */


@media(max-width: 800px) {


    .topnav {
        height: 68px;

        padding: 0 20px;
    }


    .desktop-nav,
    .topnav .social-link {
        display: none;
    }


    .menu-icon {
        display: block;
    }


    .mobile-nav {
        position: fixed;

        top: 68px;

        left: 0;

        width: 100%;

        display: flex;

        flex-direction: column;

        background: #0c0c0c;

        border-bottom: 1px solid var(--border);

        z-index: 999;

        transform: translateY(-150%);

        transition: 0.3s;
    }


    .mobile-nav.open {
        transform: translateY(0);
    }


    .mobile-nav a {
        padding: 17px 25px;

        border-bottom: 1px solid var(--border);

        color: #ccc;
    }


    .mobile-nav a:hover {
        color: var(--accent);
    }


    .hero {
        padding: 110px 25px 60px;

        min-height: 100vh;
    }


    .hero h1 {
        font-size: 3rem;

        letter-spacing: -1.5px;
    }


    .hero-description {
        font-size: 0.95rem;
    }


    .page {
        padding: 105px 20px 60px;
    }


    .section-heading {
        margin-bottom: 40px;
    }


    .section-heading h1 {
        font-size: 2.5rem;
    }


    .about-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .projects-grid {
        grid-template-columns: 1fr;
    }


    .contact-grid {
        grid-template-columns: 1fr;
    }


    .experience-card {
        align-items: flex-start;

        flex-direction: column;
    }


    .projects-cta {
        padding: 35px 20px;
    }


}


@media(max-width: 450px) {


    .hero h1 {
        font-size: 2.4rem;
    }


    .hero-buttons {
        flex-direction: column;
    }


    .btn {
        justify-content: center;
    }


    .quick-links {
        gap: 15px;
    }


}
/* =====================================================
   MODERN PORTFOLIO PAGE
===================================================== */

.portfolio-page {
    min-height: calc(100vh - 80px);
    background:
        radial-gradient(circle at 80% 20%, rgba(218, 165, 32, 0.08), transparent 30%),
        #080808;
    color: #fff;
    display: flex;
}


/* ================= SIDEBAR ================= */

.portfolio-page .sidebar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 260px;
    height: calc(100vh - 80px);
    z-index: 100;
}

.profile p {
    color: #999;
    font-size: 13px;
    margin-top: -8px;
}


.side-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 30px;
    gap: 8px;
}

.side-nav a {
    color: #bbb;
    padding: 12px 15px;
    border-radius: 8px;
    transition: 0.3s ease;
}

.side-nav a i {
    width: 25px;
    color: goldenrod;
}

.side-nav a:hover,
.side-nav a.active {
    background: rgba(218, 165, 32, 0.1);
    color: #fff;
    transform: translateX(5px);
}


/* ================= PROJECT AREA ================= */

.projects-area {
    margin-left: 260px;
    width: calc(100% - 260px);
    padding: 70px 7%;
    min-height: calc(100vh - 80px);
}


/* ================= HEADING ================= */

.projects-heading {
    max-width: 750px;
    margin-bottom: 55px;
}

.section-label {
    color: goldenrod;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.projects-heading h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin: 12px 0 20px;
    color: #fff;
}

.projects-heading p {
    color: #999;
    font-size: 1.1rem;
    line-height: 1.7;
}


/* ================= PROJECT GRID ================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 25px;
}


/* ================= PROJECT CARD ================= */

.portfolio-page .project-card {
    position: relative;
    background: linear-gradient(
        145deg,
        rgba(30, 30, 30, 0.95),
        rgba(12, 12, 12, 0.95)
    );

    border: 1px solid #292929;
    border-radius: 18px;

    padding: 30px;

    min-height: 430px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;

    overflow: hidden;
}


.portfolio-page .project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: goldenrod;

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.3s ease;
}


.portfolio-page .project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(218, 165, 32, 0.5);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45);
}


.portfolio-page .project-card:hover::before {
    transform: scaleX(1);
}


/* ================= FEATURED PROJECT ================= */

.portfolio-page .project-card.featured {
    grid-column: span 2;

    min-height: 400px;

    background:
        linear-gradient(
            135deg,
            rgba(218, 165, 32, 0.08),
            rgba(20, 20, 20, 0.95) 45%
        );
}


.featured-label {
    display: inline-block;

    margin-bottom: 12px;

    padding: 5px 10px;

    border: 1px solid rgba(218, 165, 32, 0.4);
    border-radius: 20px;

    color: goldenrod;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ================= CARD TOP ================= */

.project-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 20px;
}


.project-number {
    color: #555;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;
}


.project-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(218, 165, 32, 0.1);

    color: goldenrod;

    font-size: 20px;
}


/* ================= CARD TEXT ================= */

.portfolio-page .project-card h2 {
    color: #fff;

    font-size: 1.5rem;

    margin-bottom: 15px;
}


.project-description {
    color: #aaa;

    line-height: 1.7;

    margin-bottom: 25px;
}


.project-details h4 {
    color: #ddd;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 10px;
}


.project-details ul {
    padding-left: 18px;

    color: #999;

    line-height: 1.8;

    margin-bottom: 25px;
}


/* ================= TECHNOLOGIES ================= */

.tech-stack {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 25px;
}


.tech-stack span {
    padding: 6px 10px;

    border-radius: 6px;

    background: #191919;

    border: 1px solid #303030;

    color: #bbb;

    font-size: 11px;
}


/* ================= PROJECT LINKS ================= */

.project-links {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


.project-links a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 13px;

    border: 1px solid #333;

    border-radius: 7px;

    color: #ccc;

    font-size: 13px;

    transition: 0.3s ease;
}


.project-links a:hover {
    color: goldenrod;

    border-color: goldenrod;

    transform: translateY(-2px);
}


.project-links a.primary-link {
    background: goldenrod;

    color: #111;

    border-color: goldenrod;

    font-weight: 600;
}


.project-links a.primary-link:hover {
    background: transparent;

    color: goldenrod;
}


/* ================= CTA ================= */

.projects-cta {
    margin-top: 60px;

    padding: 45px;

    text-align: center;

    border: 1px solid #292929;

    border-radius: 18px;

    background: rgba(20, 20, 20, 0.7);
}


.projects-cta h2 {
    margin-bottom: 10px;
}


.projects-cta p {
    color: #999;

    margin-bottom: 25px;
}


.github-button {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 12px 22px;

    border-radius: 8px;

    background: goldenrod;

    color: #111;

    font-weight: 600;

    transition: 0.3s;
}


.github-button:hover {
    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.2);
}


/* ================= MOBILE ================= */

@media (max-width: 900px) {

    .portfolio-page {
        display: block;
    }

    .portfolio-page .sidebar {
        display: none;
    }

    .projects-area {
        margin-left: 0;

        width: 100%;

        padding: 45px 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-page .project-card.featured {
        grid-column: span 1;
    }

    .projects-heading h1 {
        font-size: 2.7rem;
    }

}


@media (max-width: 500px) {

    .projects-area {
        padding: 35px 15px;
    }

    .projects-heading {
        margin-bottom: 35px;
    }

    .projects-heading h1 {
        font-size: 2.3rem;
    }

    .portfolio-page .project-card {
        padding: 22px;

        min-height: auto;
    }

    .projects-cta {
        padding: 30px 20px;
    }

}