/*
Theme Name: Behance
Author: WorkhubTeam
Description: Minimalist Portfolio with single Post Type and Category Tabs.
Version: 1.0
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f9f9f9;
    color: #171717;
    display: flex;
    min-height: 100vh;
}

#wpadminbar {
    display: none !important;
}

.site-container {
    display: flex;
    width: 100%;
}

/* Left Sidebar Fixed */
.left-sidebar {
    width: 320px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: #ffffff;
    border-right: 1px solid #e8e8e8;
    padding: 40px 30px;
    overflow-y: auto;
    z-index: 100;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.profile-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.profile-bio {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 25px;
}

.action-btn {
    display: block;
    width: 100%;
    padding: 10px 0;
    background: #0057ff;
    color: #fff;
    text-align: center;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Main Content Area */
.main-content {
    margin-left: 320px;
    flex: 1;
    padding: 40px 50px;
}

/* Tabs Header */
.tab-navigation {
    display: flex;
    gap: 30px;
    border-bottom: 2px solid #e8e8e8;
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    padding-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.tab-btn.active {
    color: #000;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
}

/* Grid Gallery */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    transition: opacity 0.2s ease;
}

.portfolio-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease;
}

.portfolio-card:hover {
    transform: translateY(-4px);
}

.portfolio-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.portfolio-info {
    padding: 12px 15px;
}

.portfolio-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 900px) {
    .site-container {
        flex-direction: column;
    }

    .left-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .main-content {
        margin-left: 0;
        padding: 20px;
    }
}