/* Reset e Estilos Base (herdados) */
@import url('about.css');

/* Seção Portfólio */
.portfolio {
    padding: 80px 0;
    background: #111;
    position: relative;
}

@media screen and (min-width: 1024px) {
    .portfolio {
        padding: 10% 0;
        background-image: url('./Assets/backgroundcards2.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;         
        height: 100%;   
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-card {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(44, 138, 192, 0.3);
    border-color: rgba(44, 138, 192, 0.5);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: #2c8ac0;
    margin-bottom: 15px;
    font-size: 22px;
    text-shadow: 0 0 5px rgba(44, 138, 192, 0.5);
}

.card-content p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tags span {
    background: rgba(44, 138, 192, 0.2);
    color: #2c8ac0;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.portfolio-button {
    display: inline-block;
    background: transparent;
    color: #2c8ac0;
    padding: 10px 25px;
    border: 2px solid #2c8ac0;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
}

.portfolio-button:hover {
    background: #2c8ac0;
    color: #fff;
    box-shadow: 0 0 10px rgba(44, 138, 192, 0.7);
}

.portfolio-button1 {
    display: inline-block;
    background: transparent;
    color: #2c8ac0;
    padding: 10px 25px;
    border: 2px solid #2c8ac0;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
}

.portfolio-button1:hover {
    background: #2c8ac0;
    color: #fff;
    box-shadow: 0 0 10px rgba(44, 138, 192, 0.7);
}

/* Responsivo */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .card-content h3 {
        font-size: 20px;
    }
    
    .portfolio {
        padding: 60px 0;
    }
}