* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #e5e7eb;

    background:
        linear-gradient(
            rgba(8, 12, 20, 0.70),
            rgba(8, 12, 20, 0.82)
        ),
        url('/images/cyber-bg.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

.navbar {
    width: 100%;
    padding: 22px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(10, 15, 25, 0.55);
    backdrop-filter: blur(8px);
}

.logo {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1.5px;
    color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #40e0d0;
}

.hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 30px;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 64px;
    margin: 0 0 15px;
    color: #ffffff;
}

.hero h2 {
    font-size: 28px;
    margin: 0 0 22px;
    color: #40e0d0;
    font-weight: normal;
}

.tagline {
    font-size: 18px;
    color: #cbd5e1;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

.intro {
    max-width: 700px;
    margin: 0 auto 35px;
    font-size: 18px;
    line-height: 1.7;
    color: #d1d5db;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.button-primary {
    background: #40e0d0;
    color: #07111c;
}

.button-primary:hover {
    background: #35cfc0;
}

.button-secondary {
    border: 1px solid #40e0d0;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.45);
}

.button-secondary:hover {
    background: rgba(64, 224, 208, 0.12);
}

.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 90px 30px;
}

.section h2 {
    font-size: 34px;
    color: #ffffff;
    margin-bottom: 20px;
}

.section p {
    font-size: 17px;
    line-height: 1.7;
    color: #cbd5e1;
}

footer {
    text-align: center;
    padding: 30px;
    color: #9ca3af;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(10, 15, 25, 0.65);
}

@media (max-width: 800px) {
    .navbar {
        padding: 20px;
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero h2 {
        font-size: 23px;
    }
}
.homelab-header {
    padding-bottom: 40px;
}

.homelab-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.status-note {
    max-width: 800px;
}

#last-updated {
    margin-top: 25px;
    font-size: 14px;
    color: #94a3b8;
}

.system-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.system-card {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    padding: 22px;
    backdrop-filter: blur(8px);
}

.system-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.system-card h3 {
    margin: 0;
    font-size: 20px;
    color: #ffffff;
}

.system-status {
    font-size: 13px;
    font-weight: bold;
    padding: 5px 9px;
    border-radius: 999px;
}

.system-online .system-status {
    color: #86efac;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.system-offline .system-status {
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.10);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.system-type {
    margin-top: 8px;
    color: #40e0d0;
    font-size: 14px;
}

.system-details {
    margin-top: 20px;
    display: grid;
    gap: 12px;
}

.system-details div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #cbd5e1;
    font-size: 14px;
}

.system-details strong {
    color: #ffffff;
}

.evidence-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

@media (max-width: 800px) {

    .homelab-header h1 {
        font-size: 38px;
    }

    .system-grid,
    .evidence-grid {
        grid-template-columns: 1fr;
    }
}
.host-card {
    margin-top: 30px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(96, 165, 250, 0.30);
    border-radius: 12px;
    padding: 28px;
    backdrop-filter: blur(8px);
}

.host-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.host-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 25px;
}

.host-details {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.host-details > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 15px;
    background: rgba(2, 6, 23, 0.30);
    border-radius: 8px;
}

.host-details strong {
    color: #ffffff;
    font-size: 13px;
}

.host-details span {
    color: #cbd5e1;
    font-size: 16px;
}

.host-details small {
    color: #94a3b8;
    font-size: 12px;
}

@media (max-width: 800px) {

    .host-details {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 500px) {

    .host-details {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   PORTFOLIO HOMEPAGE REDESIGN
   ========================================================= */


/* MAIN CONTENT */

.portfolio-content {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px 0 60px;
}


/* HERO ADJUSTMENTS */

.hero {
    min-height: 78vh;
    padding: 80px 30px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 4.5rem);
    margin-bottom: 12px;
}

.hero h2 {
    color: #40e0d0;
    font-size: 26px;
    margin-bottom: 25px;
}

.hero .intro {
    max-width: 650px;
    color: #c1d1df;
    font-size: 17px;
}


/* BUTTON COLORS */

.button {
    border-radius: 8px;
}

.button-primary {
    background: rgba(64, 224, 208, 0.12);
    border: 1px solid rgba(64, 224, 208, 0.55);
    color: #40e0d0;
}

.button-primary:hover {
    background: rgba(39, 184, 255, 0.30);
}

.button-secondary {
    background: rgba(64, 249, 208, 0.08);
    border: 1px solid rgba(64, 224, 208, 0.50);
    color: #40e0d0;
}

.button-secondary:hover {
    background: rgba(93, 229, 194, 0.18);
}


/* MAIN PORTFOLIO PANELS */

.portfolio-panel {
    max-width: none;
    margin: 0 0 28px;
    padding: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(6, 18, 32, 0.90),
            rgba(4, 13, 25, 0.82)
        );

    border: 1px solid rgba(66, 165, 245, 0.30);
    border-radius: 15px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* SECTION HEADINGS */

.section-heading {
    margin-bottom: 22px;
}

.section-heading h2,
.portfolio-panel > h2 {
    margin: 0;
    color: #f0f7ff;
    font-size: 1.65rem;
}

.section-heading p {
    margin: 6px 0 0;
    color: #8299b0;
    font-size: 0.85rem;
}

.portfolio-panel > p {
    color: #b8c8d8;
    font-size: 0.95rem;
    line-height: 1.7;
}


/* PROJECT CARDS */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.project-card {
    padding: 22px;

    background: rgba(2, 10, 22, 0.55);

    border: 1px solid rgba(66, 165, 245, 0.16);
    border-radius: 10px;
}

.project-card h3 {
    margin: 0 0 12px;
    color: #eef7ff;
    font-size: 1rem;
}

.project-card p {
    margin: 0 0 15px;
    color: #9eb1c4;
    font-size: 0.86rem;
    line-height: 1.6;
}


/* TURQUOISE TEXT LINKS */

.text-link,
.return-link a {
    color: #40e0d0;
    text-decoration: none;
    font-size: 0.86rem;
    transition: 0.2s;
}

.text-link:hover,
.return-link a:hover {
    color: #8df4da;
}


/* =========================================================
   HOME LAB PREVIEW
   ========================================================= */

.home-host-card {
    margin-top: 25px;
    padding: 22px;

    background: rgba(2, 10, 22, 0.62);

    border: 1px solid rgba(66, 165, 245, 0.22);
    border-radius: 11px;
}

.home-host-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    padding-bottom: 18px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);
}

.home-host-header h3 {
    margin: 0;
    color: #f0f7ff;
    font-size: 1.05rem;
}

.home-host-header > div > span {
    display: block;
    margin-top: 5px;
    color: #8098b1;
    font-size: 0.76rem;
}


/* ONLINE / OFFLINE STATUS */

.home-host-card .system-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
    font-size: 0.80rem;
    font-weight: 600;
}

.status-dot {
    display: block;
    width: 8px;
    height: 8px;
    margin-right: 0px;
    flex-shrink: 0;
    border-radius: 50%;
}

.home-host-card .status-dot {
    transform: translateY(-3px);
}

.system-online .status-dot {
    background: #5cff75;
    box-shadow:
        0 0 8px rgba(92, 255, 117, 0.65);
}

.system-online .system-status {
    color: #67f77a;
}

.system-offline .status-dot {
    background: #ff5968;
    box-shadow:
        0 0 8px rgba(255, 89, 104, 0.55);
}

.system-offline .system-status {
    color: #ff6875;
}


/* LIVE HOST STATS */

.home-host-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.home-host-stats > div {
    padding: 14px 16px;

    background: rgba(255, 255, 255, 0.035);
    border-radius: 8px;
}

.home-host-stats strong {
    display: block;
    margin-bottom: 7px;

    color: #8299b0;

    font-size: 0.70rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.home-host-stats span {
    color: #eaf4ff;
    font-size: 0.90rem;
}


/* SECTION BUTTON */

.section-action {
    margin-top: 22px;
    text-align: center;
}


/* =========================================================
   RESUME PREVIEW
   ========================================================= */

.resume-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.resume-preview-card {
    padding: 22px;

    background: rgba(2, 10, 22, 0.55);

    border: 1px solid rgba(66, 165, 245, 0.16);
    border-radius: 10px;
}

.resume-preview-card h3 {
    margin: 0 0 12px;

    color: #40e0d0;
    font-size: 0.95rem;
}

.resume-preview-card p {
    margin: 0 0 10px;

    color: #aebfd0;
    font-size: 0.84rem;
    line-height: 1.6;
}

.resume-preview-card p:last-child {
    margin-bottom: 0;
}

.resume-note {
    margin-top: 22px !important;

    color: #758ca3 !important;
    font-size: 0.80rem !important;
}


/* =========================================================
   RETURN LINK
   ========================================================= */

.return-link {
    text-align: center;
    padding: 22px 0 35px;
}

.return-link a {
    color: #40e0d0;
    font-size: 0.90rem;
}


/* NAVIGATION HOVER */

.nav-links a:hover {
    color: #40e0d0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .portfolio-content {
        width: min(94%, 700px);
    }

    .project-grid,
    .resume-preview-grid {
        grid-template-columns: 1fr;
    }

    .home-host-stats {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 520px) {

    .portfolio-content {
        width: calc(100% - 20px);
    }

    .portfolio-panel {
        padding: 20px;
    }

    .hero {
        min-height: 70vh;
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .home-host-header {
        align-items: flex-start;
    }
}
/* =========================================
   RESUME & EXPERIENCE
   ========================================= */

.resume-section {
    margin-top: 34px;
}

.resume-section-title {
    margin-bottom: 18px;
    color: #40e0d0;
    font-size: 1.25rem;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.experience-item,
.resume-feature-card,
.resume-info-card {
    background: rgba(8, 20, 34, 0.72);
    border: 1px solid rgba(64, 224, 208, 0.20);
    border-radius: 12px;
    padding: 20px;
}

.experience-item {
    border-left: 3px solid #40e0d0;
}

.experience-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.experience-heading h4,
.resume-feature-card h4 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    color: #ffffff;
}

.experience-heading span {
    color: #b9c7d5;
    font-size: 0.92rem;
}

.experience-date {
    color: #40e0d0;
    font-size: 0.9rem;
    white-space: nowrap;
}

.experience-item p,
.resume-feature-card p {
    margin: 0;
    color: #c7d1dc;
    line-height: 1.65;
}

.resume-feature-card p {
    margin: 12px 0;
}

.resume-bottom-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 18px;
    margin-top: 34px;
}

.resume-info-card h3 {
    color: #40e0d0;
    margin-top: 0;
    margin-bottom: 18px;
}

.cert-list {
    display: grid;
    gap: 10px;
}

.cert-list div {
    padding: 10px 12px;
    background: rgba(64, 224, 208, 0.06);
    border: 1px solid rgba(64, 224, 208, 0.15);
    border-radius: 8px;
}

.education-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.education-item:first-of-type {
    padding-top: 0;
}

.education-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.education-item strong {
    color: #ffffff;
}

.education-item span {
    color: #c7d1dc;
}

.education-item small {
    color: #40e0d0;
}

@media (max-width: 750px) {

    .experience-heading {
        flex-direction: column;
        gap: 6px;
    }

    .resume-bottom-grid {
        grid-template-columns: 1fr;
    }
}

/* Additional Experience - compact layout */
.additional-experience-item {
    display: block;
    padding: 0;
    margin: 0 0 18px 0;
}

.additional-experience-item > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.additional-experience-item h4 {
    margin: 0 !important;
    padding: 0;
    line-height: 1.2;
}

.additional-experience-item div > span {
    margin: 0 !important;
    padding: 0;
    line-height: 1.2;
}

.additional-experience-item > .experience-date {
    margin: 2px 0 0 0 !important;
    padding: 0;
    line-height: 1.2;
}
/* =========================================
   CONTACT
   ========================================= */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 6px;

    padding: 18px;

    background: rgba(8, 20, 34, 0.72);
    border: 1px solid rgba(64, 224, 208, 0.20);
    border-radius: 12px;

    color: #ffffff;
    text-decoration: none;
}

a.contact-card {
    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;
}

a.contact-card:hover {
    border-color: #40e0d0;
    background: rgba(64, 224, 208, 0.08);
    transform: translateY(-2px);
}

.contact-label {
    color: #40e0d0;
    font-size: 0.85rem;
}

.contact-card strong {
    font-size: 0.95rem;
    font-weight: 600;
}

@media (max-width: 550px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }
}
