/* Campaigns Page Styles */

.hero {
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.active-campaigns {
    padding: 4rem 0;
}

.campaign-card {
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #2F1B0C 0%, #3D2818 100%);
}

.campaign-card.featured {
    border: 2px solid var(--primary-color);
}

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

.campaign-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #eee;
    gap: 1rem;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

.campaign-icon {
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.campaign-info {
    flex: 1;
}

.campaign-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text-color);
}

.campaign-subtitle {
    color: var(--text-muted);
    margin: 0;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    color: white;
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.campaign-content {
    padding: 2rem;
    background: linear-gradient(135deg, #1F1611 0%, #2A1F18 100%);
}

.campaign-description {
    margin-bottom: 2rem;
}

.campaign-description h4 {
    color: var(--text-color);
    margin: 1.5rem 0 1rem 0;
}

.campaign-benefits {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.campaign-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.campaign-benefits i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.campaign-progress {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-label {
    font-weight: 500;
    color: var(--text-color);
}

.progress-amount {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.progress-bar {
    background: #e9ecef;
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #a0522d, #cd853f);
    border-radius: inherit;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.campaign-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.supporters {
    padding: 4rem 0;
}

.supporter-category {
    margin-bottom: 3rem;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.category-title i {
    color: var(--primary-color);
}

.supporters-grid {
    display: grid;
    gap: 1rem;
}

.supporters-grid.corporate {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.supporters-grid.individual {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.supporter-placeholder {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.supporter-placeholder i {
    font-size: 2rem;
    opacity: 0.5;
}

.supporters-note {
    margin-top: 2rem;
    padding: 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    text-align: center;
}

.supporters-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.why-support {
    padding: 4rem 0;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.reason {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.reason-icon {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reason-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
}

.reason-content p {
    margin: 0;
    color: var(--text-muted);
}

/* Campaigns section for homepage */
.campaigns-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0F0A08 0%, #1A120E 100%);
}

.campaigns-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.campaigns-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.campaign-feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.campaigns-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.campaign-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.campaign-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.campaign-benefits i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.campaign-goal {
    background: var(--bg-color);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.goal-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.goal-label {
    font-weight: 500;
    color: var(--text-color);
}

.goal-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.campaigns-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.campaigns-image .campaign-card {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
}

.campaigns-image .campaign-icon {
    background: var(--primary-color);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.campaigns-image .campaign-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.campaigns-image .campaign-card p {
    color: var(--text-muted);
    line-height: 1.5;
}

.supporter-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.supporter-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(160, 82, 45, 0.15);
}

.supporter-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.supporter-logo img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.supporter-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.supporter-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.supporter-description a {
    color: var(--accent-primary);
    text-decoration: none;
}

.supporter-description a:hover {
    text-decoration: underline;
}

.supporter-name-card {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.supporter-name-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(160, 82, 45, 0.1);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .campaigns-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .campaign-actions {
        flex-direction: column;
    }

    .campaign-actions .btn {
        text-align: center;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .campaigns-buttons {
        flex-direction: column;
    }
}
