:root {
    --off-white: #F5F5F0;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #999999;
}

body {
    font-family: 'Playfair Display', serif;
    background-color: var(--off-white);
    color: var(--dark-gray);
    line-height: 1.6;
}

.mono {
    font-family: 'Roboto Mono', monospace;
}

.navbar {
    background-color: var(--off-white);
    border-bottom: 1px solid var(--dark-gray);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--dark-gray) !important;
    font-weight: 400;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--medium-gray) !important;
}

.page-header {
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

.profile-section {
    margin-bottom: 3rem;
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 2rem;
}

.profile-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.profile-info p {
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.profile-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.profile-tabs {
    margin-bottom: 2rem;
}

.profile-tab-content {
    padding: 2rem 0;
}

.profile-post {
    margin-bottom: 2rem;
}

.profile-post-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.profile-post-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.profile-post-meta {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.profile-post-excerpt {
    margin-bottom: 1rem;
}

.edit-profile-section {
    background-color: white;
    padding: 2rem;
    border: 1px solid var(--light-gray);
    margin-bottom: 2rem;
}

.footer {
    background-color: var(--off-white);
    border-top: 1px solid var(--dark-gray);
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    font-size: 1.5rem;
}

.social-icon {
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--medium-gray);
}

.admin-badge {
    background-color: #dc3545;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Avatar upload button */
.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.bottom-0 {
    bottom: 0;
}

.end-0 {
    right: 0;
}

@media (max-width: 767.98px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-avatar {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}
