/* ==========================
   EMPLOYEE DIRECTORY PAGE
   Theme tokens match assets/css/portfolio.css
========================== */
:root {
    --ed-primary-color: #ff6f1f;
    --ed-background-color: #050505;
    --ed-background-dark: #111111;
    --ed-text-white: #ffffff;
    --ed-text-gray: #888888;
    --ed-border-gray: #222222;
}

/* ==========================
   HERO SECTION
   (reuses .hero / .hero-video / .hero::before from style.css
   for the same video background + dark overlay as the homepage)
========================== */
.hero.employee-hero {
    height: 640px;
}

.employee-hero-content {
    max-width: 900px;
    padding: 0 1.5rem;
}

.employee-hero-heading {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 3.25rem;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--ed-text-white);
    margin-bottom: 1.5rem;
}

.employee-hero-heading .base-color {
    color: var(--ed-primary-color) !important;
}

.employee-hero-subtext {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 300;
    font-size: 1.05rem;
    color: var(--ed-text-white);
    margin: 0 auto 1.25rem;
    max-width: 40rem;
}

.employee-hero-tagline {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ed-primary-color);
    margin: 0 0 2rem;
}

.employee-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    background: #ffffff;
    border-radius: 999px;
    padding: 1.1rem 2.25rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.employee-hero-badge-item {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    color: #111111;
    white-space: nowrap;
}

.employee-hero-badge-accent {
    color: var(--ed-primary-color);
}

.employee-hero-badge-divider {
    width: 1px;
    height: 1.1rem;
    background-color: #d9d9d9;
}

/* ==========================
   SEARCH TOOLBAR
========================== */
.employee-directory-toolbar {
    background-color: var(--ed-background-color);
    padding: 0 1.5rem 2.5rem;
}

.employee-directory-toolbar .container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.employee-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--ed-background-dark);
    border: 1px solid var(--ed-border-gray);
    border-radius: 12px;
    padding: 0.9rem 1.25rem;
    transition: border-color 0.3s ease;
}

.employee-search-box:focus-within {
    border-color: var(--ed-primary-color);
}

.employee-search-box i {
    color: var(--ed-primary-color);
    margin-right: 0.75rem;
}

.employee-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--ed-text-white);
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
}

.employee-search-box input::placeholder {
    color: var(--ed-text-gray);
}

.employee-results-count {
    margin-top: 0.9rem;
    color: var(--ed-text-gray);
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.9rem;
}

/* ==========================
   EMPLOYEE GRID SECTION
   (dark textured background with a woven orange
   wave + particle pattern, echoing the hero mood)
========================== */
.employee-directory-grid-section {
    position: relative;
    overflow: hidden;
    background-color: #0a0806;
    padding: 4.5rem 1.5rem 5rem;
}

.employee-directory-grid-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.55;
    background-repeat: repeat;
    background-size: 700px 260px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='260' viewBox='0 0 700 260'%3E%3Cpath d='M0,150 C87,40 175,260 262,150 C350,40 437,260 525,150 C612,40 700,260 787,150' stroke='%23ff6f1f' stroke-width='1.5' fill='none' opacity='0.5'/%3E%3Cpath d='M0,60 C87,180 175,-40 262,60 C350,180 437,-40 525,60 C612,180 700,-40 787,60' stroke='%23ff6f1f' stroke-width='1' fill='none' opacity='0.3'/%3E%3Ccircle cx='35' cy='55' r='1.6' fill='%23ff6f1f' opacity='0.8'/%3E%3Ccircle cx='150' cy='210' r='1.2' fill='%23ff6f1f' opacity='0.6'/%3E%3Ccircle cx='260' cy='90' r='1.8' fill='%23ff6f1f' opacity='0.7'/%3E%3Ccircle cx='390' cy='190' r='1.2' fill='%23ff6f1f' opacity='0.5'/%3E%3Ccircle cx='470' cy='40' r='1.6' fill='%23ff6f1f' opacity='0.7'/%3E%3Ccircle cx='560' cy='150' r='1.2' fill='%23ff6f1f' opacity='0.55'/%3E%3Ccircle cx='650' cy='220' r='1.8' fill='%23ff6f1f' opacity='0.6'/%3E%3C/svg%3E");
}

.employee-directory-grid-section .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.team-profiles-header {
    margin-bottom: 2.75rem;
}

.team-profiles-heading {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 2.25rem;
    color: var(--ed-text-white);
    margin-bottom: 0.5rem;
}

.team-profiles-heading .base-color {
    color: var(--ed-primary-color) !important;
}

.team-profiles-subtext {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--ed-text-white);
    opacity: 0.85;
}

.employee-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
}

.employee-card {
    background: rgba(13, 12, 11, 0.85);
    border: 1px solid rgba(255, 111, 31, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.employee-card:hover {
    transform: translateY(-6px);
    border-color: var(--ed-primary-color);
    box-shadow: 0 10px 30px rgba(255, 111, 31, 0.15);
}

.employee-card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.employee-card-avatar {
    width: 200px;
    height: 200px;
    border-radius: 14px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
}

.employee-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.employee-card-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 111, 31, 0.9), rgba(255, 111, 31, 0.35));
}

.employee-card-initials span {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 2.1rem;
    color: #fff;
}

.employee-card-headline {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: center;
}

.employee-card-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.65rem;
    line-height: 1.3;
    color: var(--ed-text-white);
    margin: 0;
}

.employee-card-connector-line {
    display: block;
    height: 2px;
    width: 100%;
    margin-top: 0.9rem;
    background: linear-gradient(to right, rgba(255, 111, 31, 0.9), rgba(255, 111, 31, 0.15));
}

.employee-id-badge {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    background: var(--ed-primary-color);
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 111, 31, 0.35);
}

.employee-card-meta {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.employee-card-meta-row {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.employee-card-meta-label {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ed-primary-color);
}

.employee-card-meta-value {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.2rem;
    color: var(--ed-text-white);
    opacity: 0.9;
}

.employee-no-results {
    text-align: center;
    color: var(--ed-text-gray);
    font-family: 'Ubuntu', sans-serif;
    margin-top: 3rem;
}

/* ==========================
   FOOTER NOTE
========================== */
.employee-directory-footer-note {
    background-color: var(--ed-background-color);
    text-align: center;
    padding: 0 1.5rem 3rem;
}

.employee-directory-footer-note p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.8rem;
    color: var(--ed-text-gray);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ==========================
   RESPONSIVE
========================== */
@media screen and (max-width: 768px) {
    .hero.employee-hero {
        height: auto;
        min-height: 450px;
        padding: 3rem 0;
    }

    .employee-hero-heading {
        font-size: 2.25rem;
    }

    .employee-hero-subtext {
        font-size: 0.95rem;
    }

    .employee-hero-tagline {
        font-size: 1rem;
    }

    .employee-hero-badge {
        padding: 0.9rem 1.5rem;
        gap: 1rem;
    }

    .employee-hero-badge-item {
        font-size: 0.75rem;
    }

    .team-profiles-heading {
        font-size: 1.75rem;
    }

    .employee-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .employee-card {
        padding: 1.75rem;
    }

    .employee-card-top {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .employee-card-avatar {
        width: 100px;
        height: 100px;
    }

    .employee-card-headline {
        align-items: center;
        width: 100%;
    }

    .employee-card-name {
        font-size: 1.3rem;
    }

    .employee-card-connector-line {
        display: none;
    }

    .employee-id-badge {
        margin-top: 0.5rem;
    }

    .employee-card-meta {
        text-align: center;
    }

    .employee-card-meta-row {
        align-items: center;
    }

    .employee-card-meta-value {
        font-size: 1.05rem;
    }
}

@media screen and (max-width: 480px) {
    .employee-hero-heading {
        font-size: 1.85rem;
    }

    .employee-hero-badge {
        gap: 0.75rem;
        padding: 0.8rem 10px;
    }

    .employee-hero-badge-item {
        font-size: 0.65rem;
    }
    .employee-search-box input {
        font-size: 11px;
    }
}
