@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@700&display=swap');

:root {
    --cg-sand: #F4F1EA;
    --cg-slate: #2C3E50;
    --cg-blue: #5D9CEC;
    --cg-border: #E0D8C3;
    --cg-white: #FFFFFF;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cg-sand);
    color: var(--cg-slate);
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Playfair Display', serif;
}

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

.hero-section {
    padding: 100px 0 60px;
    background: linear-gradient(180deg, var(--cg-white) 0%, var(--cg-sand) 100%);
    text-align: center;
}

.profile-card {
    background: var(--cg-white);
    border: 1px solid var(--cg-border);
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
    height: 100%;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--cg-sand);
}

.intent-badge {
    background-color: rgba(93, 156, 236, 0.1);
    color: var(--cg-blue);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.transition-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin-bottom: 0.5rem;
    display: block;
}

.btn-primary-cg {
    background-color: var(--cg-slate);
    color: white;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 500;
    border: none;
}

.btn-primary-cg:hover {
    background-color: #1a252f;
    color: white;
}

.btn-outline-cg {
    border: 1px solid var(--cg-slate);
    color: var(--cg-slate);
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 500;
}

.btn-outline-cg:hover {
    background-color: var(--cg-slate);
    color: white;
}

.bg-light-cg {
    background-color: #fcfbf8;
}

.bg-sand {
    background-color: var(--cg-sand);
}

.filter-pill {
    border: 1px solid var(--cg-border);
    background: var(--cg-white);
    padding: 8px 20px;
    border-radius: 25px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-pill.active {
    background: var(--cg-slate);
    color: white;
    border-color: var(--cg-slate);
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    border-top: 1px solid var(--cg-border);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}

.bottom-nav-item {
    text-align: center;
    color: var(--cg-slate);
    text-decoration: none;
    font-size: 0.75rem;
}

.bottom-nav-item i {
    font-size: 1.25rem;
    display: block;
}

main {
    padding-bottom: 80px; /* Space for bottom nav */
}

/* Social Feed Styles */
.nav-pills .nav-link.active {
    background-color: var(--cg-slate);
}

.nav-pills .nav-link {
    color: var(--cg-slate);
}

.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.upload-btn-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}

.extra-small {
    font-size: 0.7rem;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

/* Dashboard Layout */
.dashboard-container {
    padding-top: 1rem;
}

.sticky-sidebar {
    position: sticky;
    top: 5.5rem;
    height: calc(100vh - 7rem);
    overflow-y: auto;
}

.sidebar-nav .nav-link {
    color: var(--cg-slate);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar-nav .nav-link:hover {
    background-color: rgba(44, 62, 80, 0.05);
}

.sidebar-nav .nav-link.active {
    background-color: var(--cg-slate);
    color: white;
}

/* Post Type Badges */
.post-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    display: inline-block;
    letter-spacing: 0.05em;
}

.badge-reflection { background-color: #E1F5FE; color: #01579B; }
.badge-looking_for { background-color: #FFF3E0; color: #E65100; }
.badge-offering { background-color: #E8F5E9; color: #1B5E20; }
.badge-event_invite { background-color: #F3E5F5; color: #4A148C; }
.badge-progress_update { background-color: #E0F2F1; color: #004D40; }
.badge-skill_share { background-color: #FCE4EC; color: #880E4F; }

/* Horizontal Scroll */
.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.suggestion-card {
    min-width: 180px;
    max-width: 180px;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--cg-border);
    text-align: center;
}

.stat-widget {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--cg-border);
    padding: 1.25rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-item:last-child {
    border-bottom: none;
}
