/* Philippines Emergency Information Page Styles */

.emergency-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    padding-top: 80px;
}

.emergency-hero {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.flag-icon {
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.emergency-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.emergency-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
    border-bottom: 2px solid rgba(220, 38, 38, 0.3);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.section-header h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Emergency Hotlines */
.hotlines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.hotline-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border-left: 4px solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.hotline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hotline-card.urgent {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
}

.hotline-card.medical {
    border-left-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
}

.hotline-card.fire {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
}

.hotline-card.police {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.hotline-card.coast-guard {
    border-left-color: #06b6d4;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(8, 145, 178, 0.1) 100%);
}

.hotline-card.red-cross {
    border-left-color: #dc2626;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(185, 28, 28, 0.1) 100%);
}

.hotline-card.ndrrmc {
    border-left-color: #7c3aed;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(109, 40, 217, 0.1) 100%);
}

.hotline-card h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hotline-card .number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd93d;
    margin-bottom: 0.5rem;
    font-family: 'Inter', monospace;
}

.hotline-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Disaster Types */
.disaster-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.disaster-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.disaster-card:hover {
    transform: translateY(-3px);
}

.disaster-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.disaster-card h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.disaster-card ul {
    list-style: none;
    padding: 0;
}

.disaster-card li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.disaster-card li:last-child {
    border-bottom: none;
    font-weight: 600;
    color: #ffd93d;
}

/* Regional Contacts */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.region-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.region-card h3 {
    color: #ffd93d;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 217, 61, 0.3);
    padding-bottom: 0.5rem;
}

.region-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.region-card strong {
    color: white;
}

/* IRED Work Section */
.ired-work {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(185, 28, 28, 0.1) 100%);
    border: 2px solid rgba(220, 38, 38, 0.3);
}

.work-highlight {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.work-highlight h3 {
    color: #ffd93d;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.work-highlight p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1.1rem;
}

.work-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.partner-organizations {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
}

.partner-organizations h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.partner-organizations ul {
    list-style: none;
    padding: 0;
}

.partner-organizations li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.partner-organizations li:last-child {
    border-bottom: none;
}

/* Emergency Kit */
.kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.kit-category {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.kit-category h3 {
    color: #ffd93d;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.kit-category ul {
    list-style: none;
    padding: 0;
}

.kit-category li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.kit-category li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.kit-category li:last-child {
    border-bottom: none;
}

/* Emergency Alert Banner */
.emergency-alert-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 1rem;
    text-align: center;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.alert-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.alert-icon {
    font-size: 1.5rem;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.alert-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.alert-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.alert-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .emergency-content {
        padding: 0 1rem 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .flag-icon {
        font-size: 2.5rem;
    }
    
    .hotlines-grid {
        grid-template-columns: 1fr;
    }
    
    .disaster-types {
        grid-template-columns: 1fr;
    }
    
    .regions-grid {
        grid-template-columns: 1fr;
    }
    
    .kit-grid {
        grid-template-columns: 1fr;
    }
    
    .work-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .emergency-section {
        padding: 1.5rem;
    }
    
    .alert-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .alert-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hotline-card .number {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .emergency-section {
        padding: 1rem;
    }
}