/* Community Page Styles */

/* Hero Section */
.community-hero {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 8rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: inline-block;
    background: var(--primary-600);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.hero-cta:hover {
    background: var(--primary-700);
    transform: translateY(-2px);
}

/* Forum Section */
.forum-preview {
    padding: 4rem 0;
    background: var(--gray-50);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.forum-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    background: var(--gray-100);
}

.tab-btn.active {
    background: var(--primary-600);
    color: white;
}

.forum-content {
    max-width: 800px;
    margin: 0 auto;
}

.discussion-thread {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.thread-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.thread-info {
    flex: 1;
}

.username {
    font-weight: 600;
    color: var(--gray-900);
    display: block;
}

.timestamp {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.thread-category {
    background: var(--primary-50);
    color: var(--primary-700);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.thread-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.thread-preview {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.thread-stats {
    display: flex;
    gap: 1rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Trip Reports */
.trip-reports {
    padding: 4rem 0;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.report-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.report-card:hover {
    transform: translateY(-4px);
}

.report-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.report-content {
    padding: 1.5rem;
}

.report-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.location {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.read-more {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 1rem;
}

.reports-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Events Section */
.events {
    padding: 4rem 0;
    background: var(--gray-50);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.event-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.event-date {
    text-align: center;
    min-width: 60px;
}

.event-date .month {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-600);
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.event-type {
    display: inline-block;
    background: var(--primary-50);
    color: var(--primary-700);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.event-location {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Member Spotlight */
.member-spotlight {
    padding: 4rem 0;
}

.spotlight-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.member-badges {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.badge {
    background: var(--primary-50);
    color: var(--primary-700);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.member-bio {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.member-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-600);
}

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

/* Community CTA */
.community-cta {
    background: var(--primary-900);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.community-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.community-cta p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary {
    background: white;
    color: var(--primary-900);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-secondary {
    background: transparent;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.2s;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .reports-grid,
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .reports-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .spotlight-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .member-avatar {
        margin: 0 auto;
    }
    
    .member-badges,
    .member-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .forum-tabs {
        flex-wrap: wrap;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}