/* Importing a monospace font for terminal feel */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&display=swap');

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

body {
    font-family: 'Fira Code', monospace;
    line-height: 1.7;
    background-color: #000000; /* Pure black background */
    color: #00FF00; /* Terminal green text */
    padding: 20px;
    font-size: 17px;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #121212;
}

::-webkit-scrollbar-thumb {
    background: #00AA00;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00FF00;
}

/* General link styles */
a {
    color: #00FFAA;  /* Light terminal green */
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

/* Terminal-style link hover effect */
a:hover {
    color: #FFFFFF;  /* White text on hover */
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.8);
}

a:hover::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #00FF00;
    box-shadow: 0 0 8px #00FF00;
}

/* Terminal text styling */
.terminal-text {
    color: #00FF00;
    font-family: 'Fira Code', monospace;
}

/* Blinking cursor */
.cursor {
    display: inline-block;
    width: 10px;
    height: 1.2em;
    background-color: #00FF00;
    margin-left: 4px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Header Styles */
header {
    background: #000000;  /* Black */
    border-bottom: 1px solid #00FF00;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

/* Logo Styles */
.logo-img {
    width: 150px;
    height: auto;
    margin-right: 20px;
    filter: drop-shadow(0 0 5px rgba(0, 255, 0, 0.5));
}

/* Navigation Styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 0;
}

/* Navigation List Styles */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-grow: 1;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 25px;
}

nav ul li a {
    color: #00FF00;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* Hover effect for links */
nav ul li a:hover {
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid #00AA00;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

/* Hero Section with terminal aesthetic */
#hero {
    background: #000000;
    border-bottom: 1px solid #00FF00;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.1) inset;
}

/* Styling for the main hero heading */
.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #00FF00;
    letter-spacing: 5px;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.7);
}

/* Styling for the subtitle with typing effect */
.typing-container {
    height: 50px;
    margin-bottom: 20px;
}

.typing-text {
    overflow: hidden;
    font-size: 1.8rem;
    color: #00CC00;
    border-right: 2px solid #00FF00;
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #00FF00 }
}

/* Styling for the tagline */
.hero-content p {
    font-size: 1.2rem;
    color: #00AA00;
    margin-bottom: 20px;
    font-family: 'Fira Code', monospace;
}

/* Container styles */
.container {
    max-width: 1000px;
    margin: 0 auto 50px auto;
    padding: 30px 40px;
    background-color: #000000;
    border: 1px solid #00AA00;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #00FF00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 30px;
    color: #00FF00;
    font-family: 'Fira Code', monospace;
}

/* More emphasis on strong text */
strong {
    color: #FFFFFF;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.7);
}

/* Divider styled as a terminal line */
.divider {
    height: 1px;
    background-color: #00AA00;
    margin: 30px 0;
    border: none;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Terminal-style lists */
.terminal-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 20px;
}

.terminal-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: #00DD00;
}

/* Expertise section styling */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.expertise-item {
    background-color: rgba(0, 50, 0, 0.3);
    border: 1px solid #00AA00;
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.1);
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.3);
    background-color: rgba(0, 70, 0, 0.4);
}

.expertise-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    margin-top: 0;
}

/* Resume Section Styles */
.resume-section {
    padding: 20px 0;
}

.job {
    margin-bottom: 35px;
    padding-left: 20px;
    border-left: 2px solid #00AA00;
}

.job h4 {
    font-size: 1.3rem;
    color: #FFFFFF;
    margin-bottom: 5px;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.7);
}

.company {
    font-style: italic;
    color: #00CC00;
}

.years {
    float: right;
    font-weight: 500;
    color: #008800;
}

.education {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #00DD00;
}

/* Styling for the aside section with the retro setup */
.retro-setup-aside {
    background-color: rgba(0, 40, 0, 0.3);
    padding: 25px;
    margin-top: 30px;
    border-radius: 8px;
    border: 1px solid #00AA00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2) inset;
}

/* Additional styling for the image inside the aside */
.retro-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 20px auto;
    border: 2px solid #00AA00;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
}

/* Skills container */
.skills-container {
    background-color: rgba(0, 40, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #00AA00;
}

/* Footer */
footer {
    background-color: #000000;
    color: #00AA00;
    text-align: center;
    padding:.5rem;
    border-top: 1px solid #00AA00;
    font-family: 'Fira Code', monospace;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2) inset;
}

/* Email link special styling */
.email-link {
    font-weight: bold;
    text-decoration: none;
    color: #00FFAA;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: rgba(0, 255, 170, 0.1);
}

.email-link:hover {
    background-color: rgba(0, 255, 170, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 170, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        padding: 10px;
    }

    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .minimal-nav {
        padding: 10px 0;
    }

    .nav-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .nav-prompt {
        margin-right: 0;
    }

    .nav-commands {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .nav-commands a {
        margin: 2px;
        font-size: 0.85rem;
    }

    /* Hero section mobile */
    #hero {
        padding: 40px 15px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .typing-container {
        height: auto;
        margin-bottom: 15px;
    }

    .typing-text {
        font-size: 1rem;
        white-space: normal;
        border-right: none;
        animation: none;
    }

    .hero-content p {
        font-size: 0.85rem;
        word-break: break-word;
    }

    /* Container mobile */
    .container {
        padding: 20px 15px;
        margin: 0 auto 30px auto;
    }

    /* Headings mobile */
    h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    h3 {
        font-size: 1rem;
        margin-top: 25px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Terminal window mobile */
    .terminal-window {
        margin: 15px 0;
    }

    .terminal-content {
        padding: 10px;
    }

    .terminal-title {
        font-size: 0.75rem;
    }

    .command-line,
    .command-output {
        font-size: 0.85rem;
    }

    /* Interest grid mobile */
    .interests-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .interest-item {
        padding: 15px;
    }

    .interest-item h4 {
        font-size: 1.1rem;
    }

    .interest-item p {
        font-size: 0.9rem;
    }

    .tech-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
        margin-right: 5px;
        margin-top: 8px;
    }

    /* Beyond tech mobile */
    .beyond-tech {
        padding: 15px;
        margin: 15px 0;
    }

    .beyond-tech p {
        font-size: 0.9rem;
    }

    /* Terminal list mobile */
    .terminal-list li {
        font-size: 0.9rem;
        padding-left: 20px;
        margin-bottom: 10px;
    }

    /* Outro mobile */
    .outro {
        padding: 15px;
    }

    .glowing-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Expertise grid mobile */
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 25px;
    }

    .expertise-item {
        padding: 15px;
    }

    .expertise-item h3 {
        font-size: 1.1rem;
    }

    .expertise-item p {
        font-size: 0.85rem;
    }

    /* Resume section mobile */
    .job {
        padding-left: 15px;
        margin-bottom: 25px;
    }

    .job h4 {
        font-size: 1.1rem;
    }

    .company {
        font-size: 0.85rem;
        display: block;
    }

    .years {
        float: none;
        display: block;
        margin-top: 5px;
        font-size: 0.8rem;
    }

    .education {
        font-size: 0.95rem;
    }

    .skills-container {
        padding: 15px;
    }

    /* Footer mobile */
    footer {
        padding: 1rem 10px;
    }

    footer .terminal-text {
        font-size: 0.7rem;
        word-break: break-word;
    }
}

/* Terminal window styling */
.terminal-window {
    background-color: #000000;
    border: 1px solid #00AA00;
    border-radius: 6px;
    margin: 25px 0;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.terminal-header {
    background-color: #111111;
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #00AA00;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.terminal-button.red { background-color: #FF5F56; }
.terminal-button.yellow { background-color: #FFBD2E; }
.terminal-button.green { background-color: #27C93F; }

.terminal-title {
    margin-left: 10px;
    font-size: 0.9rem;
    color: #00DD00;
}

.terminal-content {
    padding: 15px;
    font-family: 'Fira Code', monospace;
}

.command-line {
    color: #00FF00;
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.command-line::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #00FF00;
}

.command-output {
    color: #CCCCCC;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 2px solid #003300;
}

/* Interests grid styling */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.interest-item {
    background-color: rgba(0, 30, 0, 0.4);
    border: 1px solid #00AA00;
    border-radius: 6px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.1);
}

.interest-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.interest-item h4 {
    color: #FFFFFF;
    font-size: 1.3rem;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.tech-badge {
    display: inline-block;
    background-color: rgba(0, 255, 0, 0.15);
    color: #00FF00;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 8px;
    margin-top: 12px;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

/* Beyond tech section */
.beyond-tech {
    background-color: rgba(0, 30, 0, 0.3);
    padding: 20px;
    border-radius: 6px;
    margin: 25px 0;
    border-left: 3px solid #00AA00;
}

/* Typing effect animation */
.typing-effect {
    color: #FFFFFF;
    font-weight: bold;
    position: relative;
}

.typing-effect::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #00FF00;
    animation: blink 0.7s infinite;
}

/* Outro styling */
.outro {
    margin-top: 30px;
    padding: 25px;
    background-color: rgba(0, 40, 0, 0.2);
    border-radius: 6px;
    position: relative;
}

.glowing-text {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    letter-spacing: 0.5px;
    line-height: 1.8;
}

.terminal-prompt {
    margin-top: 20px;
    color: #00FF00;
    font-family: 'Fira Code', monospace;
}

.terminal-header-container {
    max-width: 1000px;
    margin: 20px auto 40px auto;
    padding: 20px;
    background-color: transparent;
    border: none;
    text-align: center;
}

.terminal-welcome {
    font-family: 'Fira Code', monospace;
    font-size: 1.4rem;
    color: #00FF00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    letter-spacing: 1px;
    display: inline-block;
}

.terminal-prompt {
    color: #00DD00;
    margin-right: 10px;
}

.minimal-nav {
    text-align: center;
    margin: 20px auto;
    padding: 15px 0;
    border-bottom: 1px dotted #00AA00;
    max-width: 800px;
}

.nav-container {
    display: inline-block;
    font-family: 'Fira Code', monospace;
}

.nav-prompt {
    color: #00CC00;
    margin-right: 10px;
    font-weight: 500;
}

.nav-commands a {
    color: #00DDAA;
    margin: 0 5px;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-commands a:hover {
    background-color: rgba(0, 255, 0, 0.1);
    color: #FFFFFF;
}

.nav-commands a:hover::after {
    display: none;
}

.typing-welcome {
    border-right: none;
}
