/* -----------------------------
   FIRA CODE FONT
----------------------------- */
@font-face {
    font-family: 'Fira Code';
    src: url('../fonts/FiraCode-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* -----------------------------
   GLOBAL STYLES
----------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fira Code', monospace;
    background-color: #0b0b0b;
    color: #00ff41;
    line-height: 1.6;
}

a {
    color: #00ff41;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #ff0055;
}

/* -----------------------------
   NAVBAR
----------------------------- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #0d0d0d;
    border-bottom: 1px solid #00ff41;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00ff41;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a.active,
.nav-links a:hover {
    color: #ff0055;
    text-shadow: 0 0 10px #ff0055, 0 0 20px #ff0055;
}

/* -----------------------------
   HERO SECTION
----------------------------- */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80vh;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(120deg, #0b0b0b 0%, #111 100%);
}

.hero-section h1 {
    font-size: 3rem;
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41, 0 0 20px #00ff41;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons a {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.7rem 1.5rem;
    border: 2px solid #00ff41;
    color: #00ff41;
    transition: all 0.3s ease;
}

.hero-buttons a:hover {
    background-color: #00ff41;
    color: #0b0b0b;
    box-shadow: 0 0 15px #00ff41, 0 0 30px #00ff41;
}

/* -----------------------------
   PAGE CONTENT
----------------------------- */
.page-content {
    padding: 4rem 2rem;
}

.page-content h1, .page-content h2 {
    color: #00ff41;
    margin-bottom: 1rem;
    text-shadow: 0 0 5px #00ff41;
}

.page-content p {
    margin-bottom: 2rem;
}

/* -----------------------------
   CARDS (LABS / SERVICES)
----------------------------- */
.labs-list, .services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.lab-card, .service-card {
    background-color: #111;
    border: 1px solid #00ff41;
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.lab-card:hover, .service-card:hover {
    background-color: #000;
    box-shadow: 0 0 15px #00ff41, 0 0 30px #00ff41;
}

.lab-card a, .service-card a {
    display: inline-block;
    margin-top: 1rem;
    color: #00ff41;
    border: 1px solid #00ff41;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.lab-card a:hover, .service-card a:hover {
    background-color: #00ff41;
    color: #0b0b0b;
}

/* -----------------------------
   TERMINAL SECTION
----------------------------- */
.terminal-section {
    background-color: #000;
    border: 2px solid #00ff41;
    padding: 2rem;
    margin: 4rem 2rem;
    border-radius: 10px;
    min-height: 300px;
    overflow-y: auto;
    color: #00ff41;
    font-family: 'Fira Code', monospace;
    box-shadow: 0 0 15px #00ff41, 0 0 30px #00ff41 inset;
}

.terminal-section .terminal-input {
    width: 100%;
    padding: 0.5rem;
    background: transparent;
    border: none;
    outline: none;
    color: #00ff41;
    font-family: 'Fira Code', monospace;
}

.terminal-section .terminal-output div {
    margin-bottom: 0.5rem;
}

/* -----------------------------
   FOOTER
----------------------------- */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #0d0d0d;
    border-top: 1px solid #00ff41;
    color: #00ff41;
    font-size: 0.9rem;
}

footer a {
    color: #00ff41;
    margin: 0 0.5rem;
}

footer a:hover {
    color: #ff0055;
    text-shadow: 0 0 10px #ff0055;
}

/* -----------------------------
   RESPONSIVE
----------------------------- */
@media screen and (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }
}
