/* Lake Charles Business Forum - Premium Styling */

:root {
    --forum-primary: #003366;
    --forum-secondary: #00509d;
    --forum-accent: #FF9900;
    --forum-bg: #f8fafc;
    --forum-card-bg: #ffffff;
    --forum-border: #e2e8f0;
    --forum-text: #334155;
    --forum-text-muted: #64748b;
    --forum-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --forum-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base Forum Containers */
.forum-header {
    background: linear-gradient(135deg, var(--forum-primary) 0%, var(--forum-secondary) 100%);
    color: white;
    padding: 60px 0;
    margin-top: 80px; /* Offset for fixed header */
    position: relative;
    overflow: hidden;
}

.forum-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    transform: translate(100px, -100px);
}

.forum-container {
    padding: 40px 0;
    background-color: var(--forum-bg);
    min-height: 70vh;
}

/* Breadcrumbs */
.breadcrumb {
    margin-bottom: 24px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Category Cards */
.category-list {
    display: grid;
    gap: 24px;
}

.forum-card {
    background: var(--forum-card-bg);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--forum-shadow);
    display: flex;
    align-items: center;
    text-decoration: none;
    border: 1px solid var(--forum-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.forum-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--forum-shadow-hover);
    border-color: var(--forum-secondary);
}

.category-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #eef2f7 0%, #d1dae5 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--forum-primary);
    margin-right: 24px;
    transition: transform 0.3s ease;
}

.forum-card:hover .category-icon {
    transform: rotate(5deg) scale(1.1);
    background: var(--forum-primary);
    color: white;
}

/* Thread Items */
.thread-list {
    background: var(--forum-card-bg);
    border-radius: 16px;
    box-shadow: var(--forum-shadow);
    border: 1px solid var(--forum-border);
    overflow: hidden;
}

.thread-item {
    display: flex;
    padding: 24px;
    border-bottom: 1px solid var(--forum-border);
    transition: background 0.2s;
}

.thread-item:hover {
    background-color: #f8fafc;
}

.thread-status-icon {
    font-size: 24px;
    color: var(--forum-accent);
    margin-right: 24px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 4px;
}

.thread-main h3 {
    margin: 0 0 8px 0;
    color: var(--forum-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

/* Post Cards */
.post-card {
    background: var(--forum-card-bg);
    border-radius: 16px;
    box-shadow: var(--forum-shadow);
    display: flex;
    margin-bottom: 24px;
    border: 1px solid var(--forum-border);
}

.post-sidebar {
    width: 200px;
    background: #fcfcfc;
    padding: 30px 20px;
    border-right: 1px solid var(--forum-border);
    text-align: center;
    flex-shrink: 0;
}

.author-avatar {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--forum-primary) 0%, var(--forum-secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto 16px;
    box-shadow: 0 4px 10px rgba(0,51,102,0.2);
}

.author-name {
    font-weight: 700;
    color: var(--forum-primary);
    margin-bottom: 4px;
}

.author-role {
    font-size: 0.7rem;
    color: var(--forum-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.post-content-area {
    padding: 30px 40px;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.forum-card, .thread-list, .post-card {
    animation: fadeInUp 0.5s ease backwards;
}

.forum-card:nth-child(2) { animation-delay: 0.1s; }
.forum-card:nth-child(3) { animation-delay: 0.2s; }

/* Guest CTA Banner */
.guest-cta-banner {
    background: #ffffff;
    border-bottom: 1px solid var(--forum-border);
    padding: 30px 0;
    margin-top: 24px;
}

.guest-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px 40px;
    border-radius: 20px;
    border: 1px solid var(--forum-border);
    gap: 30px;
}

.guest-cta-text h3 {
    color: var(--forum-primary);
    margin-bottom: 8px;
    font-size: 1.5rem;
    font-weight: 700;
}

.guest-cta-text p {
    color: var(--forum-text-muted);
    font-size: 1rem;
    max-width: 600px;
}

.guest-cta-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .guest-cta-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .guest-cta-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .guest-cta-actions .btn {
        width: 100%;
    }
}
