/* Emergency Appeals Page - Modern, Full-Width Design */

/* Emergency Wrapper - Full Width */
.emergency-wrapper {
    width: 100%;
    background: #f8f9fa;
    overflow-x: hidden;
}

/* Hero Section */
.emergency-hero {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 60vh;
    position: relative;
    overflow: hidden;
}

.emergency-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.emergency-hero-content {
    text-align: left;
    position: relative;
    z-index: 2;
}

.emergency-hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.emergency-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.emergency-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.emergency-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Main Content */
.emergency-main-content {
    width: 100%;
    padding: 0;
    max-width: none;
    box-sizing: border-box;
}

/* Emergency Sections */
.emergency-section {
    padding: 4rem 2rem;
    background: white;
    margin-bottom: 0;
}

.emergency-section:nth-child(even) {
    background: #f8fafc;
}

.emergency-section-projects {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.emergency-section-cta {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

/* Section Content */
.emergency-section-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.emergency-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.emergency-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.emergency-section-header h2 i {
    color: #dc2626;
}

.emergency-section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.emergency-section-cta .emergency-section-header h2,
.emergency-section-cta .emergency-section-subtitle {
    color: white;
}

.emergency-section-cta .emergency-section-header h2 i {
    color: white;
}

/* Impact Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.impact-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.impact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.impact-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.impact-item h4 {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.impact-item p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Emergency Quote */
.emergency-quote {
    text-align: center;
    margin: 3rem 0;
}

.emergency-quote blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: #4a5568;
    border-left: 4px solid #dc2626;
    padding-left: 1.5rem;
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.emergency-quote footer {
    font-size: 1rem;
    color: #6c757d;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Emergency Projects Grid */
.emergency-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.emergency-project-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.emergency-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.emergency-project-card:hover .project-img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
}

.emergency-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.project-content {
    padding: 1.5rem;
}

.project-header {
    margin-bottom: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.project-description {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.project-intentions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.intention-badge {
    background: #f0fdf4;
    color: #166534;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #bbf7d0;
}

.project-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.project-btn {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.project-btn-primary {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.project-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    color: white;
}

.project-btn-outline {
    background: transparent;
    border: 2px solid #dc2626;
    color: #dc2626;
}

.project-btn-outline:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
}

/* No Projects State */
.no-projects {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.no-projects-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.no-projects h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.no-projects p {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* CTA Actions */
.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.emergency-btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    min-width: 200px;
}

/* Buttons */
.emergency-btn {
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    text-align: center;
    min-width: 140px;
}

.emergency-btn-primary {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.emergency-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    color: white;
}

.emergency-btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.emergency-btn-outline:hover {
    background: white;
    color: #dc2626;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .emergency-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .emergency-projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .emergency-wrapper {
        padding: 0;
    }
    
    .emergency-hero {
        padding: 3rem 1rem;
        min-height: 50vh;
    }
    
    .emergency-hero-title {
        font-size: 2.5rem;
    }
    
    .emergency-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .emergency-section {
        padding: 3rem 1rem;
    }
    
    .emergency-section-header h2 {
        font-size: 2rem;
    }
    
    .emergency-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .emergency-hero-actions {
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .emergency-hero {
        padding: 2rem 0.5rem;
    }
    
    .emergency-hero-title {
        font-size: 2rem;
    }
    
    .emergency-section {
        padding: 2rem 0.5rem;
    }
    
    .emergency-section-header h2 {
        font-size: 1.75rem;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .project-btn {
        min-width: auto;
    }
}
