/* NickZio 2026 - Hardware & Linux Aesthetic */
:root {
    --bg-top: #230E4B; /* Your original Purple */
    --bg-bottom: #0a0416; /* Deep dark ground */
    --neon-pink: #F22BAD;
    --neon-cyan: #00FFFF;
}

@font-face {
    font-family: 'Yoster';
    src: url('yoster.ttf') format('truetype');
}

/* --- Global Pink Outline --- */
html {

    min-height: 100vh;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-bottom);
    color: #ffffff;
    margin: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* --- The Dark Void & Static Grid --- */
.background-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: linear-gradient(to bottom, var(--bg-top) 0%, var(--bg-top) 50%, var(--bg-bottom) 50%, var(--bg-bottom) 100%);
}

.void-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    box-shadow: 0 0 15px 5px #000;
    z-index: 1;
}

.grid {
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 50%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(300px) rotateX(65deg);
    transform-origin: top;
}

/* --- Header Layout --- */
header {
    display: flex;
    align-items: center;
    padding: 20px 40px;
    z-index: 10;
}

.logo-left { flex: 1; }
.logo-left img {
    width: 200px; /* Slightly larger as requested */
    height: auto;
}

.header-center { flex: 2; text-align: center; }
.brand-name {
    font-family: 'Yoster', sans-serif;
    font-size: 4.5rem;
    color: white;
    text-shadow: 4px 4px var(--neon-pink), -2px -2px var(--neon-cyan);
    margin: 0;
}

/* --- Navigation --- */
nav {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 10px 0;
    z-index: 10;
    flex-wrap: wrap; /* Allows buttons to wrap on small screens */
}

.nav-btn {
    font-family: 'Yoster', sans-serif;
    text-decoration: none;
    color: white;
    background: #11021a;
    padding: 10px 20px;
    border: 2px solid var(--neon-cyan);
    border-radius: 4px;
    box-shadow: 4px 4px 0px var(--neon-pink);
    transition: transform 0.2s ease;
}

.nav-btn:hover {
    transform: translateY(-4px);
}

/* --- Content Section --- */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding: 20px;
}

section {
    max-width: 750px;
    width: 100%;
    padding: 40px;
    background: rgba(5, 1, 10, 0.92);
    border: 2px solid var(--neon-pink);
    border-radius: 8px;
    text-align: center;
}

.about-me-title {
    font-family: 'Yoster', sans-serif;
    color: white;
    margin-bottom: 20px;
}

.about-me-text {
    font-family: 'Yoster', sans-serif;
    color: #ffffff !important;
    font-size: 1.5rem;
    font-weight: normal;
    line-height: 1.5;
}

/* --- Social Icons --- */
.social-media { margin-top: 40px; }
.social-icon {
    font-size: 3.5rem;
    margin: 0 15px;
    color: var(--neon-cyan);
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icon:hover {
    color: var(--neon-pink);
    transform: translateY(-8px) scale(1.1);
    filter: drop-shadow(0 0 10px var(--neon-pink));
}

footer {
    padding: 30px;
    text-align: center;
    font-family: 'Yoster', sans-serif;
    color: var(--neon-pink);
}

/* --- PHONE SCALING (Responsiveness) --- */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Stack logo on top of name */
        padding: 10px;
    }
    .brand-name {
        font-size: 2.5rem; /* Shrink name for small screens */
    }
    .logo-left img {
        width: 80px; /* Shrink logo slightly on phones */
        margin-bottom: 10px;
    }
    .about-me-text {
        font-size: 1.1rem; /* Better text size for phones */
    }
    .social-icon {
        font-size: 2.5rem;
        margin: 0 10px;
    }
    .nav-btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

/* --- Project Card Styling --- */
.project-card {
    border: 2px solid var(--neon-cyan);
    padding: 25px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: scale(1.02);
    border-color: var(--neon-pink);
}

.project-name {
    font-family: 'Yoster', sans-serif;
    color: var(--neon-cyan);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.project-desc {
    font-family: 'Yoster', sans-serif;
    color: white;
    font-size: 1.1rem;
}

/* Ensure mobile scaling works for project cards */
@media (max-width: 768px) {
    .project-name {
        font-size: 1.4rem;
    }
    .project-card {
        padding: 15px;
    }
}