
/* ========================================
   SATIA TECHNOLOGIES
   PREMIUM PROJECT PORTFOLIO
======================================== */

.portfolio-hero {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 190px 0 110px;
    background:
            radial-gradient(ellipse at 75% 40%,
            rgba(214,181,116,.12),transparent 55%),
            linear-gradient(135deg,#09090b,#181619);
    border-bottom: 1px solid var(--line);
}

.portfolio-glow {
    position: absolute;
    right: -150px;
    top: 0;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(214,181,116,.07);
    filter: blur(100px);
    pointer-events: none;
}

.portfolio-hero-inner {
    position: relative;
    z-index: 1;
}

.portfolio-hero h1 {
    font-family: var(--font);
    font-size: clamp(50px,6vw,88px);
    line-height: 1.13;
    letter-spacing: -4px;
    margin: 25px 0;
}

.portfolio-hero p {
    max-width: 690px;
    color: #b7b0a7;
    font-size: 16px;
    line-height: 1.9;
}

.portfolio-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.portfolio-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 65px;
    color: #938c81;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.meta-dot {
    color: var(--gold);
}

/* PORTFOLIO GRID */

.portfolio-section {
    background: #0d0d0f;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 22px;
    border: 1px solid rgba(214,181,116,.22);
    border-radius: 4px;
    background: #181719;
    color: #b8b1a7;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #15110d;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 28px;
}

.portfolio-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(214,181,116,.16);
    border-radius: 9px;
    background: #19191b;
    transition:
            transform .35s ease,
            border-color .35s ease,
            box-shadow .35s ease;
}

.portfolio-card:hover {
    transform: translateY(-7px);
    border-color: rgba(214,181,116,.48);
    box-shadow: 0 30px 70px rgba(0,0,0,.32);
}

.portfolio-card.is-hidden {
    display: none;
}

.project-visual {
    height: 340px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.project-visual-label {
    position: absolute;
    top: 22px;
    left: 25px;
    z-index: 3;
    color: var(--gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.visual-county {
    background:
            radial-gradient(circle at center,
            rgba(214,181,116,.12),transparent 65%),
            #101013;
}

.visual-mku {
    background:
            radial-gradient(circle at center,
            rgba(157,131,91,.15),transparent 65%),
            #121216;
}

.visual-wifi {
    background:
            radial-gradient(circle at center,
            rgba(214,181,116,.13),transparent 60%),
            #101012;
}

.visual-satia {
    background:
            radial-gradient(circle at center,
            rgba(214,181,116,.1),transparent 60%),
            #111113;
}

/* COUNTY DASHBOARD MOCKUP */

.dashboard-mockup {
    width: 80%;
    height: 225px;
    display: flex;
    background: #1d1d21;
    border: 1px solid #625035;
    border-radius: 9px;
    overflow: hidden;
    transform: perspective(900px)
    rotateY(-8deg) rotateX(5deg);
    box-shadow: 20px 25px 55px rgba(0,0,0,.5);
}

.mock-sidebar {
    width: 25%;
    padding: 17px 10px;
    background: #121215;
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.mock-brand {
    color: var(--gold);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 12px;
}

.mock-sidebar i {
    height: 7px;
    width: 80%;
    border-radius: 4px;
    background: #514530;
}

.mock-main {
    flex: 1;
    padding: 18px;
    min-width: 0;
}

.mock-heading {
    display: flex;
    justify-content: space-between;
    color: #e4d5bd;
    font-size: 9px;
}

.mock-heading span {
    color: var(--gold);
}

.mock-stats {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.mock-stats div {
    flex: 1;
    height: 40px;
    background: #312b23;
    border: 1px solid #57452b;
    border-radius: 5px;
}

.mock-chart {
    height: 60px;
    display: flex;
    align-items: end;
    gap: 9px;
    margin-top: 15px;
    padding: 0 10px;
}

.mock-chart span {
    flex: 1;
    background: linear-gradient(#d6b574,#695134);
    border-radius: 3px 3px 0 0;
}

.mock-chart span:nth-child(1) {height: 45%;}
.mock-chart span:nth-child(2) {height: 75%;}
.mock-chart span:nth-child(3) {height: 55%;}
.mock-chart span:nth-child(4) {height: 95%;}
.mock-chart span:nth-child(5) {height: 70%;}
.mock-chart span:nth-child(6) {height: 85%;}

.mock-table {
    margin-top: 13px;
    display: grid;
    gap: 5px;
}

.mock-table i {
    display: block;
    height: 5px;
    background: #40392e;
    border-radius: 3px;
}

/* MKU ASSISTANT MOCKUP */

.chat-mockup {
    width: 73%;
    max-width: 360px;
    padding: 17px;
    background: #1e1e22;
    border: 1px solid #645136;
    border-radius: 13px;
    box-shadow: 0 25px 60px rgba(0,0,0,.45);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #40372c;
    margin-bottom: 15px;
}

.chat-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold);
    color: #17120d;
    font-weight: 800;
    font-size: 12px;
}

.chat-header strong {
    display: block;
    font-size: 12px;
}

.chat-header small {
    display: block;
    color: #a49a8c;
    font-size: 9px;
}

.chat-message {
    max-width: 82%;
    padding: 9px 11px;
    border-radius: 9px;
    margin-bottom: 10px;
    font-size: 10px;
    line-height: 1.5;
}

.chat-message.bot {
    background: #302a23;
    color: #e3d3ba;
}

.chat-message.user {
    margin-left: auto;
    background: #d6b574;
    color: #17120d;
}

.chat-input {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding: 9px 12px;
    border: 1px solid #51432f;
    border-radius: 7px;
    color: #918a80;
    font-size: 10px;
}

.chat-input span {
    color: var(--gold);
}

/* WIFI VISUAL */

.wifi-project-art {
    width: 260px;
    height: 260px;
    display: grid;
    place-items: center;
    position: relative;
}

.wifi-art-ring {
    position: absolute;
    border: 1px solid rgba(214,181,116,.3);
    border-radius: 50%;
}

.ring-a {inset: 0;}
.ring-b {inset: 38px;}
.ring-c {inset: 78px;}

.wifi-art-center {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gold);
    font-family: var(--font);
    line-height: 1.1;
}

.wifi-art-center > span {
    font-size: 50px;
}

.wifi-art-center strong {
    font-size: 32px;
    letter-spacing: 3px;
}

.wifi-art-center small {
    font-size: 18px;
    letter-spacing: 5px;
}

/* WEBSITE MOCKUP */

.website-mockup {
    width: 77%;
    height: 225px;
    border: 1px solid #645136;
    border-radius: 10px;
    overflow: hidden;
    background: #0d0d0f;
    transform: perspective(900px) rotateY(7deg);
    box-shadow: -20px 25px 60px rgba(0,0,0,.45);
}

.website-topbar {
    height: 35px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #232124;
    color: var(--gold);
    font-size: 10px;
}

.website-topbar small {
    font-size: 9px;
}

.website-preview {
    padding: 25px;
    background:
            radial-gradient(circle at 85% 50%,
            rgba(214,181,116,.12),transparent 60%),
            #101013;
    height: 100%;
}

.website-preview > span {
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 2px;
}

.website-preview strong {
    display: block;
    margin-top: 20px;
    font-family: var(--font);
    font-size: 28px;
    line-height: 1.2;
}

.website-preview em {
    color: var(--gold);
    font-style: normal;
}

.website-button {
    width: 100px;
    height: 17px;
    margin-top: 20px;
    border-radius: 3px;
    background: var(--gold);
}

/* CARD CONTENT */

.portfolio-card-body {
    padding: 32px;
}

.project-category {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    color: var(--gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.portfolio-card-body h3 {
    font-family: var(--font);
    font-size: 25px;
    line-height: 1.35;
    margin: 20px 0;
}

.portfolio-card-body p {
    color: #aaa39a;
    font-size: 13px;
    line-height: 1.9;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 25px 0;
}

.tech-stack span {
    padding: 7px 11px;
    border: 1px solid rgba(214,181,116,.2);
    border-radius: 4px;
    background: #242220;
    color: #c8b99e;
    font-size: 10px;
}

.project-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--gold-dark);
    background: transparent;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.project-details-btn:hover {
    color: var(--gold-light);
}

.filter-status {
    min-height: 25px;
    margin-top: 20px;
    color: #aaa39a;
    font-size: 12px;
}

/* PHILOSOPHY */

.project-philosophy {
    background: #151517;
    border-top: 1px solid var(--line);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.philosophy-content > p {
    color: #b5aea5;
    line-height: 1.9;
    margin-bottom: 35px;
}

.philosophy-feature {
    display: flex;
    gap: 22px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.philosophy-feature > span {
    color: var(--gold);
    font-family: var(--font);
    font-size: 20px;
    font-weight: 800;
}

.philosophy-feature h3 {
    margin: 0 0 8px;
    font-family: var(--font);
    font-size: 17px;
}

.philosophy-feature p {
    margin: 0;
    color: #99938b;
    font-size: 13px;
}

/* PROJECT DETAILS DIALOG */

.project-dialog {
    width: min(90vw,650px);
    max-height: 85vh;
    padding: 0;
    border: 1px solid rgba(214,181,116,.5);
    border-radius: 10px;
    background: #171719;
    color: var(--text);
    box-shadow: 0 35px 100px rgba(0,0,0,.6);
}

.project-dialog::backdrop {
    background: rgba(0,0,0,.78);
    backdrop-filter: blur(7px);
}

.dialog-content {
    position: relative;
    padding: 45px;
}

.dialog-close {
    position: absolute;
    right: 20px;
    top: 15px;
    border: 0;
    background: transparent;
    color: var(--gold);
    font-size: 30px;
    cursor: pointer;
}

.dialog-content h2 {
    font-family: var(--font);
    font-size: 32px;
    margin: 20px 0;
}

.dialog-content > p {
    color: #b6afa5;
    font-size: 14px;
    line-height: 1.9;
}

.dialog-content h3 {
    color: var(--gold);
    font-family: var(--font);
    font-size: 16px;
    margin-top: 30px;
}

.dialog-content ul {
    padding-left: 20px;
    margin-bottom: 35px;
    color: #c7beb0;
    line-height: 2;
    font-size: 13px;
}

.dialog-content li::marker {
    color: var(--gold);
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 650px) {
    .portfolio-hero {
        min-height: auto;
        padding: 155px 0 80px;
    }

    .portfolio-hero h1 {
        font-size: clamp(42px,10vw,60px);
        letter-spacing: -2px;
    }

    .portfolio-hero p {
        font-size: 14px;
    }

    .portfolio-actions {
        flex-direction: column;
    }

    .portfolio-actions .btn {
        width: 100%;
    }

    .portfolio-meta {
        gap: 10px;
        margin-top: 45px;
        font-size: 9px;
    }

    .project-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 13px;
        font-size: 11px;
    }

    .project-visual {
        height: 260px;
    }

    .dashboard-mockup,
    .website-mockup {
        width: 88%;
        transform: none;
    }

    .portfolio-card-body {
        padding: 25px;
    }

    .portfolio-card-body h3 {
        font-size: 21px;
    }

    .dialog-content {
        padding: 35px 22px;
    }

    .dialog-content h2 {
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portfolio-card,
    .filter-btn {
        transition: none;
    }
}

/* PROJECT STATUS INDICATORS */

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 12px 0 18px;
    padding: 8px 13px;
    border: 1px solid rgba(214, 181, 116, 0.25);
    border-radius: 30px;
    background: rgba(214, 181, 116, 0.07);
    color: #d6b574;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d6b574;
    box-shadow: 0 0 8px rgba(214, 181, 116, 0.5);
}

/* =====================================
   PROJECT SEARCH - OBSIDIAN & GOLD
===================================== */

.project-search-wrapper {
    margin: 30px 0;
    max-width: 520px;
}

.project-search-label {
    display: block;
    color: #d6b574;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.project-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    min-height: 55px;
    background: #151517;
    border: 1px solid rgba(214, 181, 116, 0.25);
    border-radius: 12px;
    transition: border-color 0.3s ease;
}

.project-search-box:focus-within {
    border-color: #d6b574;
    box-shadow: 0 0 0 3px rgba(214, 181, 116, 0.1);
}

.project-search-icon {
    color: #d6b574;
    font-size: 17px;
}

#projectSearch {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
}

#projectSearch::placeholder {
    color: #888890;
}

.clear-project-search {
    background: transparent;
    border: none;
    color: #d6b574;
    font-size: 25px;
    cursor: pointer;
    padding: 4px 8px;
}

.clear-project-search[hidden] {
    display: none;
}

.project-empty-state {
    padding: 25px;
    margin: 25px 0;
    text-align: center;
    border: 1px solid rgba(214, 181, 116, 0.2);
    border-radius: 12px;
    color: #b9b9bf;
    background: #151517;
}

.project-empty-state[hidden] {
    display: none;
}

@media (max-width: 600px) {
    .project-search-wrapper {
        max-width: 100%;
    }
}

/* =====================================
   PORTFOLIO STATISTICS
   SATIA TECHNOLOGIES
===================================== */

.portfolio-stats-section {
    padding: 85px 0;
    background: #0b0b0d;
    border-top: 1px solid rgba(214,181,116,0.12);
    border-bottom: 1px solid rgba(214,181,116,0.12);
}

.portfolio-stats-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 45px;
}

.portfolio-stats-heading h2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #ffffff;
    margin: 15px 0;
}

.portfolio-stats-heading p {
    color: #b9b9bf;
    font-size: 14px;
    line-height: 1.9;
}

.portfolio-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.portfolio-stat-card {
    background: linear-gradient(
            145deg,
            #19181a,
            #111113
    );
    border: 1px solid rgba(214,181,116,0.2);
    border-radius: 16px;
    padding: 32px 22px;
    text-align: center;
    transition:
            transform 0.3s ease,
            border-color 0.3s ease;
}

.portfolio-stat-card:hover {
    transform: translateY(-5px);
    border-color: #d6b574;
}

.portfolio-stat-number {
    display: block;
    color: #d6b574;
    font-family: "Manrope", sans-serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    margin-bottom: 14px;
}

.portfolio-stat-card h3 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.portfolio-stat-card p {
    color: #a7a7ad;
    font-size: 12px;
    line-height: 1.7;
}

/* TABLET */

@media (max-width: 900px) {

    .portfolio-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* MOBILE */

@media (max-width: 600px) {

    .portfolio-stats-section {
        padding: 60px 0;
    }

    .portfolio-stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .portfolio-stat-card {
        padding: 25px 20px;
    }

}
