@import url('global.css');
/* ========================================
   ONGS PAGE STYLES
   ======================================== */
.ongs-category {
    margin-bottom: 4rem;
}

.bg-video3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}
.bg-video3 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) saturate(1.2);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2rem;
    color: var(--light-blue);
    margin-bottom: 2rem;
    font-weight: 600;
}

.category-title i {
    color: var(--seafoam);
    font-size: 1.5rem;
}

.ongs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.ong-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(79, 179, 217, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ong-card.featured {
    border: 2px solid var(--seafoam);
    box-shadow: 0 0 30px rgba(79, 179, 217, 0.3);
}

.ong-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(79, 179, 217, 0.5);
    box-shadow: 0 20px 40px rgba(0, 105, 148, 0.3);
}

.ong-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.ong-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--seafoam), var(--aqua));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.ong-info h4 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--light-blue);
}

.ong-type {
    background: rgba(79, 179, 217, 0.2);
    color: var(--seafoam);
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.ong-gallery {
    margin-bottom: 1rem;
}

.gallery-main img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 0.5rem;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.gallery-thumbs img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-thumbs img:hover {
    transform: scale(1.05);
    border: 2px solid var(--seafoam);
}

.ong-description p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.ong-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ong-actions button {
    flex: 1;
    min-width: 100px;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-donate {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-volunteer {
    background: linear-gradient(135deg, var(--seafoam), var(--aqua));
    color: white;
}

.btn-volunteer:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 179, 217, 0.4);
}

.btn-learn-more {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-blue);
    border: 1px solid rgba(79, 179, 217, 0.3);
}

.btn-learn-more:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--seafoam);
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */

/* Mobile Small (até 480px) */
@media (max-width: 480px) {
    .ongs-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .ong-card {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        padding: 1rem;
    }
    
    .category-title {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .ong-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .ong-logo {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .ong-info h4 {
        font-size: 1.1rem;
    }
    
    .gallery-main img {
        height: 150px;
    }
    
    .ong-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .ong-actions button {
        width: 100%;
        font-size: 0.8rem;
        padding: 0.6rem;
    }
}

/* Mobile Medium (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .ongs-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .ong-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .category-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .ong-actions {
        flex-wrap: wrap;
    }
    
    .ong-actions button {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 120px;
    }
}

/* Mobile Large / Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .ongs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        justify-items: center;
    }
    
    .ong-card {
        max-width: 100%;
        width: 100%;
    }
    
    .category-title {
        text-align: center;
    }
}

