/*
    clients.css
    Author: Sri Dharshan
    Description: Styles for the Client Work standalone page
*/

/* ── PAGE HERO ───────────────────────────────────────────────── */
.page-hero {
    padding: 8rem 1.5rem 4rem;
    max-width: 1280px;
    margin: 0 auto;
}

.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Lexend', sans-serif;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}
.page-hero-breadcrumb a {
    color: rgba(255,255,255,0.35);
    transition: color 0.2s;
}
.page-hero-breadcrumb a:hover { color: rgba(255,255,255,0.75); }
.page-hero-breadcrumb i { font-size: 0.6rem; }

.page-hero-title {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.page-hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    max-width: 480px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.page-hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
    font-family: 'Lexend', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
}
.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.1);
}

/* ── FILTER BAR ──────────────────────────────────────────────── */
.clients-filter-bar {
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0.9rem 1.5rem;
    position: sticky;
    top: 70px;
    background: rgba(10,10,15,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10;
}

.clients-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.clients-filter-bar .clients-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0;
}

.filter-btn {
    font-family: 'Lexend', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    padding: 6px 18px;
    border-radius: 99px;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: all 0.2s;
}
.filter-btn:hover {
    border-color: rgba(255,255,255,0.28);
    color: rgba(255,255,255,0.8);
}
.filter-btn.active {
    background: #fff;
    color: #0a0a0f;
    border-color: #fff;
}

/* ── CLIENTS GRID ────────────────────────────────────────────── */
.clients-section {
    padding: 4rem 0 6rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.75rem;
}

/* Featured card spans 2 columns on wide screens */
@media (min-width: 900px) {
    .client-card.featured {
        grid-column: span 2;
    }
    .client-card.featured .client-card-body {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 2rem;
        align-items: start;
    }
    .client-card.featured .client-name,
    .client-card.featured .client-deliverable,
    .client-card.featured .client-meta-row,
    .client-card.featured .client-outcome,
    .client-card.featured .client-metrics {
        grid-column: span 2;
    }
}

/* ── CARD ────────────────────────────────────────────────────── */
.client-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.client-card:hover {
    border-color: rgba(255,255,255,0.16);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Thumbnail */
.client-card-thumb {
    position: relative;
    aspect-ratio: 16/8;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
}
.client-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.client-card:hover .client-card-thumb img { transform: scale(1.04); }

.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background-color: #1c1a1a7b;
}

.thumb-placeholder img {
    width: 100%;
    height: 100%;
}

.thumb-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: 'Lexend', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 99px;
    background: rgba(100,220,130,0.15);
    color: rgba(130,240,160,0.9);
    border: 1px solid rgba(100,220,130,0.25);
}
.thumb-badge.in-progress {
    background: rgba(255,180,60,0.12);
    color: rgba(255,200,80,0.9);
    border-color: rgba(255,180,60,0.25);
}
.thumb-badge.agency {
    background: rgba(120,160,255,0.12);
    color: rgba(160,200,255,0.9);
    border-color: rgba(120,160,255,0.25);
}

/* Card body */
.client-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.client-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}
.client-industry, .client-location {
    font-family: 'Lexend', sans-serif;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.32);
    display: flex;
    align-items: center;
    gap: 5px;
}

.client-name {
    font-family: 'Lexend', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}
.client-deliverable {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.38);
    margin-bottom: 1rem;
}

.client-outcome {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.65;
    margin-bottom: 1.4rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Metrics (featured card) */
.client-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.metric { display: flex; flex-direction: column; gap: 3px; }
.metric-val {
    font-family: 'Lexend', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.metric-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.3);
}

/* Detail rows (tools + skills) */
.client-detail-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex: 1;
}
.detail-block { display: flex; flex-direction: column; gap: 0.5rem; }
.detail-label {
    font-family: 'Lexend', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.28);
    display: flex;
    align-items: center;
    gap: 5px;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
    font-family: 'Lexend', sans-serif;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 99px;
    line-height: 1.4;
}
.tool-tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.55);
}
.skill-tag {
    background: rgba(110,170,255,0.07);
    border: 1px solid rgba(110,170,255,0.18);
    color: rgba(160,205,255,0.8);
}

/* Card footer CTA */
.client-card-footer { margin-top: auto; }
.client-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Lexend', sans-serif;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 18px;
    border-radius: 99px;
    transition: all 0.2s;
}
.client-cta:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.05);
}

/* No results */
.no-results {
    text-align: center;
    padding: 4rem 0;
    color: rgba(255,255,255,0.25);
    font-size: 0.9rem;
}

/* ── HIDDEN (filter) ─────────────────────────────────────────── */
.client-card[data-hidden="true"] {
    display: none;
}

/* ── PAGE CTA ────────────────────────────────────────────────── */
.page-cta {
    padding: 5rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.page-cta h2 {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lexend', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 99px;
    background: #fff;
    color: #0a0a0f;
    transition: opacity 0.2s, transform 0.2s;
}
.cta-btn:hover { opacity: 0.88; transform: translateY(-2px); }

/* ── NAV ACTIVE STATE ────────────────────────────────────────── */
.nav-link.active {
    color: #fff !important;
    opacity: 1 !important;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .clients-grid { grid-template-columns: 1fr; }
    .page-hero-stats { gap: 1.25rem; }
    .stat-num { font-size: 1.4rem; }
    .client-metrics { gap: 1.25rem; }
}
