/* ==========================================================================
   Fabian Zamora Ramirez - Custom Core Non-Utility CSS overrides
   ========================================================================== */

/* Custom Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #030712;
}
::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #374151;
}

/* Specialization active tab neon overrides */
.spec-tab-btn.active {
    background-color: rgba(56, 189, 248, 0.08) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    color: #38bdf8 !important;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.15) !important;
}

/* Capability tag, repeated across all specialization panels */
.chip {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 1rem;
    color: #d1d5db;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
}

/* Shared card shell: specializations detail card, timeline card, contact card */
.panel-card {
    background-color: rgba(17, 24, 39, 0.4);
    border: 1px solid rgba(31, 41, 55, 0.8);
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    transition: all 0.3s;
}
.panel-card:hover {
    border-color: rgba(14, 165, 233, 0.4);
}

/* Client logo card, repeated once per site in the Websites & Platforms section */
.client-card {
    display: flex;
    flex-direction: column;
    background-color: rgba(17, 24, 39, 0.4);
    border: 1px solid rgba(31, 41, 55, 0.8);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}
.client-card:hover {
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}
.client-card-logo {
    height: 7rem;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
@media (min-width: 640px) {
    .client-card-logo {
        height: 8rem;
    }
}
.client-card-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(31, 41, 55, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
}
.client-card-footer span {
    font-family: var(--font-mono);
    color: #9ca3af;
    transition: color 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.client-card-footer i {
    color: #38bdf8;
    flex-shrink: 0;
}
.client-card:hover .client-card-footer span {
    color: #e5e7eb;
}

/* Contact-section icon badge, repeated once per contact method */
.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background-color: #030712;
    border: 1px solid #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 0.875rem;
    line-height: 1.25rem;
    transition: all 0.15s;
}
.group:hover .contact-icon {
    border-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}
