/* General Body & Font Styles */
body {
    font-family: 'Space Mono', monospace; /* NEW FONT */
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Container: Two-Panel Layout */
.container {
    display: flex;
    min-height: 100vh;
}

/* Left Panel: Intro Content */
.intro-panel {
    width: 60%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo a {
    color: #fff;
    font-size: 1.5rem; /* Slightly smaller for a sleeker look */
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -1px;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: #00ff8c;
}

.intro-content {
    margin-top: -5%; /* Pulls content up slightly */
}

.intro-content h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -2px;
}

.intro-content .subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

/* Right Panel: Navigation */
.nav-panel {
    width: 40%;
    background-color: #111; /* Darker panel for contrast */
    border-left: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.nav-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
    max-width: 400px; /* Controls width of the nav links */
}

.nav-panel li {
    margin-bottom: 1rem;
}

.nav-panel a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 10px 0;
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

.nav-panel a:hover {
    color: #ffffff;
    transform: translateX(10px); /* Nudge text on hover */
}

/* Underline effect for nav links */
.nav-panel a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00ff8c;
    transition: width 0.3s ease;
}

.nav-panel a:hover::before {
    width: 100%;
}

/* Footer (now inside the left panel) */
.main-footer {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }

    .intro-panel, .nav-panel {
        width: 100%;
        box-sizing: border-box; /* Ensures padding is included in width */
    }

    .nav-panel {
        border-left: none;
        border-top: 1px solid #333;
        padding: 3rem 2rem;
    }
    
    .intro-panel {
        min-height: 60vh;
        padding: 2rem;
    }

    .intro-content {
        margin-top: 2rem;
    }

    .intro-content h1 {
        font-size: 2.5rem;
    }

    .nav-panel a {
        font-size: 1.3rem;
    }
}