/* PYXIS | XM — Portfolio Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: #080d18;
    color: #ffffff;
    font-family: Arial, sans-serif;
    line-height: 1.7;
}

/* Navigation */

header {
    padding: 25px 8%;
    border-bottom: 1px solid #1b2940;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #ffffff;
    font-size: 23px;
    font-weight: bold;
    text-decoration: none;
}

.logo span {
    color: #168bff;
}

.nav-links a {
    color: #b8c4d6;
    text-decoration: none;
    margin-left: 25px;
    font-size: 14px;
}

.nav-links a:hover {
    color: #168bff;
}

/* Hero Section */

.hero {
    min-height: 80vh;
    padding: 130px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.intro,
.section-label {
    color: #168bff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #168bff;
}

.hero-text {
    color: #b8c4d6;
    max-width: 550px;
    font-size: 17px;
    margin-bottom: 30px;
}

/* Button */

.main-button {
    display: inline-block;
    background: #168bff;
    color: #ffffff;
    padding: 13px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.main-button:hover {
    background: #0871d8;
}

/* Content Sections */

.section {
    padding: 90px 8%;
    border-top: 1px solid #1b2940;
}

.section h2 {
    font-size: 35px;
    margin-bottom: 20px;
}

.section > p:not(.section-label) {
    color: #b8c4d6;
    max-width: 700px;
    font-size: 16px;
}

/* Footer */

footer {
    padding: 30px 8%;
    text-align: center;
    border-top: 1px solid #1b2940;
    color: #8291a8;
    font-size: 13px;
}

/* Project Cards */

.projects-intro {
    margin-bottom: 30px;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 35px;
}

.project-card {
    background: linear-gradient(145deg, #101a2b, #0b1422);
    border: 1px solid #1b2940;
    border-radius: 14px;
    padding: 30px;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: #168bff;
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(22, 139, 255, 0.15);
}

.project-card h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 8px;
}

.project-card .role {
    color: #168bff;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 15px;
}

.project-card p:not(.role) {
    color: #b8c4d6;
    font-size: 14px;
}
/* Skills Section */

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.skills-container span {
    background: #101a2b;
    border: 1px solid #1b2940;
    color: #b8c4d6;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s ease;
}

.skills-container span:hover {
    border-color: #168bff;
    color: #168bff;
}
/* Contact Links */

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.contact-links a {
    color: #ffffff;
    background: #101a2b;
    border: 1px solid #1b2940;
    padding: 12px 22px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.contact-links a:hover {
    border-color: #168bff;
    color: #168bff;
}

/* Profile Avatar */

.profile-avatar {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #168bff;
    box-shadow: 0 0 20px rgba(22, 139, 255, 0.35),
                0 0 45px rgba(22, 139, 255, 0.15);
    margin-bottom: 30px;
}


@media (max-width: 768px) {
    header {
        padding: 20px 5%;
    }

    nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .nav-links a {
        margin-left: 0;
    }

    .hero {
        padding: 90px 5%;
        min-height: auto;
    }

    .section {
        padding: 65px 5%;
    }
}

/* Professional Experience */

.experience-item {
    background: #101a2b;
    border: 1px solid #1b2940;
    border-left: 4px solid #168bff;
    border-radius: 10px;
    padding: 30px;
    margin-top: 25px;
    max-width: 800px;
    transition: 0.3s ease;
}

.experience-item:hover {
    border-color: #168bff;
    transform: translateY(-4px);
}

.experience-item h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 8px;
}

.experience-item .role {
    color: #168bff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.experience-item p:not(.role) {
    color: #b8c4d6;
    font-size: 15px;
}

/* Extra Interactive Effects */

.nav-links a,
.contact-links a,
.main-button {
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #168bff;
    text-shadow: 0 0 12px rgba(22, 139, 255, 0.7);
}
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: #168bff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.main-button:hover {
    box-shadow: 0 0 20px rgba(22, 139, 255, 0.4);
    transform: translateY(-3px);
}

.contact-links a:hover {
    transform: translateY(-3px);
}

/* My Journey Section */

#journey {
    background: linear-gradient(
        135deg,
        #0b1527,
        #101f36
    );
}

#journey h2 {
    color: #ffffff;
}

#journey > p:not(.section-label) {
    border-left: 3px solid #168bff;
    padding-left: 22px;
    max-width: 750px;
}

/* Back to Top Button */

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #168bff;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0871d8;
    transform: translateY(-4px);
}

.project-role {
    display: inline-block;
    color: #168bff;
    background: rgba(22, 139, 255, 0.10);
    border: 1px solid rgba(22, 139, 255, 0.25);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 10px 0 15px;
}

/* Sliding Dashboard Sidebar */

.menu-button {
    background: transparent;
    color: #ffffff;
    border: 1px solid #168bff;
    padding: 8px 13px;
    font-size: 22px;
    border-radius: 6px;
    cursor: pointer;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: #101a2b;
    border-right: 1px solid #168bff;
    padding: 35px 25px;
    z-index: 1001;
    transition: left 0.3s ease;
}

.sidebar.active {
    left: 0;
}

.sidebar h2 {
    color: #ffffff;
    margin: 35px 0;
}

.sidebar h2 span {
    color: #168bff;
}

.close-button {
    background: transparent;
    color: #ffffff;
    border: none;
    font-size: 30px;
    cursor: pointer;
    float: right;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-links a {
    color: #b8c4d6;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.sidebar-links a:hover {
    color: #168bff;
    padding-left: 8px;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}