.portafolio-section {
    padding: 100px 5%;
    background-color: #0f172a;
    color: white;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 50px;
}

.portafolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.proyecto-card {
    background: #1e293b;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.proyecto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.2);
}

.proyecto-img {
    position: relative;
    height: 200px;
}

.proyecto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proyecto-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
}

.categoria {
    background: #00d2ff;
    color: #0f172a;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.proyecto-info {
    padding: 20px;
}

.proyecto-info h3 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
}

.tech-stack {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    color: #00d2ff;
}

.btn-ver {
    display: inline-block;
    color: white;
    text-decoration: none;
    border-bottom: 2px solid #00d2ff;
    padding-bottom: 3px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-ver:hover {
    letter-spacing: 1px;
    color: #00d2ff;
}